@absolutejs/absolute 0.19.0-beta.1011 → 0.19.0-beta.1013
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 +19 -4
- package/dist/build.js.map +4 -4
- package/dist/cli/index.js +79 -9
- package/dist/index.js +26 -5
- package/dist/index.js.map +5 -5
- package/dist/src/build/generateReactIndexes.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-qYjAlK/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-qYjAlK/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-qYjAlK/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
|
@@ -767,7 +767,7 @@ var indexContentCache, resolveDevClientDir = () => {
|
|
|
767
767
|
if (existsSync(fromNodeModules))
|
|
768
768
|
return fromNodeModules;
|
|
769
769
|
return resolve3(import.meta.dir, "./dev/client");
|
|
770
|
-
}, devClientDir, errorOverlayPath, hmrClientPath, refreshSetupPath, generateReactIndexFiles = async (reactPagesDirectory, reactIndexesDirectory, isDev = false) => {
|
|
770
|
+
}, devClientDir, errorOverlayPath, hmrClientPath, refreshSetupPath, reactRefreshRuntimePath, generateReactIndexFiles = async (reactPagesDirectory, reactIndexesDirectory, isDev = false) => {
|
|
771
771
|
if (!existsSync(reactIndexesDirectory)) {
|
|
772
772
|
mkdirSync2(reactIndexesDirectory, { recursive: true });
|
|
773
773
|
}
|
|
@@ -1100,6 +1100,7 @@ var init_generateReactIndexes = __esm(() => {
|
|
|
1100
1100
|
errorOverlayPath = join2(devClientDir, "errorOverlay.ts").replace(/\\/g, "/");
|
|
1101
1101
|
hmrClientPath = join2(devClientDir, "hmrClient.ts").replace(/\\/g, "/");
|
|
1102
1102
|
refreshSetupPath = join2(devClientDir, "reactRefreshSetup.ts").replace(/\\/g, "/");
|
|
1103
|
+
reactRefreshRuntimePath = join2(devClientDir, "vendor", "reactRefreshRuntime.js").replace(/\\/g, "/");
|
|
1103
1104
|
});
|
|
1104
1105
|
|
|
1105
1106
|
// src/build/wrapHTMLScript.ts
|
|
@@ -19366,7 +19367,10 @@ import {
|
|
|
19366
19367
|
} from "fs";
|
|
19367
19368
|
import { basename as basename10, dirname as dirname17, extname as extname8, join as join35, relative as relative13, resolve as resolve25 } from "path";
|
|
19368
19369
|
import { cwd, env as env2, exit } from "process";
|
|
19369
|
-
var {
|
|
19370
|
+
var {
|
|
19371
|
+
build: bunBuild7,
|
|
19372
|
+
Glob: Glob8
|
|
19373
|
+
} = globalThis.Bun;
|
|
19370
19374
|
var isDev, isBuildTraceEnabled = () => {
|
|
19371
19375
|
const value = env2.ABSOLUTE_BUILD_TRACE?.toLowerCase();
|
|
19372
19376
|
return value === "1" || value === "true" || value === "yes";
|
|
@@ -20509,6 +20513,14 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20509
20513
|
];
|
|
20510
20514
|
const svelteResolveConditions = svelteDir ? ["svelte", "main"] : undefined;
|
|
20511
20515
|
const htmlScriptPlugin = hmr ? createHTMLScriptHMRPlugin(htmlDir, htmxDir) : undefined;
|
|
20516
|
+
const reactRefreshRuntimePlugin = {
|
|
20517
|
+
name: "absolute-react-refresh-runtime",
|
|
20518
|
+
setup(builder) {
|
|
20519
|
+
builder.onResolve({ filter: /^react-refresh\/runtime$/ }, () => ({
|
|
20520
|
+
path: reactRefreshRuntimePath
|
|
20521
|
+
}));
|
|
20522
|
+
}
|
|
20523
|
+
};
|
|
20512
20524
|
const reactBuildConfig = reactClientEntryPoints.length > 0 ? mergeBunBuildConfig({
|
|
20513
20525
|
entrypoints: reactClientEntryPoints,
|
|
20514
20526
|
...Object.keys(reactExternalPaths).length > 0 ? { external: Object.keys(reactExternalPaths) } : {},
|
|
@@ -20520,7 +20532,10 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20520
20532
|
jsx: { development: true },
|
|
20521
20533
|
reactFastRefresh: true
|
|
20522
20534
|
} : {},
|
|
20523
|
-
plugins: [
|
|
20535
|
+
plugins: hmr ? [
|
|
20536
|
+
stylePreprocessorPlugin2,
|
|
20537
|
+
reactRefreshRuntimePlugin
|
|
20538
|
+
] : [stylePreprocessorPlugin2],
|
|
20524
20539
|
root: clientRoot,
|
|
20525
20540
|
splitting: true,
|
|
20526
20541
|
target: "browser",
|
|
@@ -27147,5 +27162,5 @@ export {
|
|
|
27147
27162
|
build
|
|
27148
27163
|
};
|
|
27149
27164
|
|
|
27150
|
-
//# debugId=
|
|
27165
|
+
//# debugId=67AD36A4AAB4172564756E2164756E21
|
|
27151
27166
|
//# sourceMappingURL=build.js.map
|