Skip to content

fix: require Node 22 for vsce 4 packaging - #282

Merged
SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20260928-s0845
Sep 28, 2026
Merged

SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20260928-s0845

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

@vscode/vsce 4 and ovsx 1.2 need Node >= 22. engines.node still said >=20, so a Node 20 checkout could install and pass unit tests, then fail at vsce package. .nvmrc was already 22.

A unit test compares engines.node to the installed vsce and ovsx engines. CONTRIBUTING now says Node.js 22+. The @types/node lock moves to 26.6.3. @types/vscode stays on 1.90 so it does not exceed engines.vscode.

Why

vsce 4 landed in #277. CI stayed green because setup-node reads .nvmrc, not engines.node. The published engines field and the contributor doc still described a Node 20 floor the packaging CLI cannot run.

Verification

  • npm run check (449 unit tests, line coverage, vsce package)

Checklist

  • All commits in this pull request are signed off with git commit -s
  • I ran npm run check and it passes
  • I updated docs if user-facing behavior changed
  • I am contributing this work under the repository license (MIT)

@vscode/vsce 4 and ovsx 1.2 need Node >= 22. engines.node still said >= 20, so a Node 20 checkout could install and pass unit tests, then fail at vsce package. .nvmrc was already 22.

Unit test compares engines.node to the installed vsce and ovsx engines.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
CONTRIBUTING still said Node.js 20+ after engines.node moved to >=22.
AGENTS.md lists the package engines unit test.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Patch update inside the existing ^26.6.2 range. @types/vscode stays on 1.90 to match engines.vscode.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@SebTardif
SebTardif marked this pull request as ready for review September 28, 2026 16:03
@SebTardif
SebTardif enabled auto-merge (squash) September 28, 2026 16:03
@SebTardif
SebTardif merged commit d1ceafa into main Sep 28, 2026
24 checks passed
@SebTardif
SebTardif deleted the fix/improve-mpi-20260928-s0845 branch September 28, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant