@absolutejs/absolute 0.19.0-beta.974 → 0.19.0-beta.975
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 +8 -3
- package/dist/build.js.map +4 -4
- package/dist/index.js +8 -3
- package/dist/index.js.map +4 -4
- package/dist/src/build/runAngularHandlerScan.d.ts +9 -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-MtOSHo/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-MtOSHo/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-MtOSHo/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
|
@@ -12213,7 +12213,9 @@ var runAngularHandlerScan = (projectRoot, angularDirectory) => {
|
|
|
12213
12213
|
const providersImport = parseAngularProvidersImport(projectRoot);
|
|
12214
12214
|
const providersFiles = emitAngularProvidersFiles(projectRoot, angularDirectory, calls, pageRoutes, { providersImport });
|
|
12215
12215
|
emitAngularRouteMounts(projectRoot, calls);
|
|
12216
|
+
const angularEntryAddons = providersImport ? [providersImport.absolutePath] : [];
|
|
12216
12217
|
return {
|
|
12218
|
+
angularEntryAddons,
|
|
12217
12219
|
calls,
|
|
12218
12220
|
manifestKeysWithProviders: new Set(providersFiles.map((file) => file.manifestKey)),
|
|
12219
12221
|
pageRoutes,
|
|
@@ -20123,10 +20125,12 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20123
20125
|
const shouldCompileIslandSvelte = svelteDir && islandSvelteSources.length > 0;
|
|
20124
20126
|
const shouldCompileIslandVue = vueDir && islandVueSources.length > 0;
|
|
20125
20127
|
const shouldCompileIslandAngular = angularDir && islandAngularSources.length > 0;
|
|
20128
|
+
let angularProvidersEntryAddons = [];
|
|
20126
20129
|
if (shouldCompileAngular && angularDir) {
|
|
20127
20130
|
await tracePhase("scan/angular-handlers", async () => {
|
|
20128
20131
|
const { runAngularHandlerScan: runAngularHandlerScan2 } = await Promise.resolve().then(() => (init_runAngularHandlerScan(), exports_runAngularHandlerScan));
|
|
20129
|
-
runAngularHandlerScan2(projectRoot, angularDir);
|
|
20132
|
+
const scanResult = runAngularHandlerScan2(projectRoot, angularDir);
|
|
20133
|
+
angularProvidersEntryAddons = scanResult.angularEntryAddons;
|
|
20130
20134
|
});
|
|
20131
20135
|
}
|
|
20132
20136
|
const [
|
|
@@ -20151,7 +20155,8 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20151
20155
|
},
|
|
20152
20156
|
shouldCompileAngular ? tracePhase("compile/angular", async () => {
|
|
20153
20157
|
const mod = await Promise.resolve().then(() => (init_compileAngular(), exports_compileAngular));
|
|
20154
|
-
const
|
|
20158
|
+
const combinedAngularEntries = angularProvidersEntryAddons.length > 0 ? [...angularEntries, ...angularProvidersEntryAddons] : angularEntries;
|
|
20159
|
+
const result = await mod.compileAngular(combinedAngularEntries, angularDir, hmr, styleTransformConfig);
|
|
20155
20160
|
if (hmr) {
|
|
20156
20161
|
try {
|
|
20157
20162
|
const { primeComponentFingerprint: primeComponentFingerprint2 } = await Promise.resolve().then(() => (init_fastHmrCompiler(), exports_fastHmrCompiler));
|
|
@@ -26984,5 +26989,5 @@ export {
|
|
|
26984
26989
|
build
|
|
26985
26990
|
};
|
|
26986
26991
|
|
|
26987
|
-
//# debugId=
|
|
26992
|
+
//# debugId=354E3DD08063F71164756E2164756E21
|
|
26988
26993
|
//# sourceMappingURL=build.js.map
|