Fix dependency compatibility for VS Code 1.74/Node 20 and migrate to Husky 9 - #9
Merged
Conversation
This was referenced Aug 2, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the VS Code extension’s dependency set to better align with VS Code ^1.74.0 and modern Node toolchains, and migrates the repo’s Git hook setup to Husky 9.
Changes:
- Migrated Husky setup to v9 (updated
preparescript and Husky dependency). - Pinned
@types/vscodeto1.74.0and updated packaging/tooling dependencies (@vscode/vsce, transitive deps). - Updated runtime dependency
fs-extrato^11.4.0.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates Husky prepare script, pins @types/vscode to 1.74.0, and bumps several dependencies. |
| package-lock.json | Locks updated dependency graph reflecting Husky/vsce/fs-extra updates. |
| .husky/pre-commit | Adjusts the pre-commit hook content for the Husky migration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Fix dependency compatibility for VS Code 1.74/Node 20 and migrate to Husky 9
Description
Fixes a set of dependency-compatibility issues that broke packaging on Node 20 / VS Code 1.74, and migrates the Husky setup off the deprecated Husky 8 bootstrap.
@types/vscodeexact-pinned to1.74.0(was^1.74.0, which had silently drifted to resolve a newer version in the lockfile, exceeding theengines.vscode: ^1.74.0baseline).@vscode/vscebumped to^3.9.2andfs-extrabumped to^11.4.0, each verified independently and combined against compile/test/packaging before being kept.@vscode/test-electronleft unchanged at^3.0.0to avoid a Node 22 requirement introduced in3.1.0.huskybumped to9.1.7; thepreparescript now runshuskyinstead of the deprecatedhusky install;.husky/pre-commitno longer sources the removedhusky.shshim.package-lock.jsonregenerated with npm 10.8.2 to match the resolver CI actually uses, preserving the correct nested@types/nodetypings used by Stryker's Inquirer prompts without changing the project's root@types/node(still16.x).This supersedes #1 (grouped dependency bump) and #3 (Husky 9 bump), both closed in favor of this PR.
PR Checklist
Does This Introduce a Breaking Change?
No. All changes are development tooling and packaging dependencies (types, bundler, git hooks); no
src/application code changed.Testing
npm ci(npm 10.8.2, matching CI),npm ls --all,npm run compile,npm run lint,npm run test:unit(48 passing),npm run package:win32-x64— all run locally, all passed.build-and-unit-test+ all 7package-platform-targets) — all green.sh .husky/pre-commitsanity run with an empty stage, confirming the typecheck → lint-staged sequence still executes correctly after the Husky 9 migration.Any Relevant Logs or Outputs
TBD
Other Information or Known Dependencies
.husky/_(18 vs. 3 previously) since.vscodeignoredoesn't exclude.husky/and Husky 9 generates more internal hook stub files than Husky 8 did. Trivial size impact; left as a possible follow-up if you want it trimmed via.vscodeignore.