chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#1113)

* chore(deps-dev): bump typescript from 5.9.3 to 6.0.3

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(tsconfig): align configs for typescript 6.0

Consolidate package tsconfigs to extend tsconfig.base.json and drop
options now redundant or invalid under TS 6 (strict, baseUrl,
allowImportingTsExtensions, strictNullChecks). Switch base module to
"preserve" and lib to ESNext. Fix apps/web typecheck script to invoke
tsc directly instead of recursive pnpm run tsc.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan Ditomaso <dan.ditomaso@gmail.com>
This commit is contained in:
dependabot[bot]
2026-06-15 21:36:54 -04:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Dan Ditomaso
parent 42de8e7403
commit 3dec67f623
15 changed files with 43 additions and 127 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
"dev": "vite", "dev": "vite",
"dev:https": "USE_HTTPS=true vite", "dev:https": "USE_HTTPS=true vite",
"test": "vitest", "test": "vitest",
"typecheck": "pnpm run tsc --noEmit", "typecheck": "tsc -p tsconfig.json --noEmit",
"preview": "vite preview", "preview": "vite preview",
"docker:build": "docker build -t meshtastic-web:latest -f ./infra/Containerfile .", "docker:build": "docker build -t meshtastic-web:latest -f ./infra/Containerfile .",
"package": "gzipper c -i html,js,css,png,ico,svg,json,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ ." "package": "gzipper c -i html,js,css,png,ico,svg,json,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ ."
@@ -119,7 +119,7 @@
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"tar": "^7.5.16", "tar": "^7.5.16",
"testing-library": "^0.0.2", "testing-library": "^0.0.2",
"typescript": "^5.9.3", "typescript": "^6.0.3",
"vitest": "^4.1.8" "vitest": "^4.1.8"
} }
} }
-3
View File
@@ -3,16 +3,13 @@
"compilerOptions": { "compilerOptions": {
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": true,
"strictNullChecks": true,
"strictPropertyInitialization": false, "strictPropertyInitialization": false,
"allowImportingTsExtensions": true,
"types": [ "types": [
"vite/client", "vite/client",
"node", "node",
"@types/w3c-web-serial", "@types/w3c-web-serial",
"@types/web-bluetooth" "@types/web-bluetooth"
], ],
"baseUrl": ".",
"paths": { "paths": {
"@app/*": ["./src/*"], "@app/*": ["./src/*"],
"@public/*": ["./public/*"], "@public/*": ["./public/*"],
+1 -1
View File
@@ -47,7 +47,7 @@
"oxfmt": "^0.16.0", "oxfmt": "^0.16.0",
"oxlint": "^1.69.0", "oxlint": "^1.69.0",
"tsdown": "^0.15.0", "tsdown": "^0.15.0",
"typescript": "^5.9.2", "typescript": "^6.0.3",
"vitest": "^4.1.8" "vitest": "^4.1.8"
}, },
"packageManager": "pnpm@11.5.2" "packageManager": "pnpm@11.5.2"
-10
View File
@@ -1,14 +1,4 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true,
"jsx": "react-jsx"
},
"include": ["mod.ts", "src"] "include": ["mod.ts", "src"]
} }
@@ -1,13 +1,4 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true
},
"include": ["mod.ts", "src"] "include": ["mod.ts", "src"]
} }
-9
View File
@@ -1,13 +1,4 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true
},
"include": ["mod.ts", "src"] "include": ["mod.ts", "src"]
} }
+1 -10
View File
@@ -1,13 +1,4 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true
},
"include": ["src"] "include": ["src"]
} }
+2 -8
View File
@@ -1,13 +1,7 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"module": "ESNext", "types": ["node"]
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true
}, },
"include": ["src"] "include": ["src"]
} }
+2 -8
View File
@@ -1,13 +1,7 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"module": "ESNext", "types": ["node"]
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true
}, },
"include": ["src"] "include": ["src"]
} }
@@ -1,13 +1,6 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true,
"types": ["@types/web-bluetooth"] "types": ["@types/web-bluetooth"]
}, },
"include": ["src"] "include": ["src"]
+1 -8
View File
@@ -1,13 +1,6 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"module": "ESNext",
"target": "ES2020",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "bundler",
"emitDeclarationOnly": false,
"esModuleInterop": true,
"types": ["@types/w3c-web-serial"] "types": ["@types/w3c-web-serial"]
}, },
"include": ["src"] "include": ["src"]
+1 -1
View File
@@ -67,7 +67,7 @@
"publint": "^0.3.21", "publint": "^0.3.21",
"tailwindcss": "^4.1.14", "tailwindcss": "^4.1.14",
"tw-animate-css": "^1.4.0", "tw-animate-css": "^1.4.0",
"typescript": "^5.6.3", "typescript": "^6.0.3",
"vite": "^8.0.16", "vite": "^8.0.16",
"vite-plugin-dts": "^4.5.4", "vite-plugin-dts": "^4.5.4",
"vite-plugin-static-copy": "^4.1.1", "vite-plugin-static-copy": "^4.1.1",
+1 -15
View File
@@ -1,22 +1,8 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"target": "ES2021",
"lib": ["ES2021", "DOM"],
"jsx": "react-jsx",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": false,
"noUncheckedIndexedAccess": true,
"erasableSyntaxOnly": true, "erasableSyntaxOnly": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"types": ["react", "react-dom"], "types": ["react", "react-dom"],
"baseUrl": ".",
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": ["./src/*"]
} }
+28 -28
View File
@@ -44,10 +44,10 @@ importers:
version: 1.69.0 version: 1.69.0
tsdown: tsdown:
specifier: ^0.15.0 specifier: ^0.15.0
version: 0.15.12(publint@0.3.21)(typescript@5.9.3) version: 0.15.12(publint@0.3.21)(typescript@6.0.3)
typescript: typescript:
specifier: ^5.9.2 specifier: ^6.0.3
version: 5.9.3 version: 6.0.3
vitest: vitest:
specifier: ^4.1.8 specifier: ^4.1.8
version: 4.1.8(@types/node@24.12.0)(happy-dom@20.8.9)(jsdom@25.0.1)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)) version: 4.1.8(@types/node@24.12.0)(happy-dom@20.8.9)(jsdom@25.0.1)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2))
@@ -179,7 +179,7 @@ importers:
version: 5.0.0 version: 5.0.0
i18next: i18next:
specifier: ^26.3.1 specifier: ^26.3.1
version: 26.3.1(typescript@5.9.3) version: 26.3.1(typescript@6.0.3)
i18next-browser-languagedetector: i18next-browser-languagedetector:
specifier: ^8.2.0 specifier: ^8.2.0
version: 8.2.1 version: 8.2.1
@@ -215,7 +215,7 @@ importers:
version: 7.78.0(react@19.2.7) version: 7.78.0(react@19.2.7)
react-i18next: react-i18next:
specifier: ^17.0.8 specifier: ^17.0.8
version: 17.0.8(i18next@26.3.1(typescript@5.9.3))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@5.9.3) version: 17.0.8(i18next@26.3.1(typescript@6.0.3))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@6.0.3)
react-map-gl: react-map-gl:
specifier: 8.1.0 specifier: 8.1.0
version: 8.1.0(maplibre-gl@5.8.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) version: 8.1.0(maplibre-gl@5.8.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
@@ -311,8 +311,8 @@ importers:
specifier: ^0.0.2 specifier: ^0.0.2
version: 0.0.2(@angular/common@6.1.10(@angular/core@6.1.10(rxjs@6.6.7)(zone.js@0.8.29))(rxjs@6.6.7))(@angular/core@6.1.10(rxjs@6.6.7)(zone.js@0.8.29)) version: 0.0.2(@angular/common@6.1.10(@angular/core@6.1.10(rxjs@6.6.7)(zone.js@0.8.29))(rxjs@6.6.7))(@angular/core@6.1.10(rxjs@6.6.7)(zone.js@0.8.29))
typescript: typescript:
specifier: ^5.9.3 specifier: ^6.0.3
version: 5.9.3 version: 6.0.3
vitest: vitest:
specifier: ^4.1.8 specifier: ^4.1.8
version: 4.1.8(@types/node@24.12.0)(happy-dom@20.8.9)(jsdom@25.0.1)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)) version: 4.1.8(@types/node@24.12.0)(happy-dom@20.8.9)(jsdom@25.0.1)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2))
@@ -513,14 +513,14 @@ importers:
specifier: ^1.4.0 specifier: ^1.4.0
version: 1.4.0 version: 1.4.0
typescript: typescript:
specifier: ^5.6.3 specifier: ^6.0.3
version: 5.9.3 version: 6.0.3
vite: vite:
specifier: ^8.0.16 specifier: ^8.0.16
version: 8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2) version: 8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)
vite-plugin-dts: vite-plugin-dts:
specifier: ^4.5.4 specifier: ^4.5.4
version: 4.5.4(@types/node@24.12.0)(rollup@4.62.0)(typescript@5.9.3)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)) version: 4.5.4(@types/node@24.12.0)(rollup@4.62.0)(typescript@6.0.3)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2))
vite-plugin-static-copy: vite-plugin-static-copy:
specifier: ^4.1.1 specifier: ^4.1.1
version: 4.1.1(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)) version: 4.1.1(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2))
@@ -6178,8 +6178,8 @@ packages:
engines: {node: '>=14.17'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
typescript@5.9.3: typescript@6.0.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
engines: {node: '>=14.17'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
@@ -10531,7 +10531,7 @@ snapshots:
de-indent: 1.0.2 de-indent: 1.0.2
he: 1.2.0 he: 1.2.0
'@vue/language-core@2.2.0(typescript@5.9.3)': '@vue/language-core@2.2.0(typescript@6.0.3)':
dependencies: dependencies:
'@volar/language-core': 2.4.28 '@volar/language-core': 2.4.28
'@vue/compiler-dom': 3.5.30 '@vue/compiler-dom': 3.5.30
@@ -10542,7 +10542,7 @@ snapshots:
muggle-string: 0.4.1 muggle-string: 0.4.1
path-browserify: 1.0.1 path-browserify: 1.0.1
optionalDependencies: optionalDependencies:
typescript: 5.9.3 typescript: 6.0.3
'@vue/shared@3.5.30': {} '@vue/shared@3.5.30': {}
@@ -11497,9 +11497,9 @@ snapshots:
i18next-http-backend@4.0.0: {} i18next-http-backend@4.0.0: {}
i18next@26.3.1(typescript@5.9.3): i18next@26.3.1(typescript@6.0.3):
optionalDependencies: optionalDependencies:
typescript: 5.9.3 typescript: 6.0.3
iconv-lite@0.6.3: iconv-lite@0.6.3:
dependencies: dependencies:
@@ -12205,16 +12205,16 @@ snapshots:
dependencies: dependencies:
react: 19.2.7 react: 19.2.7
react-i18next@17.0.8(i18next@26.3.1(typescript@5.9.3))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@5.9.3): react-i18next@17.0.8(i18next@26.3.1(typescript@6.0.3))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@6.0.3):
dependencies: dependencies:
'@babel/runtime': 7.29.7 '@babel/runtime': 7.29.7
html-parse-stringify: 3.0.1 html-parse-stringify: 3.0.1
i18next: 26.3.1(typescript@5.9.3) i18next: 26.3.1(typescript@6.0.3)
react: 19.2.7 react: 19.2.7
use-sync-external-store: 1.6.0(react@19.2.7) use-sync-external-store: 1.6.0(react@19.2.7)
optionalDependencies: optionalDependencies:
react-dom: 19.2.7(react@19.2.7) react-dom: 19.2.7(react@19.2.7)
typescript: 5.9.3 typescript: 6.0.3
react-is@17.0.2: {} react-is@17.0.2: {}
@@ -12381,7 +12381,7 @@ snapshots:
robust-predicates@3.0.2: {} robust-predicates@3.0.2: {}
rolldown-plugin-dts@0.17.8(rolldown@1.0.0-beta.45)(typescript@5.9.3): rolldown-plugin-dts@0.17.8(rolldown@1.0.0-beta.45)(typescript@6.0.3):
dependencies: dependencies:
'@babel/generator': 7.29.1 '@babel/generator': 7.29.1
'@babel/parser': 7.29.0 '@babel/parser': 7.29.0
@@ -12394,7 +12394,7 @@ snapshots:
obug: 2.1.2 obug: 2.1.2
rolldown: 1.0.0-beta.45 rolldown: 1.0.0-beta.45
optionalDependencies: optionalDependencies:
typescript: 5.9.3 typescript: 6.0.3
transitivePeerDependencies: transitivePeerDependencies:
- oxc-resolver - oxc-resolver
@@ -12924,7 +12924,7 @@ snapshots:
tree-kill@1.2.2: {} tree-kill@1.2.2: {}
tsdown@0.15.12(publint@0.3.21)(typescript@5.9.3): tsdown@0.15.12(publint@0.3.21)(typescript@6.0.3):
dependencies: dependencies:
ansis: 4.2.0 ansis: 4.2.0
cac: 6.7.14 cac: 6.7.14
@@ -12934,7 +12934,7 @@ snapshots:
empathic: 2.0.0 empathic: 2.0.0
hookable: 5.5.3 hookable: 5.5.3
rolldown: 1.0.0-beta.45 rolldown: 1.0.0-beta.45
rolldown-plugin-dts: 0.17.8(rolldown@1.0.0-beta.45)(typescript@5.9.3) rolldown-plugin-dts: 0.17.8(rolldown@1.0.0-beta.45)(typescript@6.0.3)
semver: 7.7.4 semver: 7.7.4
tinyexec: 1.0.2 tinyexec: 1.0.2
tinyglobby: 0.2.15 tinyglobby: 0.2.15
@@ -12942,7 +12942,7 @@ snapshots:
unconfig: 7.5.0 unconfig: 7.5.0
optionalDependencies: optionalDependencies:
publint: 0.3.21 publint: 0.3.21
typescript: 5.9.3 typescript: 6.0.3
transitivePeerDependencies: transitivePeerDependencies:
- '@ts-macro/tsc' - '@ts-macro/tsc'
- '@typescript/native-preview' - '@typescript/native-preview'
@@ -13007,7 +13007,7 @@ snapshots:
typescript@5.8.2: {} typescript@5.8.2: {}
typescript@5.9.3: {} typescript@6.0.3: {}
typewise-core@1.2.0: {} typewise-core@1.2.0: {}
@@ -13098,18 +13098,18 @@ snapshots:
util-deprecate@1.0.2: {} util-deprecate@1.0.2: {}
vite-plugin-dts@4.5.4(@types/node@24.12.0)(rollup@4.62.0)(typescript@5.9.3)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)): vite-plugin-dts@4.5.4(@types/node@24.12.0)(rollup@4.62.0)(typescript@6.0.3)(vite@8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)):
dependencies: dependencies:
'@microsoft/api-extractor': 7.57.7(@types/node@24.12.0) '@microsoft/api-extractor': 7.57.7(@types/node@24.12.0)
'@rollup/pluginutils': 5.3.0(rollup@4.62.0) '@rollup/pluginutils': 5.3.0(rollup@4.62.0)
'@volar/typescript': 2.4.28 '@volar/typescript': 2.4.28
'@vue/language-core': 2.2.0(typescript@5.9.3) '@vue/language-core': 2.2.0(typescript@6.0.3)
compare-versions: 6.1.1 compare-versions: 6.1.1
debug: 4.4.3 debug: 4.4.3
kolorist: 1.8.0 kolorist: 1.8.0
local-pkg: 1.1.2 local-pkg: 1.1.2
magic-string: 0.30.21 magic-string: 0.30.21
typescript: 5.9.3 typescript: 6.0.3
optionalDependencies: optionalDependencies:
vite: 8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2) vite: 8.0.16(@types/node@24.12.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2)
transitivePeerDependencies: transitivePeerDependencies:
+3 -7
View File
@@ -1,20 +1,16 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2023", "lib": ["DOM", "DOM.Iterable", "ESNext"],
"lib": ["DOM", "DOM.Iterable", "ES2023"], "module": "preserve",
"module": "ESNext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true, "esModuleInterop": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"skipLibCheck": true, "skipLibCheck": true,
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
"noEmit": true, "noEmit": true,
"jsx": "react-jsx", "jsx": "react-jsx"
"baseUrl": "."
} }
} }