@absolutejs/absolute 0.19.0-beta.945 → 0.19.0-beta.946
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +25 -1
- package/dist/build.js.map +4 -4
- package/dist/cli/index.js +47 -0
- package/dist/index.js +25 -1
- package/dist/index.js.map +4 -4
- package/dist/src/dev/configResolver.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-ij5VAt/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-ij5VAt/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-ij5VAt/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/build.js
CHANGED
|
@@ -18952,6 +18952,7 @@ var resolveBuildPaths = (config) => {
|
|
|
18952
18952
|
emberDir: optional(config.emberDirectory),
|
|
18953
18953
|
htmlDir: optional(config.htmlDirectory),
|
|
18954
18954
|
htmxDir: optional(config.htmxDirectory),
|
|
18955
|
+
publicDir: optional(config.publicDirectory),
|
|
18955
18956
|
reactDir: optional(config.reactDirectory),
|
|
18956
18957
|
stylesDir: optional(typeof config.stylesConfig === "string" ? config.stylesConfig : config.stylesConfig?.path),
|
|
18957
18958
|
svelteDir: optional(config.svelteDirectory),
|
|
@@ -21492,6 +21493,29 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
21492
21493
|
if (!hasFileChanged(filePath, currentHash, state.fileHashes)) {
|
|
21493
21494
|
return;
|
|
21494
21495
|
}
|
|
21496
|
+
const publicDir = state.resolvedPaths.publicDir;
|
|
21497
|
+
if (publicDir && resolve37(filePath).replace(/\\/g, "/").startsWith(publicDir + "/")) {
|
|
21498
|
+
try {
|
|
21499
|
+
const absSource = resolve37(filePath);
|
|
21500
|
+
const relFromPublic = absSource.replace(/\\/g, "/").slice(publicDir.length + 1);
|
|
21501
|
+
const buildDir = state.resolvedPaths.buildDir;
|
|
21502
|
+
const destPath = resolve37(buildDir, relFromPublic);
|
|
21503
|
+
const { mkdir: mkdir7, copyFile, readFile: readFile6 } = await import("fs/promises");
|
|
21504
|
+
const { dirname: dirname22 } = await import("path");
|
|
21505
|
+
await mkdir7(dirname22(destPath), { recursive: true });
|
|
21506
|
+
await copyFile(absSource, destPath);
|
|
21507
|
+
const bytes = await readFile6(destPath);
|
|
21508
|
+
state.assetStore.set(`/${relFromPublic}`, new Uint8Array(bytes));
|
|
21509
|
+
state.fileHashes.set(absSource, currentHash);
|
|
21510
|
+
logHmrUpdate(relative16(process.cwd(), filePath));
|
|
21511
|
+
broadcastToClients(state, {
|
|
21512
|
+
data: { framework: "public", manifest: state.manifest },
|
|
21513
|
+
message: "Public asset updated",
|
|
21514
|
+
type: "style-update"
|
|
21515
|
+
});
|
|
21516
|
+
} catch {}
|
|
21517
|
+
return;
|
|
21518
|
+
}
|
|
21495
21519
|
if (framework === "unknown") {
|
|
21496
21520
|
invalidate(resolve37(filePath));
|
|
21497
21521
|
const relPath = relative16(process.cwd(), filePath);
|
|
@@ -23840,5 +23864,5 @@ export {
|
|
|
23840
23864
|
build
|
|
23841
23865
|
};
|
|
23842
23866
|
|
|
23843
|
-
//# debugId=
|
|
23867
|
+
//# debugId=DFDC175610BB2AC564756E2164756E21
|
|
23844
23868
|
//# sourceMappingURL=build.js.map
|