@pnpm/exe 12.2.0 → 12.2.1

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.
@@ -1,9 +1,9 @@
1
1
  {
2
- "lastValidatedTimestamp": 1788219115260,
2
+ "lastValidatedTimestamp": 1788223005630,
3
3
  "projects": {
4
4
  "/home/runner/_work/pnpm/pnpm/pnpm/npm/pnpm/temp-deploy": {
5
5
  "name": "pacquet",
6
- "version": "12.2.0"
6
+ "version": "12.2.1"
7
7
  }
8
8
  },
9
9
  "pnpmfiles": [],
package/install.js CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  // Preinstall for the pnpm v12 wrapper (shared verbatim by `pnpm` and
3
3
  // `@pnpm/exe`): replace the shebang-less placeholder bins with the host's native
4
- // binary so `pnpm` runs directly, no Node startup per call. The `.exe` suffix is
5
- // used on every platform because PowerShell cannot execute an extensionless
6
- // native binary through an explicit path. The placeholder makes the bin target
7
- // packable before preinstall replaces it; the tradeoff is no fallback when build
8
- // scripts are blocked (`--ignore-scripts`, pnpm/Bun default).
4
+ // binary so `pnpm` runs directly, no Node startup per call. A placeholder (not a
5
+ // Node launcher) is required because the Windows shim is generated from the bin
6
+ // file and npm won't re-read package.json after preinstall; the tradeoff is no
7
+ // fallback when build scripts are blocked (`--ignore-scripts`, pnpm/Bun default).
9
8
  //
10
9
  // `pn`/`pnpx`/`pnx` are committed `#!/bin/sh` scripts on Unix (so only `pnpm` is
11
10
  // relinked); on Windows the native binary is hardlinked onto each and
@@ -64,7 +63,7 @@ function setup () {
64
63
  }
65
64
  rewriteBin(newBin)
66
65
  } else {
67
- placeBinary(nativeBinary, path.join(wrapperDir, 'pnpm.exe'), 0o755)
66
+ placeBinary(nativeBinary, path.join(wrapperDir, 'pnpm'), 0o755)
68
67
  }
69
68
  }
70
69
 
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "./dist/node_modules/node-gyp/gyp/gyp"
10
10
  ]
11
11
  },
12
- "version": "12.2.0",
12
+ "version": "12.2.1",
13
13
  "description": "Fast, disk space efficient package manager",
14
14
  "keywords": [
15
15
  "pnpm",
@@ -25,7 +25,7 @@
25
25
  "directory": "pnpm/npm/pnpm-exe"
26
26
  },
27
27
  "bin": {
28
- "pnpm": "pnpm.exe",
28
+ "pnpm": "pnpm",
29
29
  "pn": "pn",
30
30
  "pnpx": "pnpx",
31
31
  "pnx": "pnx"
@@ -35,7 +35,7 @@
35
35
  "node": ">=18.*"
36
36
  },
37
37
  "files": [
38
- "pnpm.exe",
38
+ "pnpm",
39
39
  "pn",
40
40
  "pnpx",
41
41
  "pnx",
@@ -46,14 +46,14 @@
46
46
  "THIRD-PARTY-NOTICES.md"
47
47
  ],
48
48
  "optionalDependencies": {
49
- "@pnpm/exe.win32-x64": "12.2.0",
50
- "@pnpm/exe.win32-arm64": "12.2.0",
51
- "@pnpm/exe.darwin-x64": "12.2.0",
52
- "@pnpm/exe.darwin-arm64": "12.2.0",
53
- "@pnpm/exe.linux-x64": "12.2.0",
54
- "@pnpm/exe.linux-arm64": "12.2.0",
55
- "@pnpm/exe.linux-x64-musl": "12.2.0",
56
- "@pnpm/exe.linux-arm64-musl": "12.2.0"
49
+ "@pnpm/exe.win32-x64": "12.2.1",
50
+ "@pnpm/exe.win32-arm64": "12.2.1",
51
+ "@pnpm/exe.darwin-x64": "12.2.1",
52
+ "@pnpm/exe.darwin-arm64": "12.2.1",
53
+ "@pnpm/exe.linux-x64": "12.2.1",
54
+ "@pnpm/exe.linux-arm64": "12.2.1",
55
+ "@pnpm/exe.linux-x64-musl": "12.2.1",
56
+ "@pnpm/exe.linux-arm64-musl": "12.2.1"
57
57
  },
58
58
  "scripts": {
59
59
  "preinstall": "node install.js",
File without changes