@absolutejs/absolute 0.19.0-beta.139 → 0.19.0-beta.140
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 +20 -19
- package/dist/build.js.map +3 -3
- package/dist/index.js +20 -19
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -172377,31 +172377,32 @@ var detectFramework = (filePath, resolved) => {
|
|
|
172377
172377
|
push(cfg.htmxDir, "styles");
|
|
172378
172378
|
push(cfg.assetsDir);
|
|
172379
172379
|
push(cfg.stylesDir);
|
|
172380
|
-
const
|
|
172380
|
+
const allDirs = [
|
|
172381
172381
|
cfg.reactDir,
|
|
172382
172382
|
cfg.svelteDir,
|
|
172383
172383
|
cfg.vueDir,
|
|
172384
172384
|
cfg.angularDir,
|
|
172385
172385
|
cfg.htmlDir,
|
|
172386
|
-
cfg.htmxDir
|
|
172387
|
-
cfg.assetsDir,
|
|
172388
|
-
cfg.stylesDir
|
|
172386
|
+
cfg.htmxDir
|
|
172389
172387
|
].filter((d) => Boolean(d)).map(normalizePath);
|
|
172390
|
-
|
|
172391
|
-
|
|
172392
|
-
|
|
172393
|
-
const
|
|
172394
|
-
|
|
172395
|
-
|
|
172396
|
-
|
|
172397
|
-
|
|
172398
|
-
|
|
172399
|
-
|
|
172400
|
-
|
|
172401
|
-
|
|
172388
|
+
if (allDirs.length > 0) {
|
|
172389
|
+
const root = commonAncestor(allDirs);
|
|
172390
|
+
if (root) {
|
|
172391
|
+
const knownNames = new Set([...allDirs, cfg.assetsDir, cfg.stylesDir].filter(Boolean).map((d) => normalizePath(d).split("/").pop()));
|
|
172392
|
+
knownNames.add("build");
|
|
172393
|
+
knownNames.add("node_modules");
|
|
172394
|
+
knownNames.add(".absolutejs");
|
|
172395
|
+
try {
|
|
172396
|
+
const { readdirSync } = __require("fs");
|
|
172397
|
+
for (const entry of readdirSync(root, {
|
|
172398
|
+
withFileTypes: true
|
|
172399
|
+
})) {
|
|
172400
|
+
if (entry.isDirectory() && !knownNames.has(entry.name)) {
|
|
172401
|
+
push(`${root}/${entry.name}`);
|
|
172402
|
+
}
|
|
172402
172403
|
}
|
|
172403
|
-
}
|
|
172404
|
-
}
|
|
172404
|
+
} catch {}
|
|
172405
|
+
}
|
|
172405
172406
|
}
|
|
172406
172407
|
return paths;
|
|
172407
172408
|
}, shouldIgnorePath = (path, resolved) => {
|
|
@@ -205729,5 +205730,5 @@ export {
|
|
|
205729
205730
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205730
205731
|
};
|
|
205731
205732
|
|
|
205732
|
-
//# debugId=
|
|
205733
|
+
//# debugId=473C07F3D0BE904364756E2164756E21
|
|
205733
205734
|
//# sourceMappingURL=index.js.map
|