diff --git a/__tests__/lib/analyzeOas.test.ts b/__tests__/lib/analyzeOas.test.ts index d426da723..c21dfaee3 100644 --- a/__tests__/lib/analyzeOas.test.ts +++ b/__tests__/lib/analyzeOas.test.ts @@ -1,4 +1,4 @@ -import type { OASDocument } from 'oas/dist/rmoas.types'; +import type { OASDocument } from 'oas/rmoas.types'; import petstore from '@readme/oas-examples/3.0/json/petstore.json'; import { describe, it, expect } from 'vitest'; diff --git a/src/cmds/openapi/convert.ts b/src/cmds/openapi/convert.ts index 78aabe96e..161c9f9f3 100644 --- a/src/cmds/openapi/convert.ts +++ b/src/cmds/openapi/convert.ts @@ -1,5 +1,5 @@ import type { CommandOptions } from '../../lib/baseCommand'; -import type { OASDocument } from 'oas/dist/rmoas.types'; +import type { OASDocument } from 'oas/rmoas.types'; import fs from 'fs'; import path from 'path'; diff --git a/src/cmds/openapi/inspect.ts b/src/cmds/openapi/inspect.ts index fa5981470..1d529d785 100644 --- a/src/cmds/openapi/inspect.ts +++ b/src/cmds/openapi/inspect.ts @@ -1,6 +1,6 @@ import type { Analysis, AnalyzedFeature } from '../../lib/analyzeOas'; import type { CommandOptions } from '../../lib/baseCommand'; -import type { OASDocument } from 'oas/dist/rmoas.types'; +import type { OASDocument } from 'oas/rmoas.types'; import chalk from 'chalk'; import config from 'config'; diff --git a/src/cmds/openapi/reduce.ts b/src/cmds/openapi/reduce.ts index 7aacb8eb9..9eeaffd29 100644 --- a/src/cmds/openapi/reduce.ts +++ b/src/cmds/openapi/reduce.ts @@ -1,12 +1,12 @@ import type { CommandOptions } from '../../lib/baseCommand'; -import type { OASDocument } from 'oas/dist/rmoas.types'; +import type { OASDocument } from 'oas/rmoas.types'; import fs from 'fs'; import path from 'path'; import chalk from 'chalk'; import Oas from 'oas'; -import oasReducer from 'oas/dist/lib/reducer'; +import oasReducer from 'oas/lib/reducer'; import ora from 'ora'; import prompts from 'prompts'; diff --git a/src/lib/analyzeOas.ts b/src/lib/analyzeOas.ts index ecd9e5942..74806d7d0 100644 --- a/src/lib/analyzeOas.ts +++ b/src/lib/analyzeOas.ts @@ -1,7 +1,7 @@ -import type { OASAnalysis, OASAnalysisFeature } from 'oas/dist/analyzer'; -import type { OASDocument } from 'oas/dist/rmoas.types'; +import type { OASAnalysis, OASAnalysisFeature } from 'oas/analyzer'; +import type { OASDocument } from 'oas/rmoas.types'; -import analyzer from 'oas/dist/analyzer'; +import analyzer from 'oas/analyzer'; export interface AnalyzedFeature extends OASAnalysisFeature { description: string;