@nubjs/nub 0.0.47 → 0.0.48
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/package.json +9 -9
- package/postinstall.js +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubjs/nub",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"description": "TypeScript-first developer supertool — a fast script runner and TS runtime powered by Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/nubjs/nub",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"LICENSE"
|
|
37
37
|
],
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@nubjs/nub-darwin-arm64": "0.0.
|
|
40
|
-
"@nubjs/nub-darwin-x64": "0.0.
|
|
41
|
-
"@nubjs/nub-linux-x64": "0.0.
|
|
42
|
-
"@nubjs/nub-linux-x64-musl": "0.0.
|
|
43
|
-
"@nubjs/nub-linux-arm64": "0.0.
|
|
44
|
-
"@nubjs/nub-linux-arm64-musl": "0.0.
|
|
45
|
-
"@nubjs/nub-win32-x64": "0.0.
|
|
46
|
-
"@nubjs/nub-win32-arm64": "0.0.
|
|
39
|
+
"@nubjs/nub-darwin-arm64": "0.0.48",
|
|
40
|
+
"@nubjs/nub-darwin-x64": "0.0.48",
|
|
41
|
+
"@nubjs/nub-linux-x64": "0.0.48",
|
|
42
|
+
"@nubjs/nub-linux-x64-musl": "0.0.48",
|
|
43
|
+
"@nubjs/nub-linux-arm64": "0.0.48",
|
|
44
|
+
"@nubjs/nub-linux-arm64-musl": "0.0.48",
|
|
45
|
+
"@nubjs/nub-win32-x64": "0.0.48",
|
|
46
|
+
"@nubjs/nub-win32-arm64": "0.0.48"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/postinstall.js
CHANGED
|
@@ -73,9 +73,10 @@ function chmodExecutable(pkg) {
|
|
|
73
73
|
// cross-device copy fallback, same dev+ino currency check as the Rust installer.
|
|
74
74
|
//
|
|
75
75
|
// Best-effort like everything here: any per-entry failure skips that entry — a
|
|
76
|
-
// stale shim is degraded, not broken (
|
|
77
|
-
//
|
|
78
|
-
|
|
76
|
+
// stale shim is degraded, not broken (`nub` is on PATH via ~/.nub/bin and is
|
|
77
|
+
// never shimmed; `nub pm shim` re-links the PM names by hand). Mirrors the
|
|
78
|
+
// Rust installer's PM_SHIM_NAMES in crates/nub-core/src/pm/shim.rs.
|
|
79
|
+
const SHIM_NAMES = ["npm", "npx", "pnpm", "pnpx", "yarn", "yarnpkg"];
|
|
79
80
|
|
|
80
81
|
function refreshShims(pkg) {
|
|
81
82
|
const ext = process.platform === "win32" ? ".exe" : "";
|