pnpm 12.15.0 → 12.16.0
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/CHANGELOG.md +189 -0
- package/README.md +4 -4
- package/bin/pnpm.mjs +11 -233
- package/dist/node_modules/.pnpm-workspace-state-v1.json +97 -269
- package/dist/node_modules/confbox/LICENSE +27 -0
- package/dist/node_modules/confbox/dist/_chunks/_format.d.mts +22 -0
- package/dist/node_modules/confbox/dist/_chunks/_format.mjs +1 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/detect-indent.mjs +1 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/ini.mjs +3 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +33 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +38 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/json5.mjs +14 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +11 -0
- package/dist/node_modules/confbox/dist/_chunks/libs/strip-json-comments.mjs +4 -0
- package/dist/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +1 -0
- package/dist/node_modules/confbox/dist/index.d.mts +7 -0
- package/dist/node_modules/confbox/dist/index.mjs +1 -0
- package/dist/node_modules/confbox/dist/ini.d.mts +59 -0
- package/dist/node_modules/confbox/dist/ini.mjs +1 -0
- package/dist/node_modules/confbox/dist/json.d.mts +25 -0
- package/dist/node_modules/confbox/dist/json.mjs +1 -0
- package/dist/node_modules/confbox/dist/json5.d.mts +55 -0
- package/dist/node_modules/confbox/dist/json5.mjs +1 -0
- package/dist/node_modules/confbox/dist/jsonc.d.mts +29 -0
- package/dist/node_modules/confbox/dist/jsonc.mjs +1 -0
- package/dist/node_modules/confbox/dist/toml.d.mts +20 -0
- package/dist/node_modules/confbox/dist/toml.mjs +1 -0
- package/dist/node_modules/confbox/dist/yaml.d.mts +101 -0
- package/dist/node_modules/confbox/dist/yaml.mjs +1 -0
- package/dist/node_modules/confbox/package.json +68 -0
- package/dist/node_modules/get-pnpm/lib/corepack.js +79 -0
- package/dist/node_modules/get-pnpm/lib/downloadExecutable.js +10 -4
- package/dist/node_modules/get-pnpm/lib/extractTarballMember.js +45 -35
- package/dist/node_modules/get-pnpm/lib/index.js +3 -219
- package/dist/node_modules/get-pnpm/lib/install.js +293 -0
- package/dist/node_modules/get-pnpm/lib/npmConfig.js +280 -0
- package/dist/node_modules/get-pnpm/lib/npmSigningKeys.js +2 -6
- package/dist/node_modules/get-pnpm/lib/platformPackageName.js +11 -7
- package/dist/node_modules/get-pnpm/lib/pnpmConfig.js +297 -0
- package/dist/node_modules/get-pnpm/lib/projectPin.js +201 -0
- package/dist/node_modules/get-pnpm/lib/registry.js +265 -41
- package/dist/node_modules/get-pnpm/lib/resolveVersion.js +19 -2
- package/dist/node_modules/get-pnpm/lib/sameFileContents.js +31 -27
- package/dist/node_modules/get-pnpm/lib/shadowingPnpm.js +174 -0
- package/dist/node_modules/get-pnpm/lib/undoHint.js +12 -0
- package/dist/node_modules/get-pnpm/package.json +20 -14
- package/package.json +15 -15
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How to take back what `pnpm setup` just did under `pnpmHome`, printed once
|
|
3
|
+
* it succeeds. `pnpm setup` names the shell config file it changed and prints
|
|
4
|
+
* the lines it added, so the hint points back at that output rather than
|
|
5
|
+
* guessing the file again.
|
|
6
|
+
*/
|
|
7
|
+
export function renderUndoHint(pnpmHome, platform = process.platform) {
|
|
8
|
+
const undo = platform === 'win32'
|
|
9
|
+
? `delete ${pnpmHome}, then remove the PNPM_HOME variable and the Path entry pnpm setup added from your user environment variables.`
|
|
10
|
+
: `delete ${pnpmHome} and the lines pnpm setup added to the shell config file named above.`;
|
|
11
|
+
return `To uninstall, ${undo}\nSee https://pnpm.io/uninstall`;
|
|
12
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-pnpm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"private": true,
|
|
4
5
|
"description": "Installs pnpm as a standalone executable",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"pnpm",
|
|
@@ -9,13 +10,10 @@
|
|
|
9
10
|
],
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"funding": "https://opencollective.com/pnpm",
|
|
12
|
-
"repository":
|
|
13
|
-
|
|
14
|
-
"url": "https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"
|
|
15
|
-
},
|
|
16
|
-
"homepage": "https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme",
|
|
13
|
+
"repository": "https://github.com/pnpm/pnpm/tree/main/pnpm/npm/get-pnpm",
|
|
14
|
+
"homepage": "https://github.com/pnpm/pnpm/tree/main/pnpm/npm/get-pnpm#readme",
|
|
17
15
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/pnpm/
|
|
16
|
+
"url": "https://github.com/pnpm/pnpm/issues"
|
|
19
17
|
},
|
|
20
18
|
"type": "module",
|
|
21
19
|
"main": "lib/index.js",
|
|
@@ -31,15 +29,23 @@
|
|
|
31
29
|
"bin": {
|
|
32
30
|
"get-pnpm": "bin/get-pnpm.js"
|
|
33
31
|
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc",
|
|
34
|
+
"test": "tsc && node --test test/*.test.ts",
|
|
35
|
+
"prepublishOnly": "tsc"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"confbox": "catalog:get-pnpm",
|
|
39
|
+
"picomatch": "catalog:get-pnpm",
|
|
40
|
+
"semver": "catalog:get-pnpm"
|
|
41
|
+
},
|
|
34
42
|
"devDependencies": {
|
|
35
|
-
"@types/node": "
|
|
36
|
-
"
|
|
43
|
+
"@types/node": "catalog:",
|
|
44
|
+
"@types/picomatch": "catalog:",
|
|
45
|
+
"@types/semver": "catalog:",
|
|
46
|
+
"typescript": "catalog:"
|
|
37
47
|
},
|
|
38
48
|
"engines": {
|
|
39
49
|
"node": ">=22.13"
|
|
40
|
-
},
|
|
41
|
-
"scripts": {
|
|
42
|
-
"build": "tsc",
|
|
43
|
-
"test": "tsc && node --test test/*.test.ts"
|
|
44
50
|
}
|
|
45
|
-
}
|
|
51
|
+
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./dist/node_modules/node-gyp/gyp/gyp"
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
|
-
"version": "12.
|
|
12
|
+
"version": "12.16.0",
|
|
13
13
|
"description": "Fast, disk space efficient package manager",
|
|
14
14
|
"keywords": [
|
|
15
15
|
"pnpm",
|
|
@@ -46,20 +46,20 @@
|
|
|
46
46
|
"THIRD-PARTY-NOTICES.md"
|
|
47
47
|
],
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@pnpm/exe.win32-x64": "12.
|
|
50
|
-
"@pnpm/exe.win32-arm64": "12.
|
|
51
|
-
"@pnpm/exe.darwin-x64": "12.
|
|
52
|
-
"@pnpm/exe.darwin-arm64": "12.
|
|
53
|
-
"@pnpm/exe.linux-x64": "12.
|
|
54
|
-
"@pnpm/exe.linux-arm64": "12.
|
|
55
|
-
"@pnpm/exe.linux-riscv64": "12.
|
|
56
|
-
"@pnpm/exe.linux-ppc64": "12.
|
|
57
|
-
"@pnpm/exe.linux-s390x": "12.
|
|
58
|
-
"@pnpm/exe.linux-x64-musl": "12.
|
|
59
|
-
"@pnpm/exe.linux-arm64-musl": "12.
|
|
60
|
-
"@pnpm/exe.freebsd-x64": "12.
|
|
61
|
-
"@pnpm/exe.android-arm64": "12.
|
|
62
|
-
"@pnpm/exe.android-x64": "12.
|
|
49
|
+
"@pnpm/exe.win32-x64": "12.16.0",
|
|
50
|
+
"@pnpm/exe.win32-arm64": "12.16.0",
|
|
51
|
+
"@pnpm/exe.darwin-x64": "12.16.0",
|
|
52
|
+
"@pnpm/exe.darwin-arm64": "12.16.0",
|
|
53
|
+
"@pnpm/exe.linux-x64": "12.16.0",
|
|
54
|
+
"@pnpm/exe.linux-arm64": "12.16.0",
|
|
55
|
+
"@pnpm/exe.linux-riscv64": "12.16.0",
|
|
56
|
+
"@pnpm/exe.linux-ppc64": "12.16.0",
|
|
57
|
+
"@pnpm/exe.linux-s390x": "12.16.0",
|
|
58
|
+
"@pnpm/exe.linux-x64-musl": "12.16.0",
|
|
59
|
+
"@pnpm/exe.linux-arm64-musl": "12.16.0",
|
|
60
|
+
"@pnpm/exe.freebsd-x64": "12.16.0",
|
|
61
|
+
"@pnpm/exe.android-arm64": "12.16.0",
|
|
62
|
+
"@pnpm/exe.android-x64": "12.16.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"preinstall": "node install.js",
|