Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pnpm/pnpm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.29.3
Choose a base ref
...
head repository: pnpm/pnpm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.30.0
Choose a head ref
  • 9 commits
  • 80 files changed
  • 3 contributors

Commits on Mar 15, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    tballison Tim Allison
    Copy the full SHA
    3c2268a View commit details
  2. test: fix on Windows

    zkochan committed Mar 15, 2023
    Copy the full SHA
    b92857a View commit details

Commits on Mar 16, 2023

  1. feat: support --patches-dir on patch-commit command (#6215)

    close #6202
    
    Co-authored-by: Zoltan Kochan <z@kochan.io>
    taozhou-glean and zkochan authored Mar 16, 2023
    Copy the full SHA
    40845b9 View commit details
  2. Copy the full SHA
    685b3a7 View commit details
  3. fix: ignore a vulnerability

    zkochan committed Mar 16, 2023
    Copy the full SHA
    02685b3 View commit details
  4. fix: update graceful-fs

    zkochan committed Mar 16, 2023
    Copy the full SHA
    d9bf2aa View commit details
  5. Copy the full SHA
    dfec359 View commit details
  6. chore(release): 7.30.0-0

    zkochan committed Mar 16, 2023
    Copy the full SHA
    7485626 View commit details

Commits on Mar 17, 2023

  1. chore(release): 7.30.0

    zkochan committed Mar 17, 2023
    Copy the full SHA
    cf28be8 View commit details
Showing with 558 additions and 236 deletions.
  1. +1 −0 .npmrc
  2. +7 −0 cli/cli-utils/CHANGELOG.md
  3. +1 −1 cli/cli-utils/package.json
  4. +6 −0 cli/default-reporter/CHANGELOG.md
  5. +1 −1 cli/default-reporter/package.json
  6. +6 −0 config/config/CHANGELOG.md
  7. +1 −1 config/config/package.json
  8. +1 −0 config/config/src/Config.ts
  9. +3 −0 config/config/src/dirs.ts
  10. +2 −1 config/config/src/index.ts
  11. +6 −0 config/config/test/dirs.test.ts
  12. +7 −0 config/plugin-commands-config/CHANGELOG.md
  13. +1 −1 config/plugin-commands-config/package.json
  14. +8 −0 env/plugin-commands-env/CHANGELOG.md
  15. +2 −2 env/plugin-commands-env/package.json
  16. +7 −0 exec/build-modules/CHANGELOG.md
  17. +1 −1 exec/build-modules/package.json
  18. +11 −0 exec/plugin-commands-rebuild/CHANGELOG.md
  19. +1 −1 exec/plugin-commands-rebuild/package.json
  20. +8 −0 exec/plugin-commands-script-runners/CHANGELOG.md
  21. +1 −1 exec/plugin-commands-script-runners/package.json
  22. +1 −1 fs/graceful-fs/package.json
  23. +1 −1 fs/read-modules-dir/package.json
  24. +6 −0 hooks/pnpmfile/CHANGELOG.md
  25. +1 −1 hooks/pnpmfile/package.json
  26. +7 −0 lockfile/plugin-commands-audit/CHANGELOG.md
  27. +1 −1 lockfile/plugin-commands-audit/package.json
  28. +3 −0 package.json
  29. +6 −0 packages/mount-modules/CHANGELOG.md
  30. +1 −1 packages/mount-modules/package.json
  31. +7 −0 packages/plugin-commands-doctor/CHANGELOG.md
  32. +1 −1 packages/plugin-commands-doctor/package.json
  33. +7 −0 packages/plugin-commands-init/CHANGELOG.md
  34. +1 −1 packages/plugin-commands-init/package.json
  35. +6 −0 packages/plugin-commands-setup/CHANGELOG.md
  36. +1 −1 packages/plugin-commands-setup/package.json
  37. +13 −0 patching/plugin-commands-patching/CHANGELOG.md
  38. +5 −3 patching/plugin-commands-patching/package.json
  39. +15 −5 patching/plugin-commands-patching/src/patchCommit.ts
  40. +27 −0 patching/plugin-commands-patching/test/patch.test.ts
  41. +10 −0 pkg-manager/core/CHANGELOG.md
  42. +1 −1 pkg-manager/core/package.json
  43. +9 −0 pkg-manager/headless/CHANGELOG.md
  44. +1 −1 pkg-manager/headless/package.json
  45. +7 −0 pkg-manager/hoist/CHANGELOG.md
  46. +1 −1 pkg-manager/hoist/package.json
  47. +6 −0 pkg-manager/link-bins/CHANGELOG.md
  48. +2 −2 pkg-manager/link-bins/package.json
  49. +13 −0 pkg-manager/plugin-commands-installation/CHANGELOG.md
  50. +1 −1 pkg-manager/plugin-commands-installation/package.json
  51. +207 −160 pnpm-lock.yaml
  52. +21 −0 pnpm/CHANGELOG.md
  53. +1 −27 pnpm/README.md
  54. +1 −1 pnpm/artifacts/exe/package.json
  55. +1 −1 pnpm/artifacts/linux-arm64/package.json
  56. +1 −1 pnpm/artifacts/linux-x64/package.json
  57. +1 −1 pnpm/artifacts/macos-arm64/package.json
  58. +1 −1 pnpm/artifacts/macos-x64/package.json
  59. +1 −1 pnpm/artifacts/win-x64/package.json
  60. +1 −1 pnpm/package.json
  61. +7 −0 releasing/plugin-commands-deploy/CHANGELOG.md
  62. +1 −1 releasing/plugin-commands-deploy/package.json
  63. +7 −0 releasing/plugin-commands-publishing/CHANGELOG.md
  64. +1 −1 releasing/plugin-commands-publishing/package.json
  65. +7 −0 reviewing/plugin-commands-licenses/CHANGELOG.md
  66. +1 −1 reviewing/plugin-commands-licenses/package.json
  67. +7 −0 reviewing/plugin-commands-listing/CHANGELOG.md
  68. +1 −1 reviewing/plugin-commands-listing/package.json
  69. +7 −0 reviewing/plugin-commands-outdated/CHANGELOG.md
  70. +1 −1 reviewing/plugin-commands-outdated/package.json
  71. +8 −0 store/plugin-commands-server/CHANGELOG.md
  72. +1 −1 store/plugin-commands-server/package.json
  73. +8 −0 store/plugin-commands-store/CHANGELOG.md
  74. +1 −1 store/plugin-commands-store/package.json
  75. +6 −0 store/store-connection-manager/CHANGELOG.md
  76. +1 −1 store/store-connection-manager/package.json
  77. +6 −0 workspace/filter-workspace-packages/CHANGELOG.md
  78. +1 −1 workspace/filter-workspace-packages/package.json
  79. +6 −0 workspace/find-workspace-packages/CHANGELOG.md
  80. +1 −1 workspace/find-workspace-packages/package.json
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -13,3 +13,4 @@ save-prefix=
resolution-mode=time-based
auto-install-peers=true
resolve-peers-from-workspace-root=true
extend-node-path=false
7 changes: 7 additions & 0 deletions cli/cli-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/cli-utils

## 1.1.7

### Patch Changes

- @pnpm/config@17.0.2
- @pnpm/default-reporter@11.0.42

## 1.1.6

### Patch Changes
2 changes: 1 addition & 1 deletion cli/cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/cli-utils",
"version": "1.1.6",
"version": "1.1.7",
"description": "Utils for pnpm commands",
"main": "lib/index.js",
"types": "lib/index.d.ts",
6 changes: 6 additions & 0 deletions cli/default-reporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pnpm/default-reporter

## 11.0.42

### Patch Changes

- @pnpm/config@17.0.2

## 11.0.41

### Patch Changes
2 changes: 1 addition & 1 deletion cli/default-reporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/default-reporter",
"version": "11.0.41",
"version": "11.0.42",
"description": "The default reporter of pnpm",
"main": "lib/index.js",
"types": "lib/index.d.ts",
6 changes: 6 additions & 0 deletions config/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pnpm/config

## 17.0.2

### Patch Changes

- @pnpm/pnpmfile@4.0.40

## 17.0.1

### Patch Changes
2 changes: 1 addition & 1 deletion config/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/config",
"version": "17.0.1",
"version": "17.0.2",
"description": "Gets configuration options for pnpm",
"main": "lib/index.js",
"types": "lib/index.d.ts",
1 change: 1 addition & 0 deletions config/config/src/Config.ts
Original file line number Diff line number Diff line change
@@ -157,6 +157,7 @@ export interface Config {
legacyDirFiltering?: boolean
onlyBuiltDependencies?: string[]
dedupePeerDependents?: boolean
patchesDir?: string

registries: Registries
ignoreWorkspaceRootCheck: boolean
3 changes: 3 additions & 0 deletions config/config/src/dirs.ts
Original file line number Diff line number Diff line change
@@ -46,6 +46,9 @@ export function getDataDir (
platform: string
}
) {
if (opts.env.PNPM_HOME) {
return opts.env.PNPM_HOME
}
if (opts.env.XDG_DATA_HOME) {
return path.join(opts.env.XDG_DATA_HOME, 'pnpm')
}
3 changes: 2 additions & 1 deletion config/config/src/index.ts
Original file line number Diff line number Diff line change
@@ -83,6 +83,7 @@ export const types = Object.assign({
offline: Boolean,
'only-built-dependencies': [String],
'package-import-method': ['auto', 'hardlink', 'clone', 'copy'],
'patches-dir': String,
pnpmfile: String,
'prefer-frozen-lockfile': Boolean,
'prefer-offline': Boolean,
@@ -311,7 +312,7 @@ export async function getConfig (
}
return undefined
})()
pnpmConfig.pnpmHomeDir = process.env.PNPM_HOME ?? getDataDir(process)
pnpmConfig.pnpmHomeDir = getDataDir(process)

if (cliOptions['global']) {
let globalDirRoot
6 changes: 6 additions & 0 deletions config/config/test/dirs.test.ts
Original file line number Diff line number Diff line change
@@ -57,6 +57,12 @@ test('getStateDir()', () => {
})

test('getDataDir()', () => {
expect(getDataDir({
env: {
PNPM_HOME: '/home/foo/data',
},
platform: 'linux',
})).toBe('/home/foo/data')
expect(getDataDir({
env: {
XDG_DATA_HOME: '/home/foo/data',
7 changes: 7 additions & 0 deletions config/plugin-commands-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/plugin-commands-config

## 1.0.25

### Patch Changes

- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 1.0.24

### Patch Changes
2 changes: 1 addition & 1 deletion config/plugin-commands-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-config",
"version": "1.0.24",
"version": "1.0.25",
"description": "Commands for reading and writing settings to/from config files",
"main": "lib/index.js",
"types": "lib/index.d.ts",
8 changes: 8 additions & 0 deletions env/plugin-commands-env/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pnpm/plugin-commands-env

## 3.1.36

### Patch Changes

- 685b3a7ea: New directories should be prepended to NODE_PATH in command shims, not appended.
- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 3.1.35

### Patch Changes
4 changes: 2 additions & 2 deletions env/plugin-commands-env/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-env",
"version": "3.1.35",
"version": "3.1.36",
"description": "pnpm commands for managing Node.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -39,7 +39,7 @@
"@pnpm/node.resolver": "workspace:*",
"@pnpm/remove-bins": "workspace:*",
"@pnpm/store-path": "workspace:*",
"@zkochan/cmd-shim": "^5.4.1",
"@zkochan/cmd-shim": "^6.0.0",
"@zkochan/rimraf": "^2.1.2",
"load-json-file": "^6.2.0",
"render-help": "^1.0.3",
7 changes: 7 additions & 0 deletions exec/build-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/build-modules

## 10.1.9

### Patch Changes

- Updated dependencies [685b3a7ea]
- @pnpm/link-bins@8.0.11

## 10.1.8

### Patch Changes
2 changes: 1 addition & 1 deletion exec/build-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/build-modules",
"version": "10.1.8",
"version": "10.1.9",
"description": "Build packages in node_modules",
"main": "lib/index.js",
"types": "lib/index.d.ts",
11 changes: 11 additions & 0 deletions exec/plugin-commands-rebuild/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @pnpm/plugin-commands-rebuild

## 7.1.7

### Patch Changes

- Updated dependencies [685b3a7ea]
- @pnpm/link-bins@8.0.11
- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7
- @pnpm/store-connection-manager@5.2.20
- @pnpm/find-workspace-packages@5.0.42

## 7.1.6

### Patch Changes
2 changes: 1 addition & 1 deletion exec/plugin-commands-rebuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-rebuild",
"version": "7.1.6",
"version": "7.1.7",
"description": "Commands for rebuilding dependencies",
"main": "lib/index.js",
"types": "lib/index.d.ts",
8 changes: 8 additions & 0 deletions exec/plugin-commands-script-runners/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pnpm/plugin-commands-script-runners

## 6.5.7

### Patch Changes

- @pnpm/plugin-commands-installation@11.5.7
- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 6.5.6

### Patch Changes
2 changes: 1 addition & 1 deletion exec/plugin-commands-script-runners/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-script-runners",
"version": "6.5.6",
"version": "6.5.7",
"description": "Commands for running scripts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
2 changes: 1 addition & 1 deletion fs/graceful-fs/package.json
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
},
"homepage": "https://github.com/pnpm/pnpm/blob/main/fs/graceful-fs#readme",
"dependencies": {
"graceful-fs": "^4.2.10"
"graceful-fs": "^4.2.11"
},
"funding": "https://opencollective.com/pnpm",
"devDependencies": {
2 changes: 1 addition & 1 deletion fs/read-modules-dir/package.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
},
"funding": "https://opencollective.com/pnpm",
"dependencies": {
"graceful-fs": "^4.2.10"
"graceful-fs": "^4.2.11"
},
"devDependencies": {
"@pnpm/read-modules-dir": "workspace:*",
6 changes: 6 additions & 0 deletions hooks/pnpmfile/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pnpm/pnpmfile

## 4.0.40

### Patch Changes

- @pnpm/core@8.0.4

## 4.0.39

### Patch Changes
2 changes: 1 addition & 1 deletion hooks/pnpmfile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/pnpmfile",
"version": "4.0.39",
"version": "4.0.40",
"description": "Reading a .pnpmfile.cjs",
"main": "lib/index.js",
"types": "lib/index.d.ts",
7 changes: 7 additions & 0 deletions lockfile/plugin-commands-audit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/plugin-commands-audit

## 7.2.15

### Patch Changes

- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 7.2.14

### Patch Changes
2 changes: 1 addition & 1 deletion lockfile/plugin-commands-audit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-audit",
"version": "7.2.14",
"version": "7.2.15",
"description": "pnpm commands for dependencies audit",
"main": "lib/index.js",
"types": "lib/index.d.ts",
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -167,6 +167,9 @@
"write-json-file",
"write-pkg"
]
},
"auditConfig": {
"ignoreCves": ["CVE-2023-28155"]
}
}
}
6 changes: 6 additions & 0 deletions packages/mount-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pnpm/mount-modules

## 0.3.42

### Patch Changes

- @pnpm/config@17.0.2

## 0.3.41

### Patch Changes
2 changes: 1 addition & 1 deletion packages/mount-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/mount-modules",
"version": "0.3.41",
"version": "0.3.42",
"description": "Mounts a node_modules directory with FUSE",
"main": "lib/index.js",
"bin": "bin/mount-modules.js",
7 changes: 7 additions & 0 deletions packages/plugin-commands-doctor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/plugin-commands-doctor

## 1.0.40

### Patch Changes

- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 1.0.39

### Patch Changes
2 changes: 1 addition & 1 deletion packages/plugin-commands-doctor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-doctor",
"version": "1.0.39",
"version": "1.0.40",
"description": "Commands for checks of known common issues ",
"main": "lib/index.js",
"types": "lib/index.d.ts",
7 changes: 7 additions & 0 deletions packages/plugin-commands-init/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pnpm/plugin-commands-init

## 2.0.42

### Patch Changes

- @pnpm/config@17.0.2
- @pnpm/cli-utils@1.1.7

## 2.0.41

### Patch Changes
2 changes: 1 addition & 1 deletion packages/plugin-commands-init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-init",
"version": "2.0.41",
"version": "2.0.42",
"description": "Create a package.json file",
"main": "lib/index.js",
"types": "lib/index.d.ts",
6 changes: 6 additions & 0 deletions packages/plugin-commands-setup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pnpm/plugin-commands-setup

## 3.0.42

### Patch Changes

- @pnpm/cli-utils@1.1.7

## 3.0.41

### Patch Changes
2 changes: 1 addition & 1 deletion packages/plugin-commands-setup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnpm/plugin-commands-setup",
"version": "3.0.41",
"version": "3.0.42",
"description": "pnpm commands for setting up pnpm",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Loading