chore(deps): bump TypeScript to 5.6 (#18254)

This commit is contained in:
翠 / green 2024-10-18 15:15:19 +09:00 committed by GitHub
parent dcf5f03cb5
commit 57a0e85186
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
25 changed files with 240 additions and 250 deletions

View File

@ -74,8 +74,8 @@
"simple-git-hooks": "^2.11.1",
"tslib": "^2.7.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.9.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.10.0",
"vite": "workspace:*",
"vitest": "^2.1.3"
},

View File

@ -12,7 +12,7 @@
"lit": "^3.2.1"
},
"devDependencies": {
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9"
}
}

View File

@ -18,7 +18,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -13,7 +13,7 @@
},
"devDependencies": {
"@preact/preset-vite": "^2.9.1",
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9"
}
}

View File

@ -23,7 +23,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -16,7 +16,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -10,7 +10,7 @@
},
"devDependencies": {
"serve": "^14.2.3",
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9"
},
"dependencies": {

View File

@ -19,7 +19,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -16,7 +16,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -22,8 +22,8 @@
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.11.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.9.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.10.0",
"vite": "^5.4.9"
}
}

View File

@ -18,7 +18,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -16,7 +16,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -12,7 +12,7 @@
"solid-js": "^1.9.2"
},
"devDependencies": {
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9",
"vite-plugin-solid": "^2.10.2"
}

View File

@ -19,7 +19,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -16,7 +16,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -15,7 +15,7 @@
"svelte": "^4.2.19",
"svelte-check": "^4.0.5",
"tslib": "^2.7.0",
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9"
}
}

View File

@ -6,7 +6,8 @@
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"noEmit": true
"noEmit": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9"
}
}

View File

@ -17,7 +17,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}

View File

@ -13,7 +13,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"typescript": "^5.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.9",
"vue-tsc": "^2.1.6"
}

View File

@ -18,7 +18,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
}

View File

@ -16,7 +16,8 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}

View File

@ -345,7 +345,7 @@ export class ModuleRunner {
dirname: isWindows ? toWindowsPath(dirname) : dirname,
url: href,
env: this.envProxy,
resolve(_id, _parent) {
resolve(_id, _parent?) {
throw new Error(
'[module runner] "import.meta.resolve" is not supported.',
)

View File

@ -7,6 +7,7 @@
"types": [], // Avoid checking unrelated node_modules types
"noEmit": true,
"strict": true,
"noUncheckedSideEffectImports": true,
"exactOptionalPropertyTypes": true
},
"include": [

File diff suppressed because it is too large Load Diff