@pnpm/engine.pm.commands 1101.1.22 → 1101.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/setup/setup.js +9 -1
  2. package/package.json +31 -31
@@ -67,7 +67,15 @@ function installCliGlobally(execPath, pnpmHomeDir) {
67
67
  });
68
68
  try {
69
69
  const binDir = path.join(pnpmHomeDir, 'bin');
70
- const { status, error } = spawnSync(execPath, ['add', '-g', `file:${execDir}`], {
70
+ // @pnpm/exe ships a `preinstall`/`prepare` pair (setup.js/prepare.js) that
71
+ // hardlinks the platform-specific binary out of its optional platform
72
+ // packages. None of that applies here: this `file:` dependency is the
73
+ // standalone executable itself (its binary is already present), the
74
+ // platform packages aren't installed alongside it, and the SEA host may
75
+ // have no `node` to run the scripts at all. Skipping them avoids a build
76
+ // approval prompt for pnpm's own install. See
77
+ // https://github.com/pnpm/pnpm/issues/12377.
78
+ const { status, error } = spawnSync(execPath, ['add', '-g', '--ignore-scripts', `file:${execDir}`], {
71
79
  stdio: 'inherit',
72
80
  env: {
73
81
  ...process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/engine.pm.commands",
3
- "version": "1101.1.22",
3
+ "version": "1101.1.23",
4
4
  "description": "pnpm commands for self-updating and setting up pnpm",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -33,47 +33,47 @@
33
33
  "path-name": "^1.0.0",
34
34
  "ramda": "npm:@pnpm/ramda@0.28.1",
35
35
  "render-help": "^2.0.0",
36
- "semver": "^7.8.1",
36
+ "semver": "^7.8.4",
37
37
  "symlink-dir": "^10.0.1",
38
- "@pnpm/bins.linker": "1100.0.13",
39
- "@pnpm/building.policy": "1100.0.9",
40
- "@pnpm/cli.meta": "1100.0.7",
41
- "@pnpm/cli.utils": "1101.0.11",
42
- "@pnpm/config.pick-registry-for-package": "1100.0.8",
43
- "@pnpm/config.reader": "1101.8.0",
44
- "@pnpm/config.version-policy": "1100.1.4",
45
- "@pnpm/deps.graph-hasher": "1100.2.4",
46
- "@pnpm/deps.security.signatures": "1101.2.1",
47
- "@pnpm/global.commands": "1100.0.27",
38
+ "@pnpm/bins.linker": "1100.0.14",
39
+ "@pnpm/cli.utils": "1101.0.12",
40
+ "@pnpm/config.reader": "1101.9.0",
41
+ "@pnpm/config.pick-registry-for-package": "1100.0.9",
42
+ "@pnpm/cli.meta": "1100.0.8",
43
+ "@pnpm/config.version-policy": "1100.1.5",
48
44
  "@pnpm/error": "1100.0.0",
49
- "@pnpm/global.packages": "1100.0.7",
50
- "@pnpm/installing.client": "1100.2.7",
51
- "@pnpm/installing.deps-restorer": "1101.1.11",
52
- "@pnpm/installing.env-installer": "1101.1.8",
53
- "@pnpm/lockfile.fs": "1100.1.4",
54
- "@pnpm/lockfile.types": "1100.0.10",
55
- "@pnpm/network.auth-header": "1101.1.1",
56
- "@pnpm/resolving.npm-resolver": "1101.5.2",
45
+ "@pnpm/deps.security.signatures": "1101.2.2",
46
+ "@pnpm/deps.graph-hasher": "1100.2.5",
47
+ "@pnpm/global.packages": "1100.0.8",
48
+ "@pnpm/global.commands": "1100.0.28",
49
+ "@pnpm/installing.client": "1100.2.8",
50
+ "@pnpm/installing.deps-restorer": "1102.0.0",
51
+ "@pnpm/installing.env-installer": "1102.0.0",
52
+ "@pnpm/network.auth-header": "1101.1.2",
53
+ "@pnpm/lockfile.types": "1100.0.11",
54
+ "@pnpm/resolving.npm-resolver": "1102.0.0",
57
55
  "@pnpm/shell.path": "1100.0.1",
58
- "@pnpm/store.connection-manager": "1100.2.8",
59
- "@pnpm/store.controller": "1101.0.13",
60
- "@pnpm/types": "1101.3.1",
61
- "@pnpm/workspace.project-manifest-reader": "1100.0.12"
56
+ "@pnpm/store.connection-manager": "1100.3.0",
57
+ "@pnpm/store.controller": "1102.0.0",
58
+ "@pnpm/lockfile.fs": "1100.1.5",
59
+ "@pnpm/workspace.project-manifest-reader": "1100.0.13",
60
+ "@pnpm/types": "1101.3.2",
61
+ "@pnpm/building.policy": "1100.0.10"
62
62
  },
63
63
  "peerDependencies": {
64
- "@pnpm/logger": "^1001.0.1"
64
+ "@pnpm/logger": "^1100.0.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@jest/globals": "30.3.0",
67
+ "@jest/globals": "30.4.1",
68
68
  "@types/cross-spawn": "^6.0.6",
69
69
  "@types/ramda": "0.31.1",
70
70
  "@types/semver": "7.7.1",
71
- "@pnpm/constants": "1100.0.0",
72
71
  "@pnpm/error": "1100.0.0",
73
- "@pnpm/logger": "1100.0.0",
74
- "@pnpm/testing.mock-agent": "1101.0.2",
75
- "@pnpm/engine.pm.commands": "1101.1.22",
76
- "@pnpm/prepare": "1100.0.15"
72
+ "@pnpm/constants": "1100.0.0",
73
+ "@pnpm/prepare": "1100.0.16",
74
+ "@pnpm/testing.mock-agent": "1101.0.3",
75
+ "@pnpm/engine.pm.commands": "1101.1.23",
76
+ "@pnpm/logger": "1100.0.0"
77
77
  },
78
78
  "engines": {
79
79
  "node": ">=22.13"