Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pnpm (source) 10.3.0 -> 10.4.0 age adoption passing confidence

Release Notes

pnpm/pnpm (pnpm)

v10.4.0

Compare Source

Minor Changes
  • pnpm approve-builds --global works now for allowing dependencies of globally installed packages to run postinstall scripts.

  • The pnpm add command now supports a new flag, --allow-build, which allows building the specified dependencies. For instance, if you want to install a package called bundle that has esbuild as a dependency and want to allow esbuild to run postinstall scripts, you can run:

    pnpm --allow-build=esbuild add bundle
    

    This will run esbuild's postinstall script and also add it to the pnpm.onlyBuiltDependencies field of package.json. So, esbuild will always be allowed to run its scripts in the future.

    Related PR: #​9086.

  • The pnpm init command adds a packageManager field with the current version of pnpm CLI #​9069. To disable this behaviour, set the init-package-manager setting to false.

Patch Changes
  • pnpm approve-builds should work after two consecutive pnpm install runs #​9083.
  • Fix instruction for updating pnpm with corepack #​9101.
  • The pnpm version specified by packageManager cannot start with v.

  • If you want to rebase/retry this PR, check this box

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 14, 2025
@renovate renovate bot requested a review from IgorKowalczyk February 14, 2025 02:03
@IgorKowalczyk IgorKowalczyk merged commit 927a0d0 into main Feb 14, 2025
8 checks passed
@IgorKowalczyk IgorKowalczyk deleted the renovate/pnpm-10.x branch February 14, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants