Skip to content

Commit ad4cdc2

Browse files
committed
chore: upgrade ts-morph
1 parent aef5ad2 commit ad4cdc2

File tree

3 files changed

+82
-526
lines changed

3 files changed

+82
-526
lines changed

packages/openapi-code-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"json5": "^2.2.3",
5454
"lodash": "^4.17.21",
5555
"source-map-support": "^0.5.21",
56-
"ts-morph": "^22.0.0",
56+
"ts-morph": "^26.0.0",
5757
"tslib": "^2.8.1",
5858
"typescript": "~5.8.3",
5959
"zod": "^3.25.74"

packages/openapi-code-generator/src/typescript/server/typescript-nextjs/typescript-nextjs.generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export async function generateTypescriptNextJS(
5959
{allowAny},
6060
)
6161

62-
const project = new Project()
62+
const project = new Project({useInMemoryFileSystem: true})
6363

6464
const serverRouters = (
6565
await Promise.all(

0 commit comments

Comments
 (0)