@absolutejs/absolute 0.19.0-beta.274 → 0.19.0-beta.275

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/dist/build.js CHANGED
@@ -173380,7 +173380,8 @@ var detectFramework = (filePath, resolved) => {
173380
173380
  if (resolved?.stylesDir && normalizedPath.startsWith(resolved.stylesDir)) {
173381
173381
  return false;
173382
173382
  }
173383
- return normalizedPath.includes("/build/") || normalizedPath.includes("/generated/") || normalizedPath.includes("/.absolutejs/") || normalizedPath.includes("/node_modules/") || normalizedPath.includes("/.git/") || normalizedPath.endsWith(".log") || normalizedPath.endsWith(".tmp") || normalizedPath.startsWith(".");
173383
+ const managedDirPattern = /(^|\/)(build|generated|\.absolutejs|node_modules|\.git)(\/|$)/;
173384
+ return managedDirPattern.test(normalizedPath) || normalizedPath.endsWith(".log") || normalizedPath.endsWith(".tmp");
173384
173385
  };
173385
173386
  var init_pathUtils = __esm(() => {
173386
173387
  init_commonAncestor();
@@ -173408,7 +173409,7 @@ var safeRemoveFromGraph = (graph, fullPath) => {
173408
173409
  operation: "add"
173409
173410
  });
173410
173411
  }
173411
- }, shouldSkipFilename = (filename, isStylesDir) => !isStylesDir && (filename === "compiled" || filename === "build" || filename === "indexes" || filename === "server" || filename === "client" || filename.includes("/compiled/") || filename.includes("/build/") || filename.includes("/indexes/") || filename.includes("/server/") || filename.includes("/client/") || filename.startsWith("compiled/") || filename.startsWith("build/") || filename.startsWith("indexes/") || filename.startsWith("server/") || filename.startsWith("client/")) || filename.endsWith("/") || filename.includes(".tmp.") || filename.endsWith(".tmp") || filename.endsWith("~") || filename.startsWith(".#"), setupWatcher = (absolutePath, isStylesDir, state, onFileChange) => {
173412
+ }, shouldSkipFilename = (filename, isStylesDir) => !isStylesDir && (filename === "compiled" || filename === "generated" || filename === "build" || filename === "indexes" || filename === "server" || filename === "client" || filename.includes("/compiled/") || filename.includes("/generated/") || filename.includes("/build/") || filename.includes("/indexes/") || filename.includes("/server/") || filename.includes("/client/") || filename.startsWith("compiled/") || filename.startsWith("generated/") || filename.startsWith("build/") || filename.startsWith("indexes/") || filename.startsWith("server/") || filename.startsWith("client/")) || filename.endsWith("/") || filename.includes(".tmp.") || filename.endsWith(".tmp") || filename.endsWith("~") || filename.startsWith(".#"), setupWatcher = (absolutePath, isStylesDir, state, onFileChange) => {
173412
173413
  const watcher = watch(absolutePath, { recursive: true }, (event, filename) => {
173413
173414
  if (!filename) {
173414
173415
  return;
@@ -177470,5 +177471,5 @@ export {
177470
177471
  build
177471
177472
  };
177472
177473
 
177473
- //# debugId=09507A0A4D5E11F764756E2164756E21
177474
+ //# debugId=D59BD4AD1A94BFE464756E2164756E21
177474
177475
  //# sourceMappingURL=build.js.map