- 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