@pnpm/bins.remover 1100.0.10 → 1100.0.12
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/removeBins.js +4 -0
- package/package.json +6 -6
package/lib/removeBins.js
CHANGED
|
@@ -11,6 +11,10 @@ async function removeOnWin(cmd) {
|
|
|
11
11
|
rimraf(cmd),
|
|
12
12
|
rimraf(`${cmd}.ps1`),
|
|
13
13
|
rimraf(`${cmd}${CMD_EXTENSION}`),
|
|
14
|
+
// The `node` bin is linked as a real `<cmd>.exe` (see the node
|
|
15
|
+
// special-case in `@pnpm/bins.linker`), so it must be removed too —
|
|
16
|
+
// otherwise a stale `node.exe` survives on PATH after uninstall.
|
|
17
|
+
rimraf(`${cmd}.exe`),
|
|
14
18
|
]);
|
|
15
19
|
}
|
|
16
20
|
async function removeOnNonWin(p) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/bins.remover",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.12",
|
|
4
4
|
"description": "Remove bins from .bin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"funding": "https://opencollective.com/pnpm",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/pnpm/pnpm/tree/main/bins/remover"
|
|
13
|
+
"url": "https://github.com/pnpm/pnpm/tree/main/pnpm11/bins/remover"
|
|
14
14
|
},
|
|
15
|
-
"homepage": "https://github.com/pnpm/pnpm/tree/main/bins/remover#readme",
|
|
15
|
+
"homepage": "https://github.com/pnpm/pnpm/tree/main/pnpm11/bins/remover#readme",
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
18
18
|
},
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@zkochan/rimraf": "^4.0.0",
|
|
31
31
|
"cmd-extension": "^2.0.0",
|
|
32
32
|
"is-windows": "^1.0.2",
|
|
33
|
-
"@pnpm/pkg-manifest.reader": "1100.0.8",
|
|
34
33
|
"@pnpm/core-loggers": "1100.2.1",
|
|
34
|
+
"@pnpm/bins.resolver": "1100.0.8",
|
|
35
35
|
"@pnpm/types": "1101.3.2",
|
|
36
|
-
"@pnpm/
|
|
36
|
+
"@pnpm/pkg-manifest.reader": "1100.0.9"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@pnpm/logger": "^1100.0.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/is-windows": "^1.0.2",
|
|
43
43
|
"@types/ramda": "0.31.1",
|
|
44
|
-
"@pnpm/bins.remover": "1100.0.
|
|
44
|
+
"@pnpm/bins.remover": "1100.0.12",
|
|
45
45
|
"@pnpm/logger": "1100.0.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|