@absolutejs/absolute 0.19.0-beta.136 → 0.19.0-beta.137
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/build.js +18 -21
- package/dist/build.js.map +3 -3
- package/dist/index.js +18 -21
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -172347,13 +172347,6 @@ var detectFramework = (filePath, resolved) => {
|
|
|
172347
172347
|
}
|
|
172348
172348
|
return "unknown";
|
|
172349
172349
|
}, getWatchPaths = (config, resolved) => {
|
|
172350
|
-
const paths = [];
|
|
172351
|
-
const push = (base, sub) => {
|
|
172352
|
-
if (!base)
|
|
172353
|
-
return;
|
|
172354
|
-
const normalizedBase = normalizePath(base);
|
|
172355
|
-
paths.push(sub ? `${normalizedBase}/${sub}` : normalizedBase);
|
|
172356
|
-
};
|
|
172357
172350
|
const cfg = resolved ?? {
|
|
172358
172351
|
angularDir: config.angularDirectory,
|
|
172359
172352
|
assetsDir: config.assetsDirectory,
|
|
@@ -172364,18 +172357,20 @@ var detectFramework = (filePath, resolved) => {
|
|
|
172364
172357
|
svelteDir: config.svelteDirectory,
|
|
172365
172358
|
vueDir: config.vueDirectory
|
|
172366
172359
|
};
|
|
172367
|
-
|
|
172368
|
-
|
|
172369
|
-
|
|
172370
|
-
|
|
172371
|
-
|
|
172372
|
-
|
|
172373
|
-
|
|
172374
|
-
|
|
172375
|
-
|
|
172376
|
-
|
|
172377
|
-
|
|
172378
|
-
|
|
172360
|
+
const allDirs = [
|
|
172361
|
+
cfg.reactDir,
|
|
172362
|
+
cfg.svelteDir,
|
|
172363
|
+
cfg.vueDir,
|
|
172364
|
+
cfg.angularDir,
|
|
172365
|
+
cfg.htmlDir,
|
|
172366
|
+
cfg.htmxDir,
|
|
172367
|
+
cfg.assetsDir,
|
|
172368
|
+
cfg.stylesDir
|
|
172369
|
+
].filter((d) => Boolean(d)).map(normalizePath);
|
|
172370
|
+
const root = commonAncestor(allDirs);
|
|
172371
|
+
if (root)
|
|
172372
|
+
return [root];
|
|
172373
|
+
return allDirs;
|
|
172379
172374
|
}, shouldIgnorePath = (path, resolved) => {
|
|
172380
172375
|
const normalizedPath = path.replace(/\\/g, "/");
|
|
172381
172376
|
if (resolved?.stylesDir && normalizedPath.startsWith(resolved.stylesDir)) {
|
|
@@ -172383,7 +172378,9 @@ var detectFramework = (filePath, resolved) => {
|
|
|
172383
172378
|
}
|
|
172384
172379
|
return normalizedPath.includes("/build/") || normalizedPath.includes("/compiled/") || normalizedPath.includes("/indexes/") || normalizedPath.includes("/server/") || normalizedPath.includes("/client/") || normalizedPath.includes("/node_modules/") || normalizedPath.includes("/.git/") || normalizedPath.endsWith(".log") || normalizedPath.endsWith(".tmp") || normalizedPath.startsWith(".") || normalizedPath === "compiled" || normalizedPath.endsWith("/compiled") || normalizedPath.endsWith("/compiled/");
|
|
172385
172380
|
};
|
|
172386
|
-
var init_pathUtils = () => {
|
|
172381
|
+
var init_pathUtils = __esm(() => {
|
|
172382
|
+
init_commonAncestor();
|
|
172383
|
+
});
|
|
172387
172384
|
|
|
172388
172385
|
// src/dev/fileWatcher.ts
|
|
172389
172386
|
import { watch } from "fs";
|
|
@@ -205699,5 +205696,5 @@ export {
|
|
|
205699
205696
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205700
205697
|
};
|
|
205701
205698
|
|
|
205702
|
-
//# debugId=
|
|
205699
|
+
//# debugId=5905CCFFB6F2EC1864756E2164756E21
|
|
205703
205700
|
//# sourceMappingURL=index.js.map
|