Skip to content

[pull] main from pnpm:main - #465

Merged
pull[bot] merged 2 commits into
dwongdev:mainfrom
pnpm:main
Jul 31, 2026
Merged

pull[bot] merged 2 commits into
dwongdev:mainfrom
pnpm:main

Conversation

@pull

@pull pull Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

zkochan added 2 commits July 31, 2026 23:00
Both utilities lived in the pnpm/components Bit workspace, where their
component names collide with same-named components elsewhere in the Bit
registry. Move the code here and publish it under new names:

  `@pnpm/util.lex-comparator` -> `@pnpm/text.ordinal-comparator`
  `@pnpm/config.nerf-dart`    -> `@pnpm/config.registry-auth-key`

The new names describe what the utilities do: the comparator is ordinal
rather than locale-aware, and the mapped URL is the key that registry
settings are stored under in `.npmrc`. The exported functions keep their
names, so consumers only change their import specifiers.

Implementations and tests are carried over unchanged. The rationale from
the components' docs pages moves into doc comments: why `localeCompare`
cannot be used for values compared across machines, and where `nerfDart`
originates.

No pacquet counterpart is needed. The Rust stack has its own
implementations of both and no user-visible behavior changes.
The lockfile pinned `@types/[email protected]` as the hoisted optional peer of
every `@inquirer/prompts` consumer, next to the `22.20.1` the workspace
catalog pins with `^22.19.19`. That is the bug 71a4934 fixed:
`getHoistableOptionalPeers` used to maximize over every version in the
graph instead of bounding its candidates by the workspace root's own
specifier, so an optional peer declared as `*` pulled in the newest
version any importer had resolved.

The entries came in with 7f81da3, six days after that fix landed,
because the install that wrote them ran pnpm 12.0.0-alpha.21 — published
before the fix — rather than the pinned 12.0.0-beta.2. Replaying that
commit's inputs with alpha.21 reproduces its lockfile byte for byte,
while beta.1, beta.2, and the TypeScript CLI at 11.18.0 all produce
`22.20.1`.

So every full re-resolution rewrites those 80 lines, and unrelated pull
requests pick the correction up as soon as one of their manifest changes
forces one — in #13535 it accounts for most of the lockfile
diff. Re-resolving here keeps it out of the next PR that touches a
manifest. No product code changes: the resolver fix is already in.
@pull pull Bot locked and limited conversation to collaborators Jul 31, 2026
@pull pull Bot added the ⤵️ pull label Jul 31, 2026
@pull
pull Bot merged commit a99b852 into dwongdev:main Jul 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant