Skip to content

Commit 0df01d7

Browse files
authored
Merge pull request #1183 from objectstack-ai/dependabot/npm_and_yarn/typescript-6.0.2
fix(ts6): resolve empty DTS output and console build failures across monorepo
2 parents 01cf1ca + 70eaba1 commit 0df01d7

File tree

75 files changed

+385
-351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+385
-351
lines changed

apps/console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"react-router-dom": "^7.14.0",
9595
"sonner": "^2.0.7",
9696
"tailwindcss": "^4.2.2",
97-
"typescript": "^5.9.3",
97+
"typescript": "^6.0.2",
9898
"vite": "^8.0.5",
9999
"vitest": "^4.1.2"
100100
},

apps/console/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
* @see https://github.com/objectstack-ai/objectui
2222
*/
2323

24-
import { fileURLToPath } from 'url';
25-
import { dirname, resolve } from 'path';
24+
import { fileURLToPath } from 'node:url';
25+
import { dirname, resolve } from 'node:path';
2626

2727
const __filename = fileURLToPath(import.meta.url);
2828
const __dirname = dirname(__filename);

apps/console/tsconfig.plugin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"declaration": true,
77
"strict": true,
88
"skipLibCheck": true,
9-
"esModuleInterop": true
9+
"esModuleInterop": true,
10+
"types": ["node"]
1011
},
1112
"include": ["plugin.ts"]
1213
}

apps/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
"postcss": "^8.5.8",
5151
"tailwindcss": "^4.2.2",
5252
"tailwindcss-animate": "^1.0.7",
53-
"typescript": "^5.9.3"
53+
"typescript": "^6.0.2"
5454
}
5555
}

apps/site/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"baseUrl": ".",
4+
"ignoreDeprecations": "6.0",
45
"target": "ESNext",
56
"lib": ["dom", "dom.iterable", "esnext"],
67
"allowJs": true,

examples/crm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"devDependencies": {
3434
"@objectstack/cli": "^4.0.2",
3535
"tsx": "^4.21.0",
36-
"typescript": "^5.9.3"
36+
"typescript": "^6.0.2"
3737
}
3838
}

examples/kitchen-sink/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
},
2020
"devDependencies": {
2121
"@objectstack/cli": "^4.0.2",
22-
"typescript": "^5.9.3"
22+
"typescript": "^6.0.2"
2323
}
2424
}

examples/msw-todo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"msw": "^2.13.0",
3030
"postcss": "^8.5.8",
3131
"tailwindcss": "^4.2.2",
32-
"typescript": "^5.9.3",
32+
"typescript": "^6.0.2",
3333
"vite": "^8.0.5"
3434
},
3535
"msw": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="vite/client" />

examples/msw-todo/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"moduleResolution": "bundler",
1111
"allowImportingTsExtensions": true,
1212
"resolveJsonModule": true,
13+
"allowArbitraryExtensions": true,
1314
"isolatedModules": true,
1415
"noEmit": true,
1516
"jsx": "react-jsx",

0 commit comments

Comments
 (0)