@absolutejs/absolute 0.20.0-beta.151 → 0.20.0-beta.152

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ This file is generated by `absolute-changelog` from the entries in
6
6
  `changelog/`. Edit an entry, not this file — and add new ones under
7
7
  `changelog/unreleased/`.
8
8
 
9
+ ## 0.20.0-beta.152 — 2026-10-26
10
+
11
+ ### Added
12
+
13
+ - **Control automatic project-root watching with dev.autoWatchDirectories** (`defineConfig`, `BaseBuildConfig`)
14
+
9
15
  ## 0.20.0-beta.151 — 2026-10-25
10
16
 
11
17
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,20 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/absolute",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "kind": "added",
9
+ "summary": "Control automatic project-root watching with dev.autoWatchDirectories",
10
+ "symbols": [
11
+ "defineConfig",
12
+ "BaseBuildConfig"
13
+ ]
14
+ }
15
+ ],
16
+ "date": "2026-10-26",
17
+ "version": "0.20.0-beta.152"
18
+ },
5
19
  {
6
20
  "changes": [
7
21
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-d9i2ix/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-CeLFbo/src/core/streamingSlotRegistrar.ts
3
3
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
4
4
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
5
5
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-d9i2ix/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-CeLFbo/src/core/streamingSlotRegistrar.ts
3
3
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
4
4
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
5
5
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -46,7 +46,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
46
46
  getWarningController()?.maybeWarn(primitiveName);
47
47
  };
48
48
 
49
- // .angular-partial-tmp-d9i2ix/src/core/streamingSlotRegistry.ts
49
+ // .angular-partial-tmp-CeLFbo/src/core/streamingSlotRegistry.ts
50
50
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
51
51
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
52
52
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/build.js CHANGED
@@ -25605,21 +25605,23 @@ var STYLE_EXTENSION_PATTERN2, detectFramework = (filePath, resolved) => {
25605
25605
  if (existsSync38(abs) && !roots.includes(abs))
25606
25606
  roots.push(abs);
25607
25607
  }
25608
- try {
25609
- const entries = readdirSync8(cwd, { withFileTypes: true });
25610
- for (const entry of entries) {
25611
- if (!entry.isDirectory())
25612
- continue;
25613
- if (entry.name.startsWith("."))
25614
- continue;
25615
- const abs = normalizePath(resolve38(cwd, entry.name));
25616
- if (roots.includes(abs))
25617
- continue;
25618
- if (shouldIgnorePath(abs, resolved))
25619
- continue;
25620
- roots.push(abs);
25621
- }
25622
- } catch {}
25608
+ if (config.dev?.autoWatchDirectories !== false) {
25609
+ try {
25610
+ const entries = readdirSync8(cwd, { withFileTypes: true });
25611
+ for (const entry of entries) {
25612
+ if (!entry.isDirectory())
25613
+ continue;
25614
+ if (entry.name.startsWith("."))
25615
+ continue;
25616
+ const abs = normalizePath(resolve38(cwd, entry.name));
25617
+ if (roots.includes(abs))
25618
+ continue;
25619
+ if (shouldIgnorePath(abs, resolved))
25620
+ continue;
25621
+ roots.push(abs);
25622
+ }
25623
+ } catch {}
25624
+ }
25623
25625
  const extraDirs = config.dev?.watchDirs ?? [];
25624
25626
  for (const dir of extraDirs)
25625
25627
  push(dir);
@@ -37871,5 +37873,5 @@ export {
37871
37873
  devBuild
37872
37874
  };
37873
37875
 
37874
- //# debugId=027C58792BBBCAC264756E2164756E21
37876
+ //# debugId=0E7C292EA2EAB7E064756E2164756E21
37875
37877
  //# sourceMappingURL=build.js.map