Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pnpm/pnpm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.0.2
Choose a base ref
...
head repository: pnpm/pnpm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v11.0.3
Choose a head ref
  • 7 commits
  • 450 files changed
  • 3 contributors

Commits on Apr 30, 2026

  1. fix: also preserve relative symlinks in copy-artifacts.ts (release ta…

    …rballs) (#11408)
    
    #11399 fixed the fs.cpSync call in pnpm/artifacts/exe/scripts/build-artifacts.ts,
    which controls the dist/ shipped inside the npm-published @pnpm/exe package.
    
    But the GitHub release tarballs (pnpm-{darwin,linux}-{x64,arm64}.tar.gz) are
    produced by a different script — __utils__/scripts/src/copy-artifacts.ts, run
    via 'pn copy-artifacts' in the release workflow. That script has the same
    fs.cpSync(...) call without verbatimSymlinks: true, so the broken absolute
    symlinks under dist/node_modules/.bin/ pointing at /home/runner/work/pnpm/
    pnpm/... still made it into the v11.0.2 GitHub release tarballs.
    
    Apply the same one-line fix to that script so the next release ships clean
    relative symlinks.
    
    Follow-up to #11398.
    
    🤖 Generated with [Amp](https://ampcode.com)
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019dda79-b947-742f-8711-b6f83bcda9ff
    
    Co-authored-by: Amp <amp@ampcode.com>
    2 people authored and zkochan committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    a99ffe0 View commit details
    Browse the repository at this point in the history
  2. docs: fix package names in README files (#11409)

    * docs: fix package names in README files
    
    * docs: update links to point to npmx.dev
    zkochan committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    184ce26 View commit details
    Browse the repository at this point in the history
  3. test: make checkPlatform negation tests platform-independent (#11411)

    * test: make checkPlatform negation tests platform-independent
    
    The two multi-valued supportedArchitectures tests added in #11375 used
    'current' alongside a value that the negation in the wanted platform
    matched on some hosts (e.g. ['linux', 'current'] on Windows expands to
    ['linux', 'win32'], which is correctly rejected by ['!win32']). Replace
    'current' with fixed second values so the multi-value code path is still
    exercised without depending on process.platform / process.arch.
    
    * test: mock process.platform / process.arch instead of avoiding 'current'
    
    Restores the more realistic scenario from #11375 where supportedArchitectures
    mixes a fixed value with 'current'. Mock process.platform / process.arch
    explicitly per test so the result no longer depends on the host CI runner.
    zkochan committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    b6b87b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b891a5 View commit details
    Browse the repository at this point in the history
  5. feat(fs.graceful-fs): expose promisified chmod and unlink (#11413)

    * feat(fs.graceful-fs): expose promisified chmod and unlink
    
    So callers can perform mode changes and removals through the same
    EMFILE/ENFILE-queueing layer as the other operations.
    
    * chore: remove ENFILE word to satisfy cspell
    zkochan committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    5a901e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e8eb5db View commit details
    Browse the repository at this point in the history
  7. chore(release): 11.0.3

    zkochan committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    6ef34b7 View commit details
    Browse the repository at this point in the history
Loading