chore(deps): update pnpm to v10.5.0 #780
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.2.0
->10.5.0
Release Notes
pnpm/pnpm (pnpm)
v10.5.0
Compare Source
Minor Changes
Allow to set the "pnpm" settings from
package.json
via thepnpm-workspace.yaml
file #9121.Added support for automatically syncing files of injected workspace packages after
pnpm run
#9081. Use thesync-injected-deps-after-scripts
setting to specify which scripts build the workspace package. This tells pnpm when syncing is needed. The setting should be defined in a.npmrc
file at the root of the workspace. Example:The
packages
field inpnpm-workspace.yaml
became optional.Patch Changes
pnpm link
with no parameters should work as if--global
is specified #9151.--config.
prefix such as--@​scope:registry=https://scope.example.com/npm
#9089.pnpm link <path>
should calculate relative path from the root of the workspace directory #9132.pnpm-lock.yaml
file when using--fix-lockfile
and--filter
. #8639v10.4.1
Compare Source
Patch Changes
--allow-build
option overlaps with thepnpm.ignoredBuildDependencies
list #9105.init-package-manager
should work.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 calledbundle
that hasesbuild
as a dependency and want to allowesbuild
to run postinstall scripts, you can run:This will run
esbuild
's postinstall script and also add it to thepnpm.onlyBuiltDependencies
field ofpackage.json
. So,esbuild
will always be allowed to run its scripts in the future.Related PR: #9086.
The
pnpm init
command adds apackageManager
field with the current version of pnpm CLI #9069. To disable this behaviour, set theinit-package-manager
setting tofalse
.Patch Changes
pnpm approve-builds
should work after two consecutivepnpm install
runs #9083.packageManager
cannot start withv
.v10.3.0
Compare Source
Minor Changes
strict-dep-builds
. When enabled, the installation will exit with a non-zero exit code if any dependencies have unreviewed build scripts (aka postinstall scripts) #9071.Patch Changes
verify-deps-before-run
afterpnpm install --production|--no-optional
#9019.v10.2.1
Compare Source
Patch Changes
pnpm approve-builds
should work, when executed from a subdirectory of a workspace #9042.pnpm deploy --legacy
should work without injected dependencies.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.