Skip to content

chore(pnpm): move to pnpm 11.20.0 and drop the setting v11 removed - #77

Merged
msalvatti merged 3 commits into
mainfrom
chore/migrate-pnpm-11
Aug 4, 2026
Merged

chore(pnpm): move to pnpm 11.20.0 and drop the setting v11 removed#77
msalvatti merged 3 commits into
mainfrom
chore/migrate-pnpm-11

Conversation

@msalvatti

Copy link
Copy Markdown
Member

Part of the family-wide pnpm alignment. This repository was already on 11, so the change is small.

What

Change Why
packageManager: pnpm@11.0.0pnpm@11.20.0 the pin was 20 patch releases behind the 11.x line
drop onlyBuiltDependencies from pnpm-workspace.yaml removed in pnpm 11 and replaced by allowBuilds, which this repo already declares — the list read as though it still had an effect
correct the overrides comment it claimed pnpm ignores the pnpm field of package.json "with no warning"

On that comment

It warns, explicitly and by key:

[WARN] The "pnpm" field in package.json is no longer read by pnpm.
       The following keys were ignored: "pnpm.overrides".

The claim came from an earlier note of mine that was never checked against the tool. Corrected here rather than repeated.

Verification

  • pnpm install under 11.20.0: lockfile unchanged, supply-chain policy check passes over all 866 entries.
  • dist/ built under 11.20.0 is byte-identical to what 1.0.8 published (diff -r against the registry tarball).
  • typecheck, lint, build, size, check:exports, check:published, smoke — all green. 279/279 tests.

Scope

Development tooling only. No published artifact changes and no release is warranted.

The pin was 11.0.0 while the 11.x line is at 11.20.0.

`onlyBuiltDependencies` is gone from the workspace file: it was removed in
pnpm 11 and replaced by `allowBuilds`, which this repository already declares,
so the list was carrying no effect while reading as though it did.

The comment above the overrides also claimed pnpm ignores the `pnpm` field of
package.json "with no warning". It warns, by name and by key. Corrected rather
than repeated.

Nothing about the artifact changes: the lockfile is unchanged and `dist/` built
under 11.20.0 is byte-identical to what 1.0.8 published.
Copilot AI lite review requested due to automatic review settings August 4, 2026 17:06

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

Updates pnpm-related repository configuration to align with the org-wide pnpm 11.20.0 pin and to remove workspace settings that pnpm 11 no longer reads, while clarifying commentary about override behavior.

Changes:

  • Bump packageManager from pnpm@11.0.0 to pnpm@11.20.0.
  • Remove onlyBuiltDependencies from pnpm-workspace.yaml and rely on allowBuilds.
  • Clarify the comment about pnpm 11 ignoring the pnpm field in package.json (and that pnpm emits a warning).

Reviewed changes

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

File Description
pnpm-workspace.yaml Removes a pnpm 11-removed setting and improves the inline documentation around allowBuilds / overrides.
package.json Updates the pnpm toolchain pin via packageManager (and adjusts the description string encoding).

Comment thread package.json
The migration script serialized package.json without `ensure_ascii=False`, so
the em dash in the description came back as `\u2014`. The parsed value is
identical and npm was never going to show anything different, but the file got
harder to read for no reason connected to this change.
Copilot AI review requested due to automatic review settings August 4, 2026 17:26

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

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

These documents named the old pin, and one of them named it as a requirement —
"pnpm@10.8.1 is required; using a different version may break lockfile
resolution". After the migration that instruction sends a reader to the wrong
toolchain and contradicts what the repository declares.

Only the version string changes.
Copilot AI review requested due to automatic review settings August 4, 2026 17:30

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@msalvatti
msalvatti merged commit f06f5da into main Aug 4, 2026
18 checks passed
@msalvatti
msalvatti deleted the chore/migrate-pnpm-11 branch August 4, 2026 17:34
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.

2 participants