Skip to content

[pull] main from pnpm:main - #432

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

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

Conversation

@pull

@pull pull Bot commented Jul 22, 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 and others added 4 commits July 22, 2026 00:13
Pacquet rejected recursive outdated queries and kept list/ll scoped to the active project even though the TypeScript CLI traverses selected workspace projects.

Reuse the existing workspace discovery and filtering path to select projects for outdated. Load a shared lockfile once or each selected project's dedicated lockfile as appropriate, preserve importer identity, and group equivalent findings across projects so every output format can expose the affected dependents. Keep the existing nonzero exit status when outdated dependencies are found.

Promote list and ll to recursive mode by default when invoked inside a workspace. Limit the shared promotion mechanism to commands whose recursive paths already support both lockfile layouts; the other audited commands remain tracked separately.

Related to #13201.
…ependencies when computing current specifiers (#13124)

Fix pnpm add --save-exact/--save-prefix and pnpm update writing a
package's version with the peerDependencies range's prefix instead of
the requested exact version, whenever the same package also appeared
in peerDependencies.

getAllDependenciesFromManifest spread peerDependencies last when
merging a project's current specifiers, so a peerDependencies entry
(e.g. "react": "^19.0.0") silently overwrote a same-named
devDependencies/dependencies/optionalDependencies entry. The
resulting merged specifier was then read as prevSpecifier in
parseWantedDependencies, and whichVersionIsPinned saw the "^" prefix
and returned "major" instead of "patch", overriding the pinned-version
behavior requested by --save-exact.

getWantedDependencies already spreads peerDependencies first for this
same reason (so real dependency fields take precedence over a peer's
compatibility range). This change brings getAllDependenciesFromManifest
in line with that existing convention rather than introducing a new
pattern.

Two of the four new tests reproduce the bug's two reported scenarios
directly (pnpm add --save-exact, pnpm update --latest) and fail
against the unmodified function; the other two guard existing
behavior (a peer-only dependency is still included when
autoInstallPeers is true; peerDependencies is still excluded entirely
when autoInstallPeers is false), to confirm the reorder doesn't change
anything except precedence.

Review follow-ups: consolidate the duplicated
getAllDependenciesFromManifest definitions into a single module (the
dormant standalone copy kept the old peers-last order), and add a
pacquet regression test pinning the equivalent prev-specifier
precedence in add — pacquet already scanned peers last, so no Rust
behavior change was needed.

Closes #13108
Teach `outdated`, interactive `update`, and opt-in non-interactive updates to discover GitHub Actions dependencies in workflow files and referenced local action definitions.

Model actions as development dependencies so the existing production/development filters, compatible/latest behavior, explicit selectors, interactive selection, recursive workspace handling, and no-save/lockfile-only semantics remain consistent with package and runtime updates. Keep non-interactive updates package-only unless `--include-github-actions` is passed or `update.githubActions` is enabled in `pnpm-workspace.yaml`.

Resolve semantic release tags through Git refs, but never persist a tag as the executable reference. Every changed action is pinned to the resolved commit SHA, with the semantic tag retained in an adjacent comment for readability and future version comparison. Non-semver and Docker references are left untouched.

Implement the behavior in both the TypeScript CLI and pacquet and cover discovery, version selection, exact-SHA pinning, comment preservation, selector handling, and formatting preservation.
* feat(pacquet): align recursive why and peers

* chore: update fast-uri to 3.1.4
@pull pull Bot locked and limited conversation to collaborators Jul 22, 2026
@pull pull Bot added the ⤵️ pull label Jul 22, 2026
@pull
pull Bot merged commit ff81510 into dwongdev:main Jul 22, 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.

2 participants