chore(deps-dev): bump typescript from 5.9.3 to v6 (#748)

* chore(deps-dev): use TypeScript 6 instead of 7

TypeScript 7 lacks the compiler API required by ts-jest and ncc. Update tsconfig for TS6 breaking changes.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Grandi <fgrandi30@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dependabot[bot]
2026-08-08 18:55:57 +02:00
committed by Federico Grandi
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Federico Grandi Cursor
parent 3dd9d9166d
commit 2b9ea5bc7f
4 changed files with 36 additions and 20 deletions
Generated
+8 -8
View File
File diff suppressed because one or more lines are too long
+24 -9
View File
@@ -27,7 +27,7 @@
"husky": "^9.1.7",
"jest": "^30.4.2",
"ts-jest": "^29.4.12",
"typescript": "~5.9.3"
"typescript": "~6.0.2"
},
"engines": {
"node": ">=24"
@@ -2104,6 +2104,21 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript/old": {
"name": "typescript",
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/@ungap/structured-clone": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
@@ -7330,17 +7345,17 @@
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"name": "@typescript/typescript6",
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@typescript/typescript6/-/typescript6-6.0.2.tgz",
"integrity": "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
"dependencies": {
"@typescript/old": "npm:typescript@^6"
},
"engines": {
"node": ">=14.17"
"bin": {
"tsc6": "bin/tsc6"
}
},
"node_modules/uglify-js": {
+1 -1
View File
@@ -33,7 +33,7 @@
"husky": "^9.1.7",
"jest": "^30.4.2",
"ts-jest": "^29.4.12",
"typescript": "~5.9.3"
"typescript": "~6.0.2"
},
"engines": {
"node": ">=24"
+3 -2
View File
@@ -6,8 +6,9 @@
"composite": false,
"declaration": false,
"module": "ES2022",
"moduleResolution": "node",
"esModuleInterop": true
"moduleResolution": "bundler",
"esModuleInterop": true,
"types": ["node", "jest"]
},
"include": [
"src/**/*.ts",