Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
201 changes: 91 additions & 110 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,8 @@
"@vscode/vsce": "^3.9.2",
"eslint": "^10.7.0",
"typescript": "^7.0.2",
"typescript-eslint": "^8.63.0",
"typescript-eslint": "^8.64.0",
"typescript-compat": "npm:typescript@~6.0.3"
},
"overrides": {
"typescript-eslint": {
"typescript": "~6.0.3"
},
"ts-api-utils": {
"typescript": "~6.0.3"
}
},
"license": "MIT"
}
6 changes: 3 additions & 3 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* intentionally keeps TypeScript 7 for compilation while providing TypeScript 6
* only to the ESLint tooling via nested node_modules.
*
* The TypeScript 6 version used here is controlled by the "typescript-compat"
* devDependency alias and the "overrides" entries in package.json.
* All three must be kept in sync when upgrading the shim version.
* .npmrc sets legacy-peer-deps=true so npm does not reject the TypeScript 7/ESLint
* peer-version mismatch during install. The typescript-compat devDependency alias
* provides the TypeScript 6 shim that is placed here by this script.
*
* If new packages that peer-depend on TypeScript <7 are added to the ESLint
* toolchain, add their nested typescript path to the `destinations` array below.
Expand Down