@absolutejs/absolute 0.19.0-beta.60 → 0.19.0-beta.62
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/.claude/settings.local.json +3 -1
- package/dist/build.js +27 -3
- package/dist/build.js.map +4 -4
- package/dist/index.js +27 -3
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
|
@@ -214,7 +214,9 @@
|
|
|
214
214
|
"Bash(kill 868777)",
|
|
215
215
|
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.57\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.58\"\"\"\"/' package.json)",
|
|
216
216
|
"Bash(kill 870841)",
|
|
217
|
-
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.58\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.59\"\"\"\"/' package.json)"
|
|
217
|
+
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.58\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.59\"\"\"\"/' package.json)",
|
|
218
|
+
"Bash(kill 881290)",
|
|
219
|
+
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.60\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.61\"\"\"\"/' package.json)"
|
|
218
220
|
]
|
|
219
221
|
}
|
|
220
222
|
}
|
package/dist/build.js
CHANGED
|
@@ -172208,7 +172208,7 @@ var safeRemoveFromGraph = (graph, fullPath) => {
|
|
|
172208
172208
|
operation: "add"
|
|
172209
172209
|
});
|
|
172210
172210
|
}
|
|
172211
|
-
}, 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.endsWith("/") || filename.includes(".tmp.") || filename.endsWith(".tmp") || filename.endsWith("~") || filename.startsWith(".#"), setupWatcher = (absolutePath, isStylesDir, state, onFileChange) => {
|
|
172211
|
+
}, 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) => {
|
|
172212
172212
|
const watcher = watch(absolutePath, { recursive: true }, (event, filename) => {
|
|
172213
172213
|
if (!filename) {
|
|
172214
172214
|
return;
|
|
@@ -203449,7 +203449,31 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203449
203449
|
invalidateModule2(file3);
|
|
203450
203450
|
}
|
|
203451
203451
|
const isComponentFile = primaryFile.endsWith(".tsx") || primaryFile.endsWith(".jsx");
|
|
203452
|
-
|
|
203452
|
+
let broadcastFile = primaryFile;
|
|
203453
|
+
if (!isComponentFile) {
|
|
203454
|
+
const pageFile = reactFiles.find((f) => f.replace(/\\/g, "/").includes("/pages/") && (f.endsWith(".tsx") || f.endsWith(".jsx")));
|
|
203455
|
+
if (pageFile) {
|
|
203456
|
+
broadcastFile = pageFile;
|
|
203457
|
+
} else {
|
|
203458
|
+
const visited = new Set;
|
|
203459
|
+
const queue = [resolve20(primaryFile)];
|
|
203460
|
+
while (queue.length > 0) {
|
|
203461
|
+
const current = queue.shift();
|
|
203462
|
+
if (visited.has(current))
|
|
203463
|
+
continue;
|
|
203464
|
+
visited.add(current);
|
|
203465
|
+
if (current.replace(/\\/g, "/").includes("/pages/") && (current.endsWith(".tsx") || current.endsWith(".jsx"))) {
|
|
203466
|
+
broadcastFile = current;
|
|
203467
|
+
break;
|
|
203468
|
+
}
|
|
203469
|
+
const deps = state.dependencyGraph.dependents.get(current);
|
|
203470
|
+
if (deps) {
|
|
203471
|
+
for (const dep of deps)
|
|
203472
|
+
queue.push(dep);
|
|
203473
|
+
}
|
|
203474
|
+
}
|
|
203475
|
+
}
|
|
203476
|
+
}
|
|
203453
203477
|
const pageModuleUrl = await getReactModuleUrl(broadcastFile);
|
|
203454
203478
|
if (pageModuleUrl) {
|
|
203455
203479
|
const serverDuration = Date.now() - startTime;
|
|
@@ -204832,5 +204856,5 @@ export {
|
|
|
204832
204856
|
build
|
|
204833
204857
|
};
|
|
204834
204858
|
|
|
204835
|
-
//# debugId=
|
|
204859
|
+
//# debugId=EA7CA3BA9F7B612464756E2164756E21
|
|
204836
204860
|
//# sourceMappingURL=build.js.map
|