Skip to content

chore: migrate repository tooling to pinned pnpm - #300

Merged
vycdev merged 1 commit into
developfrom
feat/migrate-to-pnpm-299
Nov 1, 2026
Merged

vycdev merged 1 commit into
developfrom
feat/migrate-to-pnpm-299

Conversation

@vycdev

@vycdev vycdev commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Closes #299.

Use pnpm 10.33.4 for development, the Windows/Linux and Node 22/24 CI matrix, VS Code build/debug tasks, contributor documentation, screenshot/benchmark examples, and Marketplace packaging. Frozen installs use pnpm-lock.yaml; the npm lockfile is removed. Packaging runs pinned @vscode/vsce 4.1.0 with dependency collection disabled, and pnpm run publish remains Marketplace-only.

This migration lands before the release. The manifest stays at develop's 5.3.0 version, the README continues to describe the development branch, and the changelog contains only the dependency/tooling fix entry. The 5.4.0 version bump and release-note reconciliation remain in #298, which this PR neither merges nor modifies. No release or tag is published.

Retain the already validated webpack 5, Mocha 12, fast-glob/micromatch, and related dependency updates from the supplied staging baseline. Preserve all 232 resolved package versions and integrity hashes from that baseline, including moment aliased to moment-mini. Keep TypeScript 5.9.3, VS Code API declarations 1.36.0, the Node 10.11 target, and ES2017 minification. The glob API adaptation and its traversal/casing regressions accompany those retained dependencies. No runtime dependency is added.

The Corepack recovery instructions remove its shims before npm bootstrapping, and the VS Code task matches actual webpack lifecycle logs. Both were reproduced and validated during self-review; an actual isolated VS Code debug session also started through the configured prelaunch task.

Validation on 6345360:

  • Clean exported-checkout pnpm install --frozen-lockfile passed with an unchanged lockfile.
  • pnpm run check passed: 982 tests, source/test types, development build, and formatting. All four Windows/Linux and Node 22/24 CI jobs passed.
  • A fresh production VSIX contains 50 files, all 39 required assets/notices, both grammars, and all eleven screenshots; no source, tests, dependencies, maps, Git metadata, lockfiles, or pnpm internals. README links target develop, and the manifest remains at 5.3.0.
  • Both suites passed against isolated installations of that exact VSIX: 8 fenced-code and 22 task/style cases. Installed paths and bundle hashes match the inspected package.
  • The production bundle passes Node 10.11 syntax checking. Fresh Node 10.11 discovery/casing/exclusion/symlink/brace-bound tests and the production dependency audit pass. The same unchanged build/runtime code also passed the full check on minimum Node 22.12 during self-review.
  • VSIX SHA-256: 9e999004e22f60fbc839a19bff8f84447c3b0bae25e98e9fa5562d0918b768bc.

Preserve the validated webpack 5, Mocha 12, glob, and Node 10.11 compatibility updates while moving development, CI, debugging, and Marketplace packaging to pnpm 10.33.4. Keep the release version bump and release-note reconciliation in the later release-preparation PR.
@vycdev
vycdev force-pushed the feat/migrate-to-pnpm-299 branch from 1b53365 to 6345360 Compare November 1, 2026 16:44
@vycdev
vycdev marked this pull request as ready for review November 1, 2026 16:49
@vycdev
vycdev merged commit 6df19f7 into develop Nov 1, 2026
4 checks passed
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