Skip to content

[pull] main from pnpm:main - #452

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

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

Conversation

@pull

@pull pull Bot commented Jul 27, 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 6 commits July 27, 2026 22:01
Represent libc metadata as an untagged string-or-list value in the Rust lockfile model. Preserve the source manifest shape when building package metadata, while exposing a normalized slice to installability consumers.

This keeps scalar libc declarations scalar and singleton arrays as arrays, matching TypeScript pnpm's lockfile serialization.

Fixes #13435.
Restore the integrity hash collected while resolving commit-addressed
git-hosted archives. This keeps Rust pnpm aligned with the TypeScript security
behavior that pins downloaded archive bytes in the lockfile.

Revert only the git integrity portion of #13432; retain its peer
resolution and libc serialization changes.
Select the filtered workspace graph before requiring a script name. When exactly one project is selected, render its scripts and the root workspace scripts through the normal listing path; retain the recursive missing-script error for larger selections.

Add an integration regression test covering the filtered command and keep coverage for the multi-project recursive error.

Fixes #13437.
Pacquet's licenses command scanned only the active workspace importer unless recursive mode was explicitly selected. TypeScript pnpm scans every lockfile importer by default, so large workspaces lost dependencies that were reachable only from other projects.

Collect dependencies from every importer in the default mode and filter unsupported optional package subtrees with the same declared and package-name-inferred platform constraints used during installation. Preserve dependency-group priority while walking the graph and render development-only packages with the same `(dev)` suffix as TypeScript pnpm.

Fixes #13438.
TypeScript pnpm resolves package licenses from both the modern `license` field and the deprecated `licenses` field. Pacquet only accepted a string `license`, causing packages such as `exit`, `prettysize`, and `seq-queue` to be reported as `Unknown`.

Add a shared package-manifest extractor matching TypeScript precedence and legacy-field handling, and use it in `pnpm licenses list`. Cover the parser directly and verify the CLI result with a registry fixture.

Closes #13438.
Pacquet's shared script environment builder treated TMPDIR as an
always-reserved stamp. Explicit pnpm run calls use unsafePerm, so no
replacement was written and the child lost the user-provided temporary
directory entirely.

Preserve inherited TMPDIR by default and continue replacing it with the
per-package node_modules/.tmp directory when unsafePerm is disabled. This
matches the TypeScript CLI and normal child-process environment inheritance.

Closes #13442.
@pull pull Bot locked and limited conversation to collaborators Jul 27, 2026
@pull pull Bot added the ⤵️ pull label Jul 27, 2026
@pull
pull Bot merged commit 960aba3 into dwongdev:main Jul 27, 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