Skip to content

chore: update pnpm to v12 - #872

Merged
fengmk2 merged 1 commit into
masterfrom
copilot/update-pnpm-to-v12
Aug 18, 2026
Merged

chore: update pnpm to v12#872
fengmk2 merged 1 commit into
masterfrom
copilot/update-pnpm-to-v12

Conversation

Copilot AI commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Updates pnpm from v11 (11.20.0) to v12 (12.0.0-rc.7, the latest v12 release — v12 currently ships only pre-releases on the next-12 dist-tag).

Changes

  • package.json — bumped packageManager to pnpm@12.0.0-rc.7; this pin drives Corepack and pnpm/action-setup (which reads it when no explicit version is set, as in the CodSpeed workflow)
  • pnpm-lock.yaml — regenerated with pnpm 12

Lockfile format note

pnpm 12 now writes pnpm-lock.yaml as a multi-document YAML stream:

---
lockfileVersion: '9.0'

importers:

  .:
    configDependencies: {}
    packageManagerDependencies:
      pnpm:
        specifier: 12.0.0-rc.7
        version: 12.0.0-rc.7
...
---
lockfileVersion: '9.0'
# project dependency graph (unchanged structure)

The first document is the new "environment lockfile" pinning the package manager itself (packageManagerDependencies); the second holds the project dependency graph. lockfileVersion stays '9.0' and dependency resolution is unchanged. Tooling that parses the lockfile must read all YAML documents rather than only the first.

Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Aug 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/node-modules/urllib@872

commit: 7c8628b

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.24%. Comparing base (78546b8) to head (7c8628b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #872   +/-   ##
=======================================
  Coverage   94.24%   94.24%           
=======================================
  Files          10       10           
  Lines         747      747           
  Branches      235      235           
=======================================
  Hits          704      704           
  Misses         40       40           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fengmk2
fengmk2 marked this pull request as ready for review August 18, 2026 16:33
Copilot AI lite review requested due to automatic review settings August 18, 2026 16:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s package manager tooling by pinning pnpm v12 via packageManager and regenerating the lockfile accordingly, aligning local development and CI installs with pnpm 12’s new lockfile behavior.

Changes:

  • Bumped packageManager in package.json from pnpm@11.20.0 to pnpm@12.0.0-rc.7.
  • Regenerated pnpm-lock.yaml with pnpm 12, introducing the new multi-document YAML stream format (environment lockfile + dependency graph).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pnpm-lock.yaml Regenerated with pnpm 12; now includes a new first YAML document that pins the pnpm toolchain itself.
package.json Updates the packageManager pin to pnpm 12 so Corepack / setup tooling selects the intended pnpm version.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@fengmk2
fengmk2 merged commit 64aa2b2 into master Aug 18, 2026
19 checks passed
@fengmk2
fengmk2 deleted the copilot/update-pnpm-to-v12 branch August 18, 2026 16:46
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.

3 participants