Skip to content

Commit

Permalink
Upgrade TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Oct 7, 2024
1 parent 334013e commit 0b825a6
Show file tree
Hide file tree
Showing 14 changed files with 481 additions and 88 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.importModuleSpecifier": "relative",

// Show only `console.log()` snippet when auto-completing `log`
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
"^console$",
"^three/.*$"
],

"eslint.codeAction.disableRuleComment": { "location": "sameLine" },
"eslint.workingDirectories": [
{ "pattern": "./apps/*/" },
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@vitejs/plugin-react-swc": "3.7.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vite-plugin-checker": "0.7.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-config-galex": "4.5.2",
"remark-gfm": "4.0.0",
"storybook": "8.3.5",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vite": "5.3.5"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"prettier": "3.3.3",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vitest": "2.0.5",
"vitest-fail-on-console": "0.7.0",
"wait-on": "7.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"rimraf": "6.0.1",
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vitest": "2.0.5"
Expand Down
6 changes: 5 additions & 1 deletion packages/app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"include": ["src"],
"compilerOptions": {
"declaration": true,
"declarationMap": true
}
}
2 changes: 1 addition & 1 deletion packages/h5wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"react-dom": "18.3.1",
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vite": "5.3.5",
"vitest": "2.0.5"
}
Expand Down
6 changes: 5 additions & 1 deletion packages/h5wasm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"include": ["src"],
"compilerOptions": {
"declaration": true,
"declarationMap": true
}
}
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"three": "0.167.1",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vitest": "2.0.5"
Expand Down
6 changes: 5 additions & 1 deletion packages/lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"include": ["src"],
"compilerOptions": {
"declaration": true,
"declarationMap": true
}
}
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"ndarray": "1.0.19",
"ndarray-ops": "1.2.2",
"react": "18.3.1",
"typescript": "5.4.5",
"typescript": "5.6.2",
"vitest": "2.0.5",
"zustand": "4.5.4"
}
Expand Down
6 changes: 5 additions & 1 deletion packages/shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"include": ["src"],
"compilerOptions": {
"declaration": true,
"declarationMap": true
}
}
Loading

0 comments on commit 0b825a6

Please sign in to comment.