@nubjs/nub-win32-x64 0.0.21 → 0.0.22
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/bin/nub.exe +0 -0
- package/bin/nubx.exe +0 -0
- package/package.json +1 -1
- package/runtime/addons/nub-native.node +0 -0
- package/runtime/pnp-bin-run.cjs +7 -1
- package/runtime/version.mjs +1 -1
package/bin/nub.exe
CHANGED
|
Binary file
|
package/bin/nubx.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
package/runtime/pnp-bin-run.cjs
CHANGED
|
@@ -42,7 +42,13 @@ function binsOf(pkg) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
let script = null;
|
|
45
|
-
|
|
45
|
+
// Anchor on the package that OWNS cwd — a workspace member, or the project root for a
|
|
46
|
+
// single-package install. Its dependencies are the bins runnable here, matching
|
|
47
|
+
// `yarn bin`. Using `api.topLevel` (the workspace ROOT) would, in a monorepo, list
|
|
48
|
+
// only the member packages and miss a member's own dep/devDep bins. `findPackageLocator`
|
|
49
|
+
// falls back to topLevel for the single-package case (cwd === root).
|
|
50
|
+
const locator = api.findPackageLocator(cwdIssuer()) || api.topLevel;
|
|
51
|
+
const top = api.getPackageInformation(locator);
|
|
46
52
|
for (const [name, reference] of top.packageDependencies) {
|
|
47
53
|
if (reference == null) continue;
|
|
48
54
|
const info = api.getPackageInformation(api.getLocator(name, reference));
|
package/runtime/version.mjs
CHANGED
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
// previously lived as a literal inside preload.mjs, which `make version` patched,
|
|
10
10
|
// while the worker carried a hand-maintained "…-compat" copy that `make version`
|
|
11
11
|
// never touched — a latent staleness bug this module closes.)
|
|
12
|
-
export const NUB_VERSION = "0.0.
|
|
12
|
+
export const NUB_VERSION = "0.0.22";
|