fix(vscode): align TypeScript and typescript-eslint peer ranges - #102
Merged
Merged
Conversation
This was referenced Oct 3, 2026
Pin TypeScript to ~6.0.3 and both @typescript-eslint packages to ^8.71.0, whose peer range is typescript >=4.8.4 <6.1.0 and eslint ^8.57 || ^9 || ^10. Regenerate the lockfile so npm ci resolves without --force or --legacy-peer-deps. Refs #95
M9nx
force-pushed
the
fix/vscode-toolchain-peers
branch
from
October 3, 2026 19:22
673145f to
08f6259
Compare
7 tasks
Owner
Author
|
Independent re-test (fresh worktrees, 2026-10-03) — PASS on stated scope.
Commits: 2, author M9nx only, no CI: all 15 checks green incl. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #95 (release gate 3, PR 1 of 4) · tracker #101
Problem
npm ciinvscode-extensionfails onmain(efccb5a):Declared toolchain was
typescript ^7.0.2, plugin^6.0.0, parser^8.70.1. Verified peer ranges (npm view @typescript-eslint/eslint-plugin@8.71.0 peerDependencies):So TypeScript 7 is unsupported, and Dependabot #85 (plugin only → 8.70.1) cannot fix this alone.
Changes (2 commits)
fix(vscode): align TypeScript and typescript-eslint peer ranges—typescript ~6.0.3(tilde keeps it under the<6.1.0peer ceiling), plugin + parser^8.71.0; lockfile regenerated.build(vscode): declare node types explicitly for TypeScript 6— TS 6 no longer includes all@types/*by default; add"types": ["node"].Non-goals
lintscript migration — there is currently no ESLint config file at all andeslint src --ext tsuses a removed flag. That is PR 2 of Release gate 3 — restore reproducible VS Code install, lint, and build #95.Validation (local, Node 24.19.0 / npm 11.17.0)
npm ci --ignore-scriptsnpx tsc -p ./npm ls typescript @typescript-eslint/* eslintnpm auditnpm run lintis expected to still fail until PR 2 (missing config) — unchanged frommain.GitHub evidence: note that the current
ci-requireddoes not exercise Node, so a green check here is not evidence for this change; the table above is.Risk / rollback
Dev-only dependencies; extension runtime unaffected (compiled output only). Rollback: revert both commits.
Acceptance criteria advanced (#95)
npm cipasses without--force/--legacy-peer-deps