@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.
Files changed (2) hide show
  1. package/package.json +9 -9
  2. package/postinstall.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubjs/nub",
3
- "version": "0.0.47",
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.47",
40
- "@nubjs/nub-darwin-x64": "0.0.47",
41
- "@nubjs/nub-linux-x64": "0.0.47",
42
- "@nubjs/nub-linux-x64-musl": "0.0.47",
43
- "@nubjs/nub-linux-arm64": "0.0.47",
44
- "@nubjs/nub-linux-arm64-musl": "0.0.47",
45
- "@nubjs/nub-win32-x64": "0.0.47",
46
- "@nubjs/nub-win32-arm64": "0.0.47"
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 (the shim-dir `nub` entry re-execs the real
77
- // nub found past the shim dir, and `nub pm shim` re-links by hand).
78
- const SHIM_NAMES = ["npm", "npx", "pnpm", "pnpx", "yarn", "yarnpkg", "nub"];
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" : "";