serve-placeholder
serve-placeholder copied to clipboard
chore(deps): update pnpm to v7
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| pnpm (source) | 6.32.4 -> 7.12.2 |
Release Notes
pnpm/pnpm
v7.12.2
Patch Changes
- Don't crash when auto-install-peers is true and the project has many complex circular dependencies #5394.
pnpm link --globalshould work with the--dir=<path>option #5371.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- fix: error in pnpm --dir
link --global by @lvhttps://github.com/pnpm/pnpm/pull/5371l/5371 - fix: cli crash with auto-install-peers=true by @zkochhttps://github.com/pnpm/pnpm/pull/5394l/5394
New Contributors
- @lvqq made their first contributihttps://github.com/pnpm/pnpm/pull/5371l/5371
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.12.1...v7.12.2
v7.12.1
Patch Changes
- Deduplicate peer dependencies when automatically installing them #5373.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- fix: deduplicate peer deps by @zkochhttps://github.com/pnpm/pnpm/pull/5377l/5377
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.12.0...v7.12.1
v7.12.0
Minor Changes
-
A new setting supported in the pnpm section of the
package.jsonfile:allowNonAppliedPatches. When it is set totrue, non-applied patches will not cause an error, just a warning will be printed. For example:{ "name": "foo", "version": "1.0.0", "pnpm": { "patchedDependencies": { "[email protected]": "patches/[email protected]" }, "allowNonAppliedPatches": true } } -
Now it is possible to exclude packages from hoisting by prepending a
!to the pattern. This works with both thehoist-patternandpublic-hoist-patternsettings. For instance:public-hoist-pattern[]='*types*' public-hoist-pattern[]='!@​types/react' hoist-pattern[]='*eslint*' hoist-pattern[]='!*eslint-plugin*'Ref #5272
Patch Changes
- When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project #4820.
pnpm patchshould work on files that don't have an end of line #5320.- Fix
pnpm patchusing a custom--edit-dir.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- fix(patch): allow to edit a package in any directory by @zkochhttps://github.com/pnpm/pnpm/pull/5331l/5331
- feat(matcher): ignore patterns by @LuciNyhttps://github.com/pnpm/pnpm/pull/5336l/5336
- fix(patch): ignore No newline at end of file by @await-ohttps://github.com/pnpm/pnpm/pull/5321l/5321
- feat(patch): allow non-applied patches by @larrybahr-ocelhttps://github.com/pnpm/pnpm/pull/5354l/5354
- chore: update @pnpm/meta-updater by @ibehttps://github.com/pnpm/pnpm/pull/5360pm/pull/5360
- fix: auto-install-peers in a workspace by @zkochhttps://github.com/pnpm/pnpm/pull/5359l/5359
New Contributors
- @await-ovo made their first contributihttps://github.com/pnpm/pnpm/pull/5321l/5321
- @larrybahr-ocelot made their first contributihttps://github.com/pnpm/pnpm/pull/5354l/5354
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.11.0...v7.12.0
v7.11.0
Minor Changes
pnpm patch: edit the patched package in a directory specified by the--edit-diroption. E.g.,pnpm patch [email protected] --edit-dir=/home/xxx/src/patched-express#5304
Patch Changes
- Auto installing a peer dependency in a workspace that also has it as a dev dependency in another project #5144.
- When an error happens during installation of a subdependency, print some context information in order to be able to locate that subdependency. Print the exact chain of packages that led to the problematic dependency.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- feat(plugin-command-patching): add path option to patch command by @roseline1https://github.com/pnpm/pnpm/pull/5304l/5304
- fix: improve dependency installation error message by @zkochhttps://github.com/pnpm/pnpm/pull/5247l/5247
- fix: auto installing peer dep in a workspace by @zkochhttps://github.com/pnpm/pnpm/pull/5307l/5307
New Contributors
- @roseline124 made their first contributihttps://github.com/pnpm/pnpm/pull/5304l/5304
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.10.0...v7.11.0
v7.10.0
Minor Changes
-
New time-based resolution strategy supported.
When
resolution-modeis set totime-based, pnpm will resolve dependencies the following way:- Direct dependencies will be resolved to their lowest versions. So if there is
foo@^1.1.0in the dependencies, then1.1.0will be installed. - Subdependencies will be resolved from versions that were published before the last direct dependency was published.
With this resolution mode installations with hot cache are faster. It also reduces the chance of subdependency hijacking as subdependencies will be updated only if direct dependencies are updated.
This resolution mode works only with npm's full metadata. So it is slower in some scenarios. However, if you use Verdaccio v5.15.1 or newer, you may set the
registry-supports-time-fieldsetting totrue, and it will be really fast.Related RFC.
- Direct dependencies will be resolved to their lowest versions. So if there is
-
Enhance
pnpm envwith theremovecommand. To remove a Node.js version installed by pnpm, run:pnpm env remove --global <node.js version>
Patch Changes
pnpm store pruneshould remove all cached metadata.- Don't modify the manifest of the injected workspace project, when it has the same dependency in prod and peer dependencies.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- test: fix NODE_PATH test on Windows by @zkochhttps://github.com/pnpm/pnpm/pull/5257l/5257
- refactor: resolve dependencies by @zkochhttps://github.com/pnpm/pnpm/pull/5267l/5267
- feat(env): add remove command to pnpm env by @mark-omarhttps://github.com/pnpm/pnpm/pull/5263l/5263
- docs(CONTRIBUTING): correct setup instructions for first-time clone by @gwhitnhttps://github.com/pnpm/pnpm/pull/5289l/5289
- fix: don't modify the injected project's manifest by @zkochhttps://github.com/pnpm/pnpm/pull/5294l/5294
- feat: time-based resolution mode by @zkochhttps://github.com/pnpm/pnpm/pull/5238l/5238
- feat: resolve direct deps to lowest version when resolution-mode is time-based by @zkochhttps://github.com/pnpm/pnpm/pull/5298l/5298
- fix: add fallback for time-based resolution by @zkochhttps://github.com/pnpm/pnpm/pull/5302l/5302
New Contributors
- @mark-omarov made their first contributihttps://github.com/pnpm/pnpm/pull/5263l/5263
- @gwhitney made their first contributihttps://github.com/pnpm/pnpm/pull/5289l/5289
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.9.5...v7.10.0
v7.9.5
Patch Changes
- Set
NODE_PATHwhenprefer-symlinked-executablesis enabled #5251. - Fail with a meaningful error when the audit endpoint doesn't exist #5200.
- Symlink a local dependency to
node_modules, even if the target directory doesn't exist #5219.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- Fix pnpm audit bad API response on private registry by @timtong19https://github.com/pnpm/pnpm/pull/5246l/5246
- fix: set NODE_PATH when is turned on by @d3https://github.com/pnpm/pnpm/pull/5251l/5251
- fix: symlink local dep even when target dir does not exist by @zkochhttps://github.com/pnpm/pnpm/pull/5253l/5253
- fix: only set extraEnv for preferSymlinkedExecutables if it's not windows by @d3https://github.com/pnpm/pnpm/pull/5256l/5256
New Contributors
- @timtong1982 made their first contributihttps://github.com/pnpm/pnpm/pull/5246l/5246
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.9.4...v7.9.5
v7.9.4
Patch Changes
- Auto install peer dependencies when auto-install-peers is set to true and the lockfile is up to date #5213.
pnpm env: for Node.js<16 install the x64 build on Darwin ARM as ARM build is not available #5239.pnpm env: log a message when the node.js tarball starts the download #5241.- Fix
pnpm install --merge-git-branch-lockfilewhen the lockfile is up to date #5212.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- feat(cafs): extend cafs with getFilePathByModeInCafs by @d3https://github.com/pnpm/pnpm/pull/5232l/5232
- fix: mergeGitBranchLockfiles when merged lockfile is up-to-date by @chengcybhttps://github.com/pnpm/pnpm/pull/5233l/5233
- test: all test packages should be from the @pnpm.e2e scope by @​https://github.com/pnpm/pnpm/pull/5211pm/pull/5211
- fix: node<16 download fail on arm chips on macos by @ambar-arkhttps://github.com/pnpm/pnpm/pull/5239l/5239
- feat(env): show state on fetching node by @JacobLinCohttps://github.com/pnpm/pnpm/pull/5241l/5241
- Fix: install peerDeps which is not optional on headless install by @Shinyaigehttps://github.com/pnpm/pnpm/pull/5243l/5243
New Contributors
- @ambar-arkin made their first contributihttps://github.com/pnpm/pnpm/pull/5239l/5239
- @JacobLinCool made their first contributihttps://github.com/pnpm/pnpm/pull/5241l/5241
- @Shinyaigeek made their first contributihttps://github.com/pnpm/pnpm/pull/5243l/5243
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.9.3...v7.9.4
v7.9.3
Patch Changes
- Remove legacy signal handlers #5224
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
What's Changed
- fix: remove legacy signal handlers by @d3https://github.com/pnpm/pnpm/pull/5224l/5224
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.9.2...v7.9.3
v7.9.2
Patch Changes
- When the same package is both in "peerDependencies" and in "dependencies", treat this dependency as a peer dependency if it may be resolved from the dependencies of parent packages #5210.
- Update node-gyp to v9.
- Update the compatibility database.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
v7.9.1
Patch Changes
pnpm setup: don't usesetxto set env variables on Windows.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
v7.9.0
Minor Changes
- When
ignore-dep-scriptsistrue, ignore scripts of dependencies but run the scripts of the project. - When
ignore-compatibility-dbis set totrue, the compatibility database will not be used to patch dependencies #5132. - Print the versions of packages in peer dependency warnings and errors.
- Support a new hook for passing a custom package importer to the store controller.
Patch Changes
- Don't print the same deprecation warning multiple times.
- On POSIX
pnpm setupshould suggest users to source the config instead of restarting the terminal. - Installing a package with
binthat points to an.exefile on Windows #5159. - Fix bug where the package manifest was not resolved if
verify-store-integrityis set tofalse. - Fix sorting of keys in lockfile to make it more deterministic and prevent unnecessary churn in the lockfile #5151.
- Don't create a separate bundle for pnpx.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
v7.8.0
Minor Changes
- When
publishConfig.directoryis set, only symlink it to other workspace projects ifpublishConfig.linkDirectoryis set totrue. Otherwise, only use it for publishing #5115.
Patch Changes
- Don't incorrectly identify a lockfile out-of-date when the package has a publishConfig.directory field #5124.
- Don't crash when a config file contains a setting with an env variable that doesn't exist #5093.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
What's Changed
- fix: don't incorrectly identify a lockfile out-of-date by @zkochhttps://github.com/pnpm/pnpm/pull/5126l/5126
- feat: publishConfig.linkDirectory by @zkochhttps://github.com/pnpm/pnpm/pull/5125l/5125
- fix: don't crash on a .npmrc with missing env var by @zkochhttps://github.com/pnpm/pnpm/pull/5127l/5127
- chore: fix typo by @LuciNyhttps://github.com/pnpm/pnpm/pull/5128l/5128
New Contributors
- @LuciNyan made their first contributihttps://github.com/pnpm/pnpm/pull/5128l/5128
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.7.1...v7.8.0
v7.7.1
Patch Changes
- pnpm should not consider a lockfile out-of-date if
auto-install-peersis set totrueand the peer dependency is indevDependenciesoroptionalDependencies#5080. - Don't incorrectly consider a lockfile out-of-date when
workspace:^orworkspace:~version specs are used in a workspace.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
What's Changed
- fix: frozen install in a project with peer deps and
auto-install-peers=trueby @zkochhttps://github.com/pnpm/pnpm/pull/5120l/5120 - fix: don't incorrectly consider a lockfile to be out-of-date by @zkochhttps://github.com/pnpm/pnpm/pull/5121l/5121
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.7.0...v7.7.1
v7.7.0
Minor Changes
-
Add experimental lockfile format that should merge conflict less in the
importerssection. Enabled by setting theuse-inline-specifiers-lockfile-format = truefeature flag in.npmrc.If this feature flag is committed to a repo, we recommend setting the minimum allowed version of pnpm to this release in the
package.jsonenginesfield. Once this is set, older pnpm versions will throw on invalid lockfile versions. -
Add
publishDirectoryfield to the lockfile and relink the project when it changes. -
verify-store-integrity=falsemakes pnpm skip checking the integrities of files in the global content-addressable store. -
Allow to set
only-built-dependencies[]through.npmrc.
Patch Changes
- It should be possible to publish a package with local dependencies from a custom publish directory (set via
publishConfig.directory) #3901. pnpm deployshould inject local dependencies of all types (dependencies, optionalDependencies, devDependencies) #5078.- When a project in a workspace has a
publishConfig.directoryset, dependent projects should install the project from that directory #3901 - pnpm deploy: accept absolute paths and use cwd instead of workspaceDir for deploy target directory #4980.
- pnpm setup should update
.zshrcin the right directory when a$ZDOTDIRis set.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
What's Changed
- fix(deploy): inject all types of deps by @zkochhttps://github.com/pnpm/pnpm/pull/5084l/5084
- fix(make-dedicated-lockfile): prepublishOnly script is automatically … by @zkochhttps://github.com/pnpm/pnpm/pull/5083l/5083
- fix: symlink a workspace pkg correctly, when it has a custom publish dir by @zkochhttps://github.com/pnpm/pnpm/pull/5089l/5089
- feat: add experimental use-inline-specifiers-lockfile-format by @gluxhttps://github.com/pnpm/pnpm/pull/5091l/5091
- fix: plugin-commands-deploy use path resolve on deploy target dir by @AWahttps://github.com/pnpm/pnpm/pull/5026l/5026
- fix: relink the project when its publish directory changes by @zkochhttps://github.com/pnpm/pnpm/pull/5109l/5109
- fix: don't include specifiers field in new experimental lockfile format by @zkochhttps://github.com/pnpm/pnpm/pull/5110l/5110
- feat: verify-store-integrity by @zkochhttps://github.com/pnpm/pnpm/pull/5112l/5112
New Contributors
- @AWare made their first contributihttps://github.com/pnpm/pnpm/pull/5026l/5026
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.6.0...v7.7.0
v7.6.0
Minor Changes
-
A new setting supported:
prefer-symlinked-executables. Whentrue, pnpm will create symlinks to executables innode_modules/.bininstead of command shims (but on POSIX systems only).This setting is
trueby default whennode-linkeris set tohoisted.Related issue: #4782.
-
When
lockfile-include-tarball-urlis set totrue, every entry inpnpm-lock.yamlwill contain the full URL to the package's tarball #5054.
Patch Changes
-
pnpm deployshould include all dependencies by default #5035. -
Don't print warnings about file verifications. Just print info messages instead.
-
pnpm publish --helpshould print the--recursiveand--filteroptions #5019. -
It should be possible to run exec/run/dlx with the
--use-node-versionoption. -
pnpm deployshould not modify the lockfile #5071 -
pnpm deployshould not fail in CI #5071 -
When
auto-install-peersis set totrue, automatically install direct peer dependencies #5028.So if your project the next manifest:
{ "dependencies": { "lodash": "^4.17.21" }, "peerDependencies": { "react": "^18.2.0" } }pnpm will install both lodash and react as a regular dependencies.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
What's Changed
- pnpm rebuild accepts --store-dir by @chengcybhttps://github.com/pnpm/pnpm/pull/5036l/5036
- fix(deploy): include all deps by default by @zkochhttps://github.com/pnpm/pnpm/pull/5040l/5040
- chore(deps): upgrade nock to v13 by @mcmxcdhttps://github.com/pnpm/pnpm/pull/5043l/5043
- fix: log more info on HTTP error by @zkochhttps://github.com/pnpm/pnpm/pull/4917l/4917
- fix: document the -r option by @zkochhttps://github.com/pnpm/pnpm/pull/5044l/5044
- chore(deps): upgrade sinon to v14 by @mcmxcdhttps://github.com/pnpm/pnpm/pull/5045l/5045
- fix(audit): add authentication to pnpm-audit by @slhttps://github.com/pnpm/pnpm/pull/5053l/5053
- feat: prefer-symlinked-executables by @zkochhttps://github.com/pnpm/pnpm/pull/5048l/5048
- chore: update pnpm-workspace.yaml by @ayu142https://github.com/pnpm/pnpm/pull/5060l/5060
- feat: add
lockfile-include-tarball-urloption by @MBelnihttps://github.com/pnpm/pnpm/pull/5054l/5054 - fix: auto install root peer deps when auto-install-peers=true by @zkochhttps://github.com/pnpm/pnpm/pull/5067l/5067
- fix(deploy): don't modify the lockfile and fail in CI by @zkochhttps://github.com/pnpm/pnpm/pull/5074l/5074
New Contributors
- @mcmxcdev made their first contributihttps://github.com/pnpm/pnpm/pull/5043l/5043
- @sled made their first contributihttps://github.com/pnpm/pnpm/pull/5053l/5053
- @ayu14214 made their first contributihttps://github.com/pnpm/pnpm/pull/5060l/5060
- @MBelniak made their first contributihttps://github.com/pnpm/pnpm/pull/5054l/5054
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.5.2...v7.6.0
v7.5.2
Patch Changes
- Don't print any info messages about .pnpmfile.cjs #5027.
- Do not print a package with unchanged version in the installation summary #5031.
Our Gold Sponsors
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
What's Changed
- fix: summary reporting by @zkochhttps://github.com/pnpm/pnpm/pull/5031l/5031
- fix: don't print info messages about .pnpmfile.cjs by @zkochhttps://github.com/pnpm/pnpm/pull/5032l/5032
Full Changelog: https://github.co
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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
