-
Notifications
You must be signed in to change notification settings - Fork 102
chore(deps): update pnpm to v10.9.0 #901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/pnpm-10.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4846122
to
a0c4c3f
Compare
a0c4c3f
to
260f4fb
Compare
260f4fb
to
6e92b1b
Compare
6e92b1b
to
92598f9
Compare
92598f9
to
95fdb64
Compare
95fdb64
to
b7d01db
Compare
b7d01db
to
57520db
Compare
2f75153
to
bb6a7cc
Compare
bb6a7cc
to
1634d0f
Compare
1634d0f
to
17e5b49
Compare
17e5b49
to
ee4eeb8
Compare
ee4eeb8
to
4a8d079
Compare
4a8d079
to
a2d59ce
Compare
a2d59ce
to
65afcb3
Compare
65afcb3
to
9f7997f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.1
->10.9.0
Release Notes
pnpm/pnpm (pnpm)
v10.9.0
Compare Source
Minor Changes
Added support for installing JSR packages. You can now install JSR packages using the following syntax:
or with a version range:
For example, running:
will add the following entry to your
package.json
:When publishing, this entry will be transformed into a format compatible with npm, older versions of Yarn, and previous pnpm versions:
Related issue: #8941.
Note: The
@jsr
scope defaults to https://npm.jsr.io/ if the@jsr:registry
setting is not defined.Added a new setting,
dangerouslyAllowAllBuilds
, for automatically running any scripts of dependencies without the need to approve any builds. It was already possible to allow all builds by adding this topnpm-workspace.yaml
:dangerouslyAllowAllBuilds
has the same effect but also allows to be set globally via:It can also be set when running a command:
Patch Changes
verifyDepsBeforeRun
whennodeLinker
ishoisted
and there is a workspace package without dependencies andnode_modules
directory #9424.verifyDepsBeforeRun
support fornodeLinker: pnp
. CombiningverifyDepsBeforeRun
andnodeLinker: pnp
will now print a warning.v10.8.1
Compare Source
Patch Changes
package.json
,onlyBuiltDependencies
will be written topnpm-workspace.yaml
file #9404.v10.8.0
Compare Source
Minor Changes
Experimental. A new hook is supported for updating configuration settings. The hook can be provided via
.pnpmfile.cjs
. For example:Now you can use the
pnpm add
command with the--config
flag to install new configurational dependencies #9377.Patch Changes
!/
inpnpm-workspace.yaml
. This fixes a regression introduced by #9169.pnpm audit --fix
should update the overrides inpnpm-workspace.yaml
.pnpm link
should update overrides inpnpm-workspace.yaml
, not inpackage.json
#9365.v10.7.1
: pnpm 10.7.1Compare Source
Patch Changes
pnpm config set
should convert the settings to their correct type before adding them topnpm-workspace.yaml
#9355.pnpm config get
should read auth related settings via npm CLI #9345.~/
in a path in.npmrc
with the home directory #9217.Platinum Sponsors
Gold Sponsors
v10.7.0
Compare Source
Minor Changes
pnpm config get
andlist
also show settings set inpnpm-workspace.yaml
files #9316.It should be possible to use env variables in
pnpm-workspace.yaml
setting names and value.Add an ability to patch dependencies by version ranges. Exact versions override version ranges, which in turn override name-only patches. Version range
*
is the same as name-only, except that patch application failure will not be ignored.For example:
The above configuration would apply
patches/foo-3.patch
to[email protected]
,patches/foo-2.patch
to allfoo
versions which satisfy^2.0.0
except2.1.0
, andpatches/foo-1.patch
to the remainingfoo
versions.pnpm config set --location=project
saves the setting to apnpm-workspace.yaml
file if no.npmrc
file is present in the directory #9316.Rename
pnpm.allowNonAppliedPatches
topnpm.allowUnusedPatches
. The old name is still supported but it would print a deprecation warning message.Add
pnpm.ignorePatchFailures
to manage whether pnpm would ignore patch application failures.If
ignorePatchFailures
is not set, pnpm would throw an error when patches with exact versions or version ranges fail to apply, and it would ignore failures from name-only patches.If
ignorePatchFailures
is explicitly set tofalse
, pnpm would throw an error when any type of patch fails to apply.If
ignorePatchFailures
is explicitly set totrue
, pnpm would print a warning when any type of patch fails to apply.Patch Changes
v10.6.5
Compare Source
v10.6.4
: pnpm 10.6.4Compare Source
Patch Changes
pnpm dlx
with--allow-build
flag #9263.use-node-version
should not cause pnpm itself to break #9276.Platinum Sponsors
Gold Sponsors
v10.6.3
Compare Source
Patch Changes
pnpm install --prod=false
should not crash, when executed in a project with apnpm-workspace.yaml
file #9233. This fixes regression introduced via #9211.Add the missing
node-options
config torecursive run
#9180.Removed a branching code path that only executed when
dedupe-peer-dependents=false
. We believe this internal refactor will not result in behavior changes, but we expect it to make future pnpm versions behave more consistently for projects that overridededupe-peer-dependents
to false. There should be less unique bugs from turning offdedupe-peer-dependents
.See details in #9259.
v10.6.2
Compare Source
Patch Changes
pnpm self-update
should always update the version in thepackageManager
field ofpackage.json
.pnpm patch-commit
will now use the same filesystem as the store directory to compare and create patch files.--loglevel=error
is used.peerDependencyRules
should be set inpnpm-workspace.yaml
to take effect.v10.6.1
Compare Source
Patch Changes
--silent
reporting is used.--loglevel
is set toerror
, don't show installation summary, execution time, and big tarball download progress.package.json
#9226.approve-builds
command, if package.json containsonlyBuiltDependencies
orignoredBuiltDependencies
, the selected dependency package will continue to be written intopackage.json
.v10.6.0
Compare Source
Minor Changes
pnpm-workspace.yaml
can now hold all the settings that.npmrc
accepts. The settings should use camelCase #9211.pnpm-workspace.yaml
example:Projects using a
file:
dependency on a local tarball file (i.e..tgz
,.tar.gz
,.tar
) will see a performance improvement during installation. Previously, using afile:
dependency on a tarball caused the lockfile resolution step to always run. The lockfile will now be considered up-to-date if the tarball is unchanged.Patch Changes
pnpm self-update
should not leave a directory with a broken pnpm installation if the installation fails.fast-glob
replace withtinyglobby
to reduce the size of the pnpm CLI dependencies #9169.pnpm deploy
should not remove fields from the deployed package'spackage.json
file #9215.pnpm self-update
should not read the pnpm settings from thepackage.json
file in the current working directory.pnpm deploy
creating apackage.json
without theimports
andlicense
field #9193.pnpm update -i
should list only packages that have newer versions #9206.catalogs
section of thepnpm-lock.yaml
file to be removed whendedupe-peer-dependents=false
on a filtered install. #9112v10.5.2
Compare Source
Patch Changes
pnpm config set
command should change the global.npmrc
file by default.This was a regression introduced by #9151 and shipped in pnpm v10.5.0.
v10.5.1
Compare Source
Patch Changes
pnpm-workspaces.yaml
orpnpm-workspaces.yml
file is found instead of apnpm-workspace.yaml
#9170.pnpm-workspace.yaml
by thepnpm approve-builds
command #9168.package.json
#9163overrides
inpnpm-workspace.yaml
should work.pnpm dlx
should ignore settings from thepackage.json
file in the current working directory #9178.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.Configuration
📅 Schedule: Branch creation - "before 6am" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.