chore(deps): update dependency @pnpm/lockfile-file to v7#418
Merged
Conversation
Codecov ReportBase: 64.60% // Head: 64.60% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #418 +/- ##
=======================================
Coverage 64.60% 64.60%
=======================================
Files 105 105
Lines 2961 2961
Branches 369 369
=======================================
Hits 1913 1913
Misses 1002 1002
Partials 46 46 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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
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:
6.0.5->7.0.2Release Notes
pnpm/pnpm
v7.0.1Compare Source
Patch Changes
pnpm dlxshould work when the bin name of the executed package isn't the same as the package name #4672.pnpm initcommand #4665.pnpm pruneworks in a workspace #4647.error#4669.pnpm prunedoes not remove hoisted dependencies #4647.Our Sponsors
New Contributors
Full Changelog: pnpm/pnpm@v7.0.0...v7.0.1
v7.0.0Major Changes
Node.js 12 is not supported.
When using
pnpm run <script>, all command line arguments after the script name are now passed to the script's argv, even--.For example, the command below will now pass
--hello -- worldto theechoscript's argv:pnpm run echo --hello -- world
Previously, flagged arguments (e.g.
--silent) were interpreted as pnpm arguments unless--came before it.If you want to pass options to pnpm, place them before the script name. For instance:
pnpm --workspace-root --silent run echo --hello -- world
Read more details about this in our docs.
Related PR: #4290
The root package is excluded by default, when running
pnpm -r exec|run|add#2769.Filtering by path is done by globs.
In pnpm v6, in order to pick packages under a certain directory, the following filter was used:
--filter=./appsIn pnpm v7, a glob should be used:
--filter=./apps/**For easier upgrade, we have also added a setting to turn back filtering as it was in v6. Just set
legacy-dir-filtering=truein.npmrc.The
NODE_PATHenv variable is not set in the command shims (the files innode_modules/.bin). This env variable was really long and frequently caused errors on Windows.Also, the
extend-node-pathsetting is removed.Related PR: #4253
The
embed-readmesetting isfalseby default.Side effects cache is turned on by default. To turn it off, use
side-effects-cache=false.The
npm_config_argvenv variable is not set for scripts #4153.pnpxis now just an alias ofpnpm dlx.If you want to just execute the command of a dependency, run
pnpm <cmd>. For instance,pnpm eslint.If you want to install and execute, use
pnpm dlx <pkg name>.pnpm install -g pkgwill add the global command only to a predefined location. pnpm will not try to add a bin to the global Node.js or npm folder. To set the global bin directory, either set thePNPM_HOMEenv variable or theglobal-bin-dirsetting.pnpm packshould only pack a file as an executable if it's a bin or listed in thepublishConfig.executableFilesarray.-Wis not an alias of--ignore-workspace-root-checkanymore. Just use-wor--workspace-rootinstead, which will also allow to install dependencies in the root of the workspace.Allow to execute a lifecycle script in a directory that doesn't match the package's name. Previously this was only allowed with the
--unsafe-permCLI option #3709.Local dependencies referenced through the
file:protocol are hard linked (not symlinked) #4408. If you need to symlink a dependency, use thelink:protocol instead.strict-peer-dependenciesistrueby default #4427.A prerelease version is always added as an exact version to
package.json. If thenextversion offoois1.0.0-beta.1then runningpnpm add foo@nextwill add this topackage.json:{ "dependencies": { "foo": "1.0.0-beta.1" } }PR: #4435
Dependencies of the root workspace project are not used to resolve peer dependencies of other workspace projects #4469.
Don't hoist types by default to the root of
node_modules#4459.Any package with "prettier" in its name is hoisted.
Changed the location of the global store from
~/.pnpm-storeto<pnpm home directory>/storeOn Linux, by default it will be
~/.local/share/pnpm/storeOn Windows:
%LOCALAPPDATA%/pnpm/storeOn macOS:
~/Library/pnpm/storeRelated issue: #2574
There is no migration script for moving the global packages from the old location to the old one. Just reinstall all your global packages with pnpm v7.
4bed585: The next deprecated settings were removed:Use a base32 hash instead of a hex to encode too long dependency paths inside
node_modules/.pnpm#4552.New setting added:
git-shallow-hosts. When cloning repositories from "shallow-hosts", pnpm will use shallow cloning to fetch only the needed commit, not all the history #4548.Lockfile version bumped to v5.4.
Exit with an error when running
pnpm installin a directory that has nopackage.jsonfile in it (and in parent directories) #4609.Our Sponsors
What's Changed
@pnpm/graph-sequencerinstead ofgraph-sequencerby @zkochhttps://github.com/pnpm/pnpm/pull/4458l/4458JSON.parseexecute correctly by @dev-itshehttps://github.com/pnpm/pnpm/pull/4571l/4571addbug with overlapping workspace packages by @jondhttps://github.com/pnpm/pnpm/pull/4575l/4575pnpm installshould fail on peer dep issues by @zkochhttps://github.com/pnpm/pnpm/pull/4596l/4596New Contributors
Full Changelog: pnpm/pnpm@v6.31.0...v7.0.0
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 has been generated by Mend Renovate. View repository job log here.