@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.
- package/lib/setup/setup.js +9 -1
- package/package.json +31 -31
package/lib/setup/setup.js
CHANGED
|
@@ -67,7 +67,15 @@ function installCliGlobally(execPath, pnpmHomeDir) {
|
|
|
67
67
|
});
|
|
68
68
|
try {
|
|
69
69
|
const binDir = path.join(pnpmHomeDir, 'bin');
|
|
70
|
-
|
|
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.
|
|
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.
|
|
36
|
+
"semver": "^7.8.4",
|
|
37
37
|
"symlink-dir": "^10.0.1",
|
|
38
|
-
"@pnpm/bins.linker": "1100.0.
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/
|
|
43
|
-
"@pnpm/config.
|
|
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/
|
|
50
|
-
"@pnpm/
|
|
51
|
-
"@pnpm/
|
|
52
|
-
"@pnpm/
|
|
53
|
-
"@pnpm/
|
|
54
|
-
"@pnpm/
|
|
55
|
-
"@pnpm/
|
|
56
|
-
"@pnpm/
|
|
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.
|
|
59
|
-
"@pnpm/store.controller": "
|
|
60
|
-
"@pnpm/
|
|
61
|
-
"@pnpm/workspace.project-manifest-reader": "1100.0.
|
|
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": "^
|
|
64
|
+
"@pnpm/logger": "^1100.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@jest/globals": "30.
|
|
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/
|
|
74
|
-
"@pnpm/
|
|
75
|
-
"@pnpm/
|
|
76
|
-
"@pnpm/
|
|
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"
|