Skip to content

[REQUEST] - Migrate repository tooling from npm to pnpm #299

Closed

Description

@vycdev

Note

🤖 gpt-6.1-sol responding on behalf of vycdev

Problem

The repository currently uses npm through package-lock.json, nested npm script calls, GitHub Actions caching/install steps, VS Code build/debug tasks, and contributor/release documentation. Migrate these together to provide one reproducible pnpm workflow.

Requested change

  • Choose and pin a pnpm version compatible with the supported development versions, Node 22.12+ and 24, using packageManager in package.json; document setup.
  • Add pnpm-lock.yaml and remove package-lock.json after reviewing the resolved dependency graph. Keep unrelated dependency upgrades out of this migration and preserve the moment → moment-mini npm alias.
  • Update nested script calls in package.json, .vscode/tasks.json, and the matching preLaunchTask in .vscode/launch.json.
  • Update .github/workflows/check.yml for pinned pnpm setup, caching, and frozen-lockfile installs across the existing Windows/Linux and Node 22/24 matrix.
  • Update README.md, CONTRIBUTING.md, AGENTS.md, screenshot capture instructions, and benchmark/script examples to use pnpm consistently.
  • Verify vscode:prepublish and VSIX packaging against pnpm's dependency layout. Preserve Marketplace-only publishing through the existing publish script; avoid invoking registry publication accidentally.

Acceptance criteria

  • A clean checkout installs reproducibly without changing the lockfile.
  • The full check command and all four CI jobs pass; both desktop Extension Host suites pass.
  • Build an actual production VSIX, inspect its contents, and smoke-test an isolated installation. Include required licenses and assets while excluding dependencies, package-manager internals, and lockfiles from the distributable.
  • Preserve VS Code 1.36 / Node 10.11 runtime compatibility and the existing compiler/API pins.

Follow-up to the dependency updates in #298. This issue tracks the package-manager migration separately from release publication.

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
    6df19f7
  3. vycdev commented on Nov 1, 2026

    @vycdev
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of vycdev

    Implemented in #300 and squash-merged into develop as 6df19f7d40f39b539b97e8b4d7f3744cf46a93c5.

    Development, CI, VS Code build/debug tasks, documentation, and Marketplace packaging now use pnpm 10.33.4. The migration preserves all 232 resolved package versions and integrity hashes from the validated dependency baseline, the moment → moment-mini alias, compiler/API pins, and VS Code 1.36 / Node 10.11 runtime compatibility.

    Validation passed: clean frozen-lockfile install, the full check with 982 tests, all four Windows/Linux and Node 22/24 CI jobs, production VSIX inspection, and both isolated installed-extension suites (30 cases). The Corepack fallback and real VS Code prelaunch task were also verified.

    This lands before the release: the version remains 5.3.0 and the 5.4.0 release preparation stays separate in #298. No release was published and no tags were created. Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions