babavoss 0.12.1 → 0.12.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babavoss",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": "github:alanremarc/babavoss",
6
6
  "homepage": "https://babavoss.org",
@@ -1,4 +1,4 @@
1
1
  // The commit and the moment a package was built from, stamped by the pack
2
2
  // of a release (tools/release/pack.ts) and restored after it. From a
3
3
  // checkout both are empty: the tree is the build.
4
- export const build = {"sha":"c70a65a","at":"2026-10-08T18:27:43.022Z"};
4
+ export const build = {"sha":"3c25c95","at":"2026-10-08T18:46:40.366Z"};
@@ -35,10 +35,11 @@ function dependencies(): string[] {
35
35
 
36
36
  /**
37
37
  * What a child may read besides Bun: the framework's tree and its dependencies. Installed, the package sits in a
38
- * node_modules beside its dependencies, so that directory is the grant; in a checkout they are found from its own.
38
+ * node_modules beside its dependencies, under the install's own directory with its manifest, which Bun's resolver
39
+ * reads on its way up: that directory is the grant. In a checkout they are found from the package's own node_modules.
39
40
  */
40
41
  let sourceTree: string[] | null = null;
41
- const readable = () => (sourceTree ??= dev ? [framework, ...dependencies()] : [dirname(framework)]);
42
+ const readable = () => (sourceTree ??= dev ? [framework, ...dependencies()] : [dirname(dirname(framework))]);
42
43
 
43
44
  /** A project's runtime, walled: no files, no network, no programs. */
44
45
  export function runtimeSpawn(rootDir: string): Spawn {