- 1de07a4af: Normalize current working directory on Windows #6524.
- 2809e89ab: Make sure
--otp
option is in the publish's cli options 6384.
- 32f8e08c6: A custom compression level may be specified for the
pnpm pack
command using thepack-gzip-level
setting #6393.
- @pnpm/pnpmfile@5.0.6
- fc8780ca9: Allow env variables to be specified with default values in
.npmrc
. This is a convention used by Yarn too. Using${NAME-fallback}
will returnfallback
ifNAME
isn't set.${NAME:-fallback}
will returnfallback
ifNAME
isn't set, or is an empty string #6018.
- @pnpm/pnpmfile@5.0.5
- @pnpm/pnpmfile@5.0.4
- e2cb4b63d: Add
ignore-workspace-cycles
to silence workspace cycle warning #6308. - cd6ce11f0: A new settig has been added called
dedupe-direct-deps
, which is disabled by default. When set totrue
, dependencies that are already symlinked to the rootnode_modules
directory of the workspace will not be symlinked to subprojectnode_modules
directories. This feature was enabled by default in v8.0.0 but caused issues, so it's best to disable it by default #6299.
- @pnpm/pnpmfile@5.0.3
- @pnpm/pnpmfile@5.0.2
- @pnpm/pnpmfile@5.0.1
- 47e45d717:
auto-install-peers
istrue
by default. - 47e45d717:
save-workspace-protocol
isrolling
by default. - 158d8cf22:
useLockfileV6
field is deleted. Lockfile v5 cannot be written anymore, only transformed to the new format. - eceaa8b8b: Node.js 14 support dropped.
- 8e35c21d1: Use lockfile v6 by default.
- 47e45d717:
resolve-peers-from-workspace-root
istrue
by default. - 47e45d717:
publishConfig.linkDirectory
istrue
by default. - 113f0ae26:
resolution-mode
islowest-direct
by default.
- Updated dependencies [eceaa8b8b]
- @pnpm/read-project-manifest@5.0.0
- @pnpm/constants@7.0.0
- @pnpm/git-utils@1.0.0
- @pnpm/matcher@5.0.0
- @pnpm/pnpmfile@5.0.0
- @pnpm/error@5.0.0
- @pnpm/types@9.0.0
- @pnpm/pnpmfile@4.0.40
- b38d711f3:
extend-node-path
istrue
by default. It was set tofalse
in v7.29.2 but it appears that it was a breaking change #6213.- @pnpm/pnpmfile@4.0.39
- e505b58e3: Don't extend NODE_PATH in command shims #5176.
- @pnpm/read-project-manifest@4.1.4
- @pnpm/pnpmfile@4.0.38
- @pnpm/pnpmfile@4.0.37
- @pnpm/pnpmfile@4.0.36
-
5c31fa8be: A new setting is now supported:
dedupe-peer-dependents
.When this setting is set to
true
, packages with peer dependencies will be deduplicated after peers resolution.For instance, let's say we have a workspace with two projects and both of them have
webpack
in their dependencies.webpack
hasesbuild
in its optional peer dependencies, and one of the projects hasesbuild
in its dependencies. In this case, pnpm will link two instances ofwebpack
to thenode_modules/.pnpm
directory: one withesbuild
and another one without it:node_modules .pnpm webpack@1.0.0_esbuild@1.0.0 webpack@1.0.0 project1 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0/node_modules/webpack project2 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack esbuild
This makes sense because
webpack
is used in two projects, and one of the projects doesn't haveesbuild
, so the two projects cannot share the same instance ofwebpack
. However, this is not what most developers expect, especially since in a hoistednode_modules
, there would only be one instance ofwebpack
. Therefore, you may now use thededupe-peer-dependents
setting to deduplicatewebpack
when it has no conflicting peer dependencies. In this case, if we setdedupe-peer-dependents
totrue
, both projects will use the samewebpack
instance, which is the one that hasesbuild
resolved:node_modules .pnpm webpack@1.0.0_esbuild@1.0.0 project1 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack project2 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack esbuild
- @pnpm/pnpmfile@4.0.35
- @pnpm/pnpmfile@4.0.34
- @pnpm/pnpmfile@4.0.33
- @pnpm/pnpmfile@4.0.32
- @pnpm/pnpmfile@4.0.31
- 59ee53678: A new
resolution-mode
added:lowest-direct
. With this resolution mode direct dependencies will be resolved to their lowest versions. So if there isfoo@^1.1.0
in the dependencies, then1.1.0
will be installed, even if the latest version offoo
is1.2.0
.
- @pnpm/pnpmfile@4.0.30
- @pnpm/pnpmfile@4.0.29
- @pnpm/pnpmfile@4.0.28
- @pnpm/pnpmfile@4.0.27
- @pnpm/pnpmfile@4.0.26
- @pnpm/pnpmfile@4.0.25
- 28b47a156: When
extend-node-path
is set tofalse
, theNODE_PATH
environment variable is not set in the command shims #5910
- @pnpm/pnpmfile@4.0.24
- @pnpm/pnpmfile@4.0.23
- @pnpm/pnpmfile@4.0.22
- @pnpm/pnpmfile@4.0.21
- 3ebce5db7: Added support for
pnpm-lock.yaml
format v6. This new format will be the new lockfile format in pnpm v8. To use the new lockfile format, use theuse-lockfile-v6=true
setting in.npmrc
. Or runpnpm install --use-lockfile-v6
#5810.
- Updated dependencies [3ebce5db7]
- @pnpm/constants@6.2.0
- @pnpm/pnpmfile@4.0.20
- @pnpm/error@4.0.1
- @pnpm/read-project-manifest@4.1.3
- 1fad508b0: When the
resolve-peers-from-workspace-root
setting is set totrue
, pnpm will use dependencies installed in the root of the workspace to resolve peer dependencies in any of the workspace's projects #5882.
- @pnpm/pnpmfile@4.0.19
- @pnpm/pnpmfile@4.0.18
- d71dbf230: Only the
pnpm add --global <pkg>
command should fail if there is no global pnpm bin directory in the system PATH #5841.
- 841f52e70: pnpm reads settings from its own global configuration file at
$XDG_CONFIG_HOME/pnpm/rc
#5829.
- Updated dependencies [b77651d14]
- @pnpm/types@8.10.0
- @pnpm/pnpmfile@4.0.17
- @pnpm/read-project-manifest@4.1.2
- @pnpm/pnpmfile@4.0.16
- @pnpm/pnpmfile@4.0.15
- @pnpm/pnpmfile@4.0.14
- a9d59d8bc: Update dependencies.
- @pnpm/read-project-manifest@4.1.1
- @pnpm/pnpmfile@4.0.13
- @pnpm/pnpmfile@4.0.12
- @pnpm/pnpmfile@4.0.11
- Updated dependencies [fec9e3149]
- Updated dependencies [0d12d38fd]
- @pnpm/read-project-manifest@4.1.0
- @pnpm/pnpmfile@4.0.10
- Updated dependencies [969f8a002]
- @pnpm/matcher@4.0.1
- @pnpm/pnpmfile@4.0.9
- @pnpm/pnpmfile@4.0.8
- @pnpm/pnpmfile@4.0.7
- 3dab7f83c: New function added:
readLocalConfig(dir: string)
.
- @pnpm/pnpmfile@4.0.6
- Updated dependencies [702e847c1]
- @pnpm/types@8.9.0
- @pnpm/pnpmfile@4.0.5
- @pnpm/read-project-manifest@4.0.2
- @pnpm/pnpmfile@4.0.4
- aacb83f73: Print a warning if a package.json has a workspaces field but there is no pnpm-workspace.yaml file #5363.
- a14ad09e6: It should be possible to set a custom home directory for pnpm by changing the PNPM_HOME environment variable.
- @pnpm/pnpmfile@4.0.3
- bea0acdfc: Add
pnpm doctor
command to do checks for known common issues- @pnpm/pnpmfile@4.0.2
- e7fd8a84c: Downgrade
@pnpm/npm-conf
to remove annoying builtin warning #5518. - Updated dependencies [844e82f3a]
- @pnpm/types@8.8.0
- @pnpm/pnpmfile@4.0.1
- @pnpm/read-project-manifest@4.0.1
- 043d988fc: Breaking change to the API. Defaul export is not used.
- f884689e0: Require
@pnpm/logger
v5.
- 645384bfd: New field returned: allProjectsGraph.
- 1d0fd82fd: Print a warning when cannot read the builtin npm configuration.
- 3c117996e:
strict-peer-dependencies
is set tofalse
by default. - Updated dependencies [043d988fc]
- Updated dependencies [f884689e0]
- @pnpm/error@4.0.0
- @pnpm/matcher@4.0.0
- @pnpm/pnpmfile@4.0.0
- @pnpm/read-project-manifest@4.0.0
- @pnpm/pnpmfile@3.0.3
- @pnpm/read-project-manifest@3.0.13
- @pnpm/pnpmfile@3.0.2
- Updated dependencies [e8a631bf0]
- @pnpm/error@3.1.0
- @pnpm/pnpmfile@3.0.1
- @pnpm/read-project-manifest@3.0.12
- Updated dependencies [abb41a626]
- Updated dependencies [d665f3ff7]
- Updated dependencies [51566e34b]
- @pnpm/matcher@3.2.0
- @pnpm/types@8.7.0
- @pnpm/pnpmfile@3.0.0
- @pnpm/read-project-manifest@3.0.11
- @pnpm/pnpmfile@2.2.12
- @pnpm/pnpmfile@2.2.11
- Updated dependencies [156cc1ef6]
- Updated dependencies [9b44d38a4]
- @pnpm/types@8.6.0
- @pnpm/matcher@3.1.0
- @pnpm/pnpmfile@2.2.10
- @pnpm/read-project-manifest@3.0.10
- @pnpm/pnpmfile@2.2.9
- @pnpm/pnpmfile@2.2.8
- @pnpm/pnpmfile@2.2.7
- @pnpm/pnpmfile@2.2.6
- @pnpm/pnpmfile@2.2.5
- 2aa22e4b1: Set
NODE_PATH
whenpreferSymlinkedExecutables
is enabled.
- @pnpm/pnpmfile@2.2.4
- @pnpm/pnpmfile@2.2.3
- @pnpm/pnpmfile@2.2.2
- @pnpm/pnpmfile@2.2.1
- Updated dependencies [5035fdae1]
- Updated dependencies [23984abd1]
- @pnpm/pnpmfile@2.2.0
- 43cd6aaca: When
ignore-dep-scripts
istrue
, ignore scripts of dependencies but run the scripts of the project. - 65c4260de: Support a new hook for passing a custom package importer to the store controller.
- 29a81598a: When
ignore-compatibility-db
is set totrue
, the compatibility database will not be used to patch dependencies #5132.
- 8103f92bd: Use a patched version of ramda to fix deprecation warnings on Node.js 16. Related issue: ramda/ramda#3270
- Updated dependencies [39c040127]
- Updated dependencies [65c4260de]
- @pnpm/read-project-manifest@3.0.9
- @pnpm/pnpmfile@2.1.0
- 34121d753: Don't crash when a config file contains a setting with an env variable that doesn't exist #5093.
- Updated dependencies [c90798461]
- @pnpm/types@8.5.0
- @pnpm/pnpmfile@2.0.9
- @pnpm/read-project-manifest@3.0.8
- cac34ad69:
verify-store-integrity=false
makes pnpm skip checking the integrities of files in the global content-addressable store. - 99019e071: Allow to set
only-built-dependencies[]
through.npmrc
.
- @pnpm/pnpmfile@2.0.8
-
4fa1091c8: Add experimental lockfile format that should merge conflict less in the
importers
section. Enabled by setting theuse-inline-specifiers-lockfile-format = true
feature 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.json
engines
field. Once this is set, older pnpm versions will throw on invalid lockfile versions.
- Updated dependencies [01c5834bf]
- @pnpm/read-project-manifest@3.0.7
- 7334b347b: Update npm-conf.
-
28f000509: A new setting supported:
prefer-symlinked-executables
. Whentrue
, pnpm will create symlinks to executables innode_modules/.bin
instead of command shims (but on POSIX systems only).This setting is
true
by default whennode-linker
is set tohoisted
.Related issue: #4782.
- 406656f80: When
lockfile-include-tarball-url
is set totrue
, every entry inpnpm-lock.yaml
will contain the full URL to the package's tarball #5054.
- Updated dependencies [744d47d90]
- @pnpm/pnpmfile@2.0.7
- 5f643f23b: Update ramda to v0.28.
- f48d46ef6: New setting added:
include-workspace-root
. When it is set totrue
, therun
,exec
,add
, andtest
commands will include the root package, when executed recursively #4906
- Updated dependencies [8e5b77ef6]
- @pnpm/types@8.4.0
- @pnpm/pnpmfile@2.0.6
- @pnpm/read-project-manifest@3.0.6
- 47b5e45dd:
package-import-method
supports a new option:clone-or-copy
.
- Updated dependencies [2a34b21ce]
- @pnpm/types@8.3.0
- @pnpm/pnpmfile@2.0.5
- @pnpm/read-project-manifest@3.0.5
- 56cf04cb3: New settings added: use-git-branch-lockfile, merge-git-branch-lockfiles, merge-git-branch-lockfiles-branch-pattern.
- Updated dependencies [fb5bbfd7a]
- Updated dependencies [56cf04cb3]
- @pnpm/types@8.2.0
- @pnpm/git-utils@0.1.0
- @pnpm/pnpmfile@2.0.4
- @pnpm/read-project-manifest@3.0.4
- 25798aad1: Don't fail when the cafile setting is specified #4877. This fixes a regression introduced in pnpm v7.2.0.
- d5730ba81: The ca and cert options may accept an array of string.
- bc80631d3: Update npm-conf.
- Updated dependencies [4d39e4a0c]
- @pnpm/types@8.1.0
- @pnpm/pnpmfile@2.0.3
- @pnpm/read-project-manifest@3.0.3
- ae2f845c5:
NODE_ENV=production pnpm install --dev
should only install dev deps #4745.
- 05159665d: Do not return a default value for the node-version setting.
- af22c6c4f: When the global bin directory is set to a symlink, check not only the symlink in the PATH but also the target of the symlink #4744.
- Updated dependencies [18ba5e2c0]
- @pnpm/types@8.0.1
- @pnpm/pnpmfile@2.0.2
- @pnpm/read-project-manifest@3.0.2
- e05dcc48a: New setting added to turn back v6 directory filtering that doesn't require globs:
legacy-dir-filtering
.
-
546e644e9: Don't hoist types by default to the root of
node_modules
#4459. -
4bed585e2: The next deprecated settings were removed:
- frozen-shrinkwrap
- prefer-frozen-shrinkwrap
- shared-workspace-shrinkwrap
- shrinkwrap-directory
- lockfile-directory
- shrinkwrap-only
- store
- 8dac029ef: Any package with "prettier" in its name is hoisted.
- c6463b9fd: 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. - 8fa95fd86: The default value of
nodeLinker
is set toisolated
.
- 72b79f55a: Setting the
auto-install-peers
totrue
should work. - Updated dependencies [1267e4eff]
- @pnpm/constants@6.1.0
- @pnpm/error@3.0.1
- @pnpm/pnpmfile@2.0.1
- @pnpm/read-project-manifest@3.0.1
- 516859178:
extendNodePath
removed. - 73d71a2d5:
strict-peer-dependencies
istrue
by default. - fa656992c: The
embed-readme
setting isfalse
by default. - 542014839: Node.js 12 is not supported.
- 585e9ca9e:
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.
- Updated dependencies [d504dc380]
- Updated dependencies [542014839]
- @pnpm/types@8.0.0
- @pnpm/constants@6.0.0
- @pnpm/error@3.0.0
- @pnpm/pnpmfile@2.0.0
- @pnpm/read-project-manifest@3.0.0
- Updated dependencies [70ba51da9]
- @pnpm/error@2.1.0
- @pnpm/global-bin-dir@3.0.1
- @pnpm/pnpmfile@1.2.6
- @pnpm/read-project-manifest@2.0.13
- Updated dependencies [b138d048c]
- @pnpm/types@7.10.0
- @pnpm/pnpmfile@1.2.5
- @pnpm/read-project-manifest@2.0.12
- 334e5340a: Add support of the
update-notifier
configuration option #4158.
- b7566b979: embed-readme option was added
- fff0e4493: Set
side-effects-cache-read
andside-effects-cache-write
.
- e76151f66: New setting supported:
auto-install-peers
. When it is set totrue
,pnpm add <pkg>
automatically installs any missing peer dependencies asdevDependencies
.
- Updated dependencies [26cd01b88]
- @pnpm/types@7.9.0
- @pnpm/pnpmfile@1.2.4
- @pnpm/read-project-manifest@2.0.11
- 8fe8f5e55: New CLI option:
--ignore-workspace
. When used, pnpm ignores any workspace configuration found in the current or parent directories.
-
732d4962f: nodeLinker may accept two new values:
isolated
andhoisted
.hoisted
will create a "classic"node_modules
folder without using symlinks.isolated
will be the default value that creates a symlinkednode_modules
. -
a6cf11cb7:
userConfig
added to the config object, which contain only the settings set in the user's home config file.
- Updated dependencies [b5734a4a7]
- @pnpm/types@7.8.0
- @pnpm/pnpmfile@1.2.3
- @pnpm/read-project-manifest@2.0.10
- Updated dependencies [6493e0c93]
- @pnpm/types@7.7.1
- @pnpm/pnpmfile@1.2.2
- @pnpm/read-project-manifest@2.0.9
-
927c4a089: A new option
--aggregate-output
forappend-only
reporter is added. It aggregates lifecycle logs output for each command that is run in parallel, and only prints command logs when command is finished.Related discussion: #4070.
-
10a4bd4db: New option added for:
node-mirror:<releaseDir>
. The string value of this dynamic option is used as the base URL for downloading node whenuse-node-version
is specified. The<releaseDir>
portion of this argument can be any dir inhttps://nodejs.org/download
. Which<releaseDir>
dynamic config option gets selected depends on the value ofuse-node-version
. If 'use-node-version' is a simplex.x.x
version string,<releaseDir>
becomesrelease
andnode-mirror:release
is read. Defaults tohttps://nodejs.org/download/<releaseDir>/
.
-
30bfca967: When normalizing registry URLs, a trailing slash should only be added if the registry URL has no path.
So
https://registry.npmjs.org
is changed tohttps://registry.npmjs.org/
buthttps://npm.pkg.github.com/owner
is unchanged.Related issue: #4034.
-
Updated dependencies [ba9b2eba1]
- @pnpm/types@7.7.0
- @pnpm/pnpmfile@1.2.1
- @pnpm/read-project-manifest@2.0.8
- 46aaf7108: Revert the change that was made in pnpm v6.23.2 causing a regression describe in #4052.
- 8a99a01ff: Read the root project manifest and write it to the config object.
-
a7ff2d5ce: When normalizing registry URLs, a trailing slash should only be added if the registry URL has no path.
So
https://registry.npmjs.org
is changed tohttps://registry.npmjs.org/
buthttps://npm.pkg.github.com/owner
is unchanged.Related issue: #4034.
- 002778559: New setting added:
scriptsPrependNodePath
. This setting can betrue
,false
, orwarn-only
. Whentrue
, the path to thenode
executable with which pnpm executed is prepended to thePATH
of the scripts. Whenwarn-only
, pnpm will print a warning if the scripts run with anode
binary that differs from thenode
binary executing the pnpm CLI.
- Updated dependencies [302ae4f6f]
- Updated dependencies [b75993dde]
- @pnpm/pnpmfile@1.2.0
- @pnpm/types@7.6.0
- Updated dependencies [4ab87844a]
- @pnpm/types@7.5.0
- @pnpm/pnpmfile@1.1.1
- b6d74c545: Allow a system's package manager to override pnpm's default settings
- bd7bcdbe8: New setting supported: maxsockets. maxsockets allows to set the maximum number of connections to use per origin (protocol/host/post combination).
- 5ee3b2dc7: New setting:
configDir
.
- 4027a3c69: New optional field added to the Config object: hooks.
- Updated dependencies [ef9d2719a]
- Updated dependencies [4027a3c69]
- @pnpm/pnpmfile@1.1.0
- c7081cbb4: NODE_PATH is not set in the command shims of globally installed packages.
- fe5688dc0: Add option 'changed-files-ignore-pattern' to ignore changed files by glob patterns when filtering for changed projects since the specified commit/branch.
- c7081cbb4: New option added:
extendNodePath
. When it is set tofalse
, pnpm does not set theNODE_PATH
environment variable in the command shims.
- d62259d67: Use a subfolder of the pnpm homedir as the location of globally installed packages, when use-beta-cli is on.
- 6681fdcbc: New setting added:
global-bin-dir
.global-bin-dir
allows to set the target directory for the bin files of globally installed packages.
- ede519190: Fix a bug that doesn't respect
cache-dir
/state-dir
paths from configuration files
- Updated dependencies [47a1e9696]
- @pnpm/global-bin-dir@3.0.0
- 655af55ba: The default home directory for pnpm on macOS should be at
~/Library/pnpm
.
- 3fb74c618: Don't ignore the
--workspace-root
option.
- 051296a16: workspaceRoot should only be read for CLI options.
- af8b5716e: pnpm should always have write access to its home directory
- Updated dependencies [b734b45ea]
- @pnpm/types@7.4.0
- 73c1f802e: Choose the right location for global dir.
- 2264bfdf4: Choose proper default state-dir and cache-dir on macOS.
- 25f6968d4: Add
workspace-concurrency
based on CPU cores amount, just setworkspace-concurrency
as zero or negative, the concurrency limit is set asmax((amount of cores) - abs(workspace-concurrency), 1)
- 5aaf3e3fa: New setting added: stateDir.
- Updated dependencies [8e76690f4]
- @pnpm/types@7.3.0
- Updated dependencies [724c5abd8]
- @pnpm/types@7.2.0
- a1a03d145: Import only the required functions from ramda.
- 84ec82e05: New setting added:
use-node-version
. When set, pnpm will install the specified version of Node.js and use it for running any lifecycle scripts. - c2a71e4fd: New CLI option added:
use-stderr
. When set, all the output is written to stderr. - 84ec82e05: New settings are returned: pnpmExecPath and pnpmHomeDir.
- 05baaa6e7: Add new config setting:
fetch-timeout
. - dfdf669e6: Add new cli arg --filter-prod. --filter-prod acts the same as --filter, but it omits devDependencies when building dependencies
- Updated dependencies [97c64bae4]
- @pnpm/types@7.1.0
- ba5231ccf: New option added for:
enable-pre-post-scripts
. When it is set totrue
, lifecycle scripts with pre/post prefixes are automatically executed by pnpm.
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
- aed712455: Remove
pnpm-prefix
setting support. - aed712455:
globalDir
is never set. Only thedir
option is set with the global directory location when the--global
is used. The pnpm CLI should have access to the global dir, otherwise an exception is thrown.
- 78470a32d: New setting added:
modules-cache-max-age
. The default value of the setting is 10080 (7 days in seconds).modules-cache-max-age
is the time in minutes after which pnpm should remove the orphan packages from node_modules.
- Updated dependencies [6871d74b2]
- Updated dependencies [97b986fbc]
- Updated dependencies [f2bb5cbeb]
- @pnpm/constants@5.0.0
- @pnpm/error@2.0.0
- @pnpm/global-bin-dir@2.0.0
- @pnpm/types@7.0.0
- 4f1ce907a: Add type for
noproxy
.
- 4b3852c39: The noproxy setting should work.
- cb040ae18: add option to check unknown settings
- c4cc62506: Add '--reverse' flag for reversing the order of package executions during 'recursive run'
- bff84dbca: fix: remove empty keys from config key check
- 548f28df9: print warnings if unknown settings are found in .npmrc
- Updated dependencies [9ad8c27bf]
- @pnpm/types@6.4.0
- Updated dependencies [941c5e8de]
- @pnpm/global-bin-dir@1.2.6
- f40bc5927: New option added: enableModulesDir. When
false
, pnpm will not write any files to the modules directory. This is useful for when you want to mount the modules directory with FUSE.
- 425c7547d: Always resolve the target directory to its real path.
- ea09da716: The test-pattern option should be an Array.
- a8656b42f: New option added:
test-pattern
.test-pattern
allows to detect whether the modified files are related to tests. If they are, the dependent packages of such modified packages are not included.
- 041537bc3: Finding global bin directory on Windows.
- 8698a7060: New option added: preferWorkspacePackages. When it is
true
, dependencies are linked from the workspace even, when there are newer version available in the registry.
- fcc1c7100: Add prettier plugins to the default public-hoist-pattern list
- Updated dependencies [0c5f1bcc9]
- @pnpm/error@1.4.0
- @pnpm/global-bin-dir@1.2.5
- Updated dependencies [b5d694e7f]
- @pnpm/types@6.3.1
- 50b360ec1: A new option added for specifying the shell to use, when running scripts: scriptShell.
- Updated dependencies [d54043ee4]
- Updated dependencies [fcdad632f]
- @pnpm/types@6.3.0
- @pnpm/constants@4.1.0
- f591fdeeb: New option added:
node-linker
. Whennode-linker
is set topnp
, pnpm will create a.pnp.js
file.
- 74914c178: New experimental option added for installing node_modules w/o symlinks.
- 23cf3c88b: New option added:
shellEmulator
.
- Updated dependencies [846887de3]
- @pnpm/global-bin-dir@1.2.4
- 092f8dd83: New setting added: workspace-root.
- 767212f4e: Packages like @babel/types should be publicly hoisted by default.
- 9f1a29ff9: During global install, changes should always be saved to the global package.json, even when save is set to false.
- Updated dependencies [75a36deba]
- @pnpm/error@1.3.1
- @pnpm/global-bin-dir@1.2.3
- ac0d3e122: Publicly hoist any dependency that is related to ESLint.
- 972864e0d: When public-hoist-pattern is set to an empty string or a list with a single empty string, then it is considered to be undefined.
- Updated dependencies [4d4d22b63]
- @pnpm/global-bin-dir@1.2.2
- Updated dependencies [6d480dd7a]
- @pnpm/error@1.3.0
- @pnpm/global-bin-dir@1.2.1
- 13c18e397: Stop searching for local prefix, when directory has a
package.json5
orpackage.yaml
.
- 3f6d35997: Don't read the
.npmrc
files that are outside of the current workspace.
- a2ef8084f: Use the same versions of dependencies across the pnpm monorepo.
- ad69677a7: A new option added that allows to resolve the global bin directory from directories to which there is no write access.
- Updated dependencies [ad69677a7]
- @pnpm/global-bin-dir@1.2.0
- 65b4d07ca: feat: add config to make install only install package dependencies in a workspace
- ab3b8f51d: Hoist all ESLint plugins to the root of node_modules by default.
- Updated dependencies [245221baa]
- @pnpm/global-bin-dir@1.1.1
- 71aeb9a38: Remove proxy from the object returned by @pnpm/config. httpsProxy and httpProxy are returned instead.
-
915828b46: A new setting is returned by
@pnpm/config
:npmGlobalBinDir
.npmGlobalBinDir
is the global executable directory used by npm.This new config is used by
@pnpm/global-bin-dir
to find a suitable directory for the binstubs installed by pnpm globally.
- Updated dependencies [915828b46]
- @pnpm/global-bin-dir@1.1.0
- Updated dependencies [2c190d49d]
- @pnpm/global-bin-dir@1.0.1
-
db17f6f7b: Move Project and ProjectsGraph to @pnpm/types.
-
1146b76d2:
globalBin
is removed from the returned object.The value of
bin
is set by the@pnpm/global-bin-dir
package when the--global
option is used.
- Updated dependencies [1146b76d2]
- Updated dependencies [db17f6f7b]
- @pnpm/global-bin-dir@1.0.0
- @pnpm/types@6.2.0
- 71a8c8ce3: Added a new setting:
public-hoist-pattern
. This setting can be overwritten by--[no-]shamefully-hoist
. The default value ofpublic-hoist-pattern
istypes/*
.
- Updated dependencies [71a8c8ce3]
- @pnpm/types@6.1.0
- ffddf34a8: Add new global option called
--stream
. When used, the output from child processes is streamed to the console immediately, prefixed with the originating package directory. This allows output from different packages to be interleaved.
- e11019b89: Deprecate the resolution strategy setting. The fewer dependencies strategy is used always.
- 802d145fc: Remove
independent-leaves
support. - 45fdcfde2: Locking is removed.
- 242cf8737: The
link-workspace-packages
setting may be set todeep
. When usingdeep
, workspace packages are linked into subdependencies, not only to direct dependencies of projects.
- Updated dependencies [b5f66c0f2]
- Updated dependencies [ca9f50844]
- Updated dependencies [da091c711]
- Updated dependencies [4f5801b1c]
- @pnpm/constants@4.0.0
- @pnpm/types@6.0.0
- @pnpm/error@1.2.1
- 45fdcfde2: Locking is removed.
- 242cf8737: The
link-workspace-packages
setting may be set todeep
. When usingdeep
, workspace packages are linked into subdependencies, not only to direct dependencies of projects.
- Updated dependencies [ca9f50844]
- @pnpm/constants@4.0.0-alpha.1
- Updated dependencies [da091c71]
- @pnpm/types@6.0.0-alpha.0
- Updated dependencies [b5f66c0f2]
- @pnpm/constants@4.0.0-alpha.0