-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
chore(deps): update pnpm to v7 #62
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: pnpm-lock.yaml
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
=======================================
Coverage 90.86% 90.86%
=======================================
Files 61 61
Lines 3797 3797
Branches 728 728
=======================================
Hits 3450 3450
Misses 347 347
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
e28c2ef
to
c20aac0
Compare
c20aac0
to
4aa733d
Compare
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 7.x releases. However, if you upgrade to 7.x manually then Renovate will reenable minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
This PR contains the following updates:
6.27.1
->7.1.0
Release Notes
pnpm/pnpm
v7.1.0
Compare Source
Minor Changes
libc
field inpackage.json
#4454.Patch Changes
pnpm setup
should update the config of the current shell, not the preferred shell.pnpm setup
should not override the PNPM_HOME env variable, unless--force
is used.pnpm dlx
should print messages about installation to stderr #1698.pnpm dlx
should work with git-hosted packages. For example:pnpm dlx gengjiawen/envinfo
#4714.pnpm run --stream
should prefix the output with directory #4702Our Sponsors
Full Changelog: pnpm/pnpm@v7.0.1...v7.1.0
v7.0.1
Compare Source
Patch Changes
pnpm dlx
should work when the bin name of the executed package isn't the same as the package name #4672.pnpm init
command #4665.pnpm prune
works in a workspace #4647.error
#4669.pnpm prune
does not remove hoisted dependencies #4647.Our Sponsors
Full Changelog: pnpm/pnpm@v7.0.0...v7.0.1
v7.0.0
Compare Source
Major 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 -- world
to theecho
script'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=./apps
In 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=true
in.npmrc
.The
NODE_PATH
env 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-path
setting is removed.Related PR: #4253
The
embed-readme
setting isfalse
by default.Side effects cache is turned on by default. To turn it off, use
side-effects-cache=false
.The
npm_config_argv
env variable is not set for scripts #4153.pnpx
is 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 pkg
will 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_HOME
env variable or theglobal-bin-dir
setting.pnpm pack
should only pack a file as an executable if it's a bin or listed in thepublishConfig.executableFiles
array.-W
is not an alias of--ignore-workspace-root-check
anymore. Just use-w
or--workspace-root
instead, 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-perm
CLI 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-dependencies
istrue
by default #4427.A prerelease version is always added as an exact version to
package.json
. If thenext
version offoo
is1.0.0-beta.1
then runningpnpm add foo@next
will add this topackage.json
: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-store
to<pnpm home directory>/store
On Linux, by default it will be
~/.local/share/pnpm/store
On Windows:
%LOCALAPPDATA%/pnpm/store
On macOS:
~/Library/pnpm/store
Related issue: #2574
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 install
in a directory that has nopackage.json
file in it (and in parent directories) #4609.Our Sponsors
Full Changelog: pnpm/pnpm@v6.31.0...v7.0.0
v6.32.12
Compare Source
Patch Changes
pnpm dlx
should work when the bin name of the executed package isn't the same as the package name #4672.pnpm prune
works in a workspace #4647.pnpm prune
does not remove hoisted dependencies.pnpm dlx
should print messages about installation to stderr #1698.v6.32.11
Compare Source
Patch Changes
pnpm publish
should work correctly in a workspace, when the latest npm CLI is installed #4348.node_modules/.ignored
subfolder and a package with that name is already present in `node_modules/.ignored' #4626.Full Changelog: pnpm/pnpm@v6.32.10...v6.32.11
v6.32.10
Compare Source
Patch Changes
Full Changelog: pnpm/pnpm@v6.32.9...v6.32.10
v6.32.9
Compare Source
Patch Changes
Fix an error with peer resolutions, which was happening when there was a circular dependency and another dependency that had the name of the circular dependency as a substring.
When
pnpm exec
is running a command in a workspace project, the commands that are in the dependencies of that workspace project should be in the PATH #4481.Hide "WARN deprecated" messages on loglevel error #4507
Don't show the progress bar when loglevel is set to warn or error.
Full Changelog: pnpm/pnpm@v6.32.8...v6.32.9
v6.32.8
Compare Source
Patch Changes
Full Changelog: pnpm/pnpm@v6.32.7...v6.32.8
v6.32.7
Compare Source
Patch Changes
auto-install-peers
totrue
should work.Full Changelog: pnpm/pnpm@v6.32.6...v6.32.7
v6.32.6
Compare Source
Patch Changes
Full Changelog: pnpm/pnpm@v6.32.5...v6.32.6
v6.32.5
Compare Source
v6.32.4
Compare Source
Patch Changes
dependenciesMeta
field in the manifest should be satisfied by a not set field in the lockfile #4463.package.json
#4487.v6.32.3
Compare Source
Patch Changes
4941f31
: The location of an injected directory dependency should be correctly located, when there is a chain of local dependencies (declared via thefile:
protocol`).The next scenario was not working prior to the fix. There are 3 projects in the same folder: foo, bar, qar.
foo/package.json
:bar/package.json
:qar/package.json
:Related PR: #4415.
v6.32.2
Compare Source
Patch Changes
pnpm install
when the lockfile is broken andnode-linker
is set tohoisted
#4387.v6.32.1
Compare Source
Patch Changes
onlyBuiltDependencies
should work #4377. The newonlyBuiltDependencies
feature was released with a bug in v6.32.0, so it didn't work.v6.32.0
Compare Source
Minor Changes
A new setting is supported in the
pnpm
section of thepackage.json
file #4001.onlyBuiltDependencies
is an array of package names that are allowed to be executed during installation. If this field exists, only mentioned packages will be able to run install scripts.-F
is a short alias of--filter
#3467.When adding a new dependency, use the version specifier from the overrides, when present #4313.
Normally, if the latest version of
foo
is2.0.0
, thenpnpm add foo
installsfoo@^2.0.0
. This behavior changes iffoo
is specified in an override:In this case,
pnpm add foo
will addfoo@1.0.0
to the dependency. However, if a version is explicitly specifying, then the specified version will be used and the override will be ignored. Sopnpm add foo@0
will install v0 and it doesn't matter what is in the overrides.Patch Changes
*
, just replace any range with*
.Full Changelog: pnpm/pnpm@v6.31.0...v6.32.0
v6.31.0
Compare Source
Minor Changes
Added
--shell-mode
/-c
option support topnpm exec
#4328--shell-mode
: shell interpreter. See: https://github.com/sindresorhus/execa/tree/484f28de7c35da5150155e7a523cbb20de161a4f#shellUsage example:
Patch Changes
publishConfig
when thepack
orpublish
commands are used #4311pnpx
,pnpm dlx
,pnpm create
, andpnpm exec
commands should set thenpm_config_user_agent
env variable #3985.What's Changed
New Contributors
Full Changelog: pnpm/pnpm@v6.30.1...v6.31.0
v6.30.1
Compare Source
Patch Changes
This fixes an issue introduced in pnpm v6.30.0.
When a package is not linked to
node_modules
, no info message should be printed about it being "relinked" from the store #4314.v6.30.0
Compare Source
Minor Changes
v6.29.2
Compare Source
Patch Changes
node_modules
directories inside injected dependencies should not be overwritten #4299.v6.29.1
Compare Source
Patch Changes
node_modules
.v6.29.0
Compare Source
Minor Changes
update-notifier
configuration option #4158.Patch Changes
v6.28.0
Compare Source
Minor Changes
embed-readme
. Whenfalse
,pnpm publish
doesn't save the readme file's content topackage.json
before publish #4265.Patch Changes
pnpm exec
should look for the executed command in thenode_modules/.bin
directory that is relative to the current working directory. Only after that should it look for the executable in the workspace root.v6.27.2
Compare Source
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.