@absolutejs/absolute 0.20.0-beta.144 → 0.20.0-beta.146
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/CHANGELOG.md +24 -0
- package/changelog.json +37 -0
- package/dist/angular/browser.js.map +2 -2
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js.map +8 -8
- package/dist/angular/server.js.map +7 -7
- package/dist/build.js +22 -15
- package/dist/build.js.map +44 -44
- package/dist/cli/{buildDepVendor-e2zz9x78.js → buildDepVendor-g49s8rr1.js} +1 -1
- package/dist/cli/{dev-d7nyd387.js → dev-4qz8gk8x.js} +3 -3
- package/dist/cli/fmt-819g837b.js +20 -0
- package/dist/cli/{index-cc8eay5y.js → index-1ksy2h3r.js} +4 -4
- package/dist/cli/{index-6vpdsqa1.js → index-3ff5ztt3.js} +5 -1
- package/dist/cli/index.js +9 -4
- package/dist/cli/{patchedBun-541bbnee.js → patchedBun-r3ykvvwz.js} +1 -1
- package/dist/client/index.js.map +3 -3
- package/dist/dev/client/handlers/angularHmrShim.ts +1 -2
- package/dist/dev/serverBootstrap.js +5 -1
- package/dist/index.js +22 -15
- package/dist/index.js.map +45 -45
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js.map +5 -5
- package/dist/mobile/browser.js.map +2 -2
- package/dist/mobile/index.js.map +11 -11
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/index.js.map +3 -3
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js.map +7 -7
- package/dist/react/server.js.map +3 -3
- package/dist/src/cli/patchedBun.d.ts +5 -4
- package/dist/src/cli/scripts/fmt.d.ts +1 -0
- package/dist/src/core/prepare.d.ts +9 -922
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js.map +8 -8
- package/dist/svelte/server.js.map +6 -6
- package/dist/types/globals.d.ts +9 -18
- package/dist/types/svelteRouter.ts +1 -2
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/index.js.map +8 -8
- package/dist/vue/server.js.map +4 -4
- package/package.json +3 -3
- /package/dist/cli/{add-a33ashpx.js → add-kwyqxccz.js} +0 -0
- /package/dist/cli/{doctor-f13ntk9a.js → doctor-4nv2c2j3.js} +0 -0
package/dist/build.js
CHANGED
|
@@ -22383,9 +22383,7 @@ export default PageComponent;
|
|
|
22383
22383
|
minify: false,
|
|
22384
22384
|
naming: `${baseName}.js`,
|
|
22385
22385
|
outdir: serverDir,
|
|
22386
|
-
plugins: [
|
|
22387
|
-
createEmberServerResolverPlugin(cwd, { stagedSourceMap })
|
|
22388
|
-
],
|
|
22386
|
+
plugins: [createEmberServerResolverPlugin(cwd, { stagedSourceMap })],
|
|
22389
22387
|
target: "bun",
|
|
22390
22388
|
throw: false
|
|
22391
22389
|
});
|
|
@@ -23869,7 +23867,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
23869
23867
|
root: dirname25(source),
|
|
23870
23868
|
target: "bun",
|
|
23871
23869
|
throw: false,
|
|
23872
|
-
|
|
23870
|
+
...projectTsconfig()
|
|
23873
23871
|
});
|
|
23874
23872
|
if (!result.success) {
|
|
23875
23873
|
outputLogs(result.logs);
|
|
@@ -24163,7 +24161,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
24163
24161
|
sourcemap: isDev ? "inline" : "none",
|
|
24164
24162
|
target: "bun",
|
|
24165
24163
|
throw: false,
|
|
24166
|
-
|
|
24164
|
+
...projectTsconfig()
|
|
24167
24165
|
}, resolveBunBuildOverride(bunBuildConfig, "server")))) : undefined,
|
|
24168
24166
|
reactBuildConfig ? tracePhase("bun/react-client", () => bunBuild7(reactBuildConfig)) : undefined,
|
|
24169
24167
|
nonReactClientEntryPoints.length > 0 ? tracePhase("bun/non-react-client", () => bunBuild7(mergeBunBuildConfig({
|
|
@@ -24194,7 +24192,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
24194
24192
|
splitting: true,
|
|
24195
24193
|
target: "browser",
|
|
24196
24194
|
throw: false,
|
|
24197
|
-
|
|
24195
|
+
...projectTsconfig()
|
|
24198
24196
|
}, resolveBunBuildOverride(bunBuildConfig, "nonReactClient")))) : undefined,
|
|
24199
24197
|
urlReferencedFiles.length > 0 ? tracePhase("bun/worker-client", () => bunBuild7(mergeBunBuildConfig({
|
|
24200
24198
|
conditions: svelteResolveConditions,
|
|
@@ -24210,7 +24208,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
24210
24208
|
splitting: !isDev,
|
|
24211
24209
|
target: "browser",
|
|
24212
24210
|
throw: false,
|
|
24213
|
-
|
|
24211
|
+
...projectTsconfig()
|
|
24214
24212
|
}, resolveBunBuildOverride(bunBuildConfig, "nonReactClient")))) : undefined,
|
|
24215
24213
|
islandClientEntryPoints.length > 0 ? tracePhase("bun/island-client", () => bunBuild7(mergeBunBuildConfig({
|
|
24216
24214
|
banner: pwaArtifacts?.bootstrapBanner,
|
|
@@ -24239,7 +24237,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
24239
24237
|
splitting: !isDev,
|
|
24240
24238
|
target: "browser",
|
|
24241
24239
|
throw: false,
|
|
24242
|
-
|
|
24240
|
+
...projectTsconfig()
|
|
24243
24241
|
}, resolveBunBuildOverride(bunBuildConfig, "islandClient")))) : undefined,
|
|
24244
24242
|
globalCssEntries.length > 0 ? tracePhase("bun/global-css", () => bunBuild7(mergeBunBuildConfig({
|
|
24245
24243
|
entrypoints: globalCssEntries,
|
|
@@ -24674,7 +24672,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
|
|
|
24674
24672
|
pageEntries,
|
|
24675
24673
|
tailwindChanged: tailwindResult?.cssChanged ?? false
|
|
24676
24674
|
};
|
|
24677
|
-
}, build = async (config) => {
|
|
24675
|
+
}, projectTsconfig = () => existsSync34(resolve33("tsconfig.json")) ? { tsconfig: "./tsconfig.json" } : {}, build = async (config) => {
|
|
24678
24676
|
const projectRoot = cwd();
|
|
24679
24677
|
const buildPath = validateSafePath(config.buildDirectory ?? "build", projectRoot);
|
|
24680
24678
|
return withBuildDirectoryLock(buildPath, () => buildUnlocked(config));
|
|
@@ -24843,7 +24841,9 @@ export const importSync = (specifier) => {
|
|
|
24843
24841
|
"@glimmer/env",
|
|
24844
24842
|
"@simple-dom/serializer"
|
|
24845
24843
|
]);
|
|
24846
|
-
build.onResolve({ filter: /^@embroider\/macros$/ }, () => ({
|
|
24844
|
+
build.onResolve({ filter: /^@embroider\/macros$/ }, () => ({
|
|
24845
|
+
path: macrosShimPath
|
|
24846
|
+
}));
|
|
24847
24847
|
build.onResolve({ filter: /^@(?:ember|glimmer|simple-dom)\// }, (args) => {
|
|
24848
24848
|
if (standalonePackages.has(args.path)) {
|
|
24849
24849
|
return;
|
|
@@ -24932,7 +24932,11 @@ var NODE_MODULES_SEGMENT, verdicts, isWorkspacePackageSpecifier = (specifier, pr
|
|
|
24932
24932
|
} catch {
|
|
24933
24933
|
return [];
|
|
24934
24934
|
}
|
|
24935
|
-
const names = [
|
|
24935
|
+
const names = [
|
|
24936
|
+
"dependencies",
|
|
24937
|
+
"devDependencies",
|
|
24938
|
+
"optionalDependencies"
|
|
24939
|
+
].flatMap((field) => {
|
|
24936
24940
|
const deps = manifest[field];
|
|
24937
24941
|
return deps && typeof deps === "object" ? Object.keys(deps) : [];
|
|
24938
24942
|
});
|
|
@@ -31448,7 +31452,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31448
31452
|
const { serverTiming } = await import("@elysia/server-timing");
|
|
31449
31453
|
const mobileDevPlugin = await loadMobileDevPlugin(config.mobile);
|
|
31450
31454
|
const mobileUpdatePlugin = await loadMobileUpdatePlugin(config.mobile, false);
|
|
31451
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31455
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31456
|
+
absolutejs.use(requestInspector).use(absoluteRequestContext).use(serverTiming()).use(devtoolsJson(buildDir, {
|
|
31452
31457
|
normalizeForWindowsContainer: config.dev?.devtools?.normalizeForWindowsContainer,
|
|
31453
31458
|
projectRoot: config.dev?.devtools?.projectRoot,
|
|
31454
31459
|
uuid: config.dev?.devtools?.uuid,
|
|
@@ -31639,7 +31644,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31639
31644
|
});
|
|
31640
31645
|
stepStartedAt = performance.now();
|
|
31641
31646
|
await Promise.resolve().then(() => init_imageOptimizer());
|
|
31642
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31647
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31648
|
+
absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(prerenderPlugin).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
|
|
31643
31649
|
await withOpenApi(absolutejs, config, process.cwd(), false);
|
|
31644
31650
|
await withTelemetry(absolutejs, config, process.cwd());
|
|
31645
31651
|
recordStep("assemble production runtime", stepStartedAt);
|
|
@@ -31648,7 +31654,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31648
31654
|
}
|
|
31649
31655
|
stepStartedAt = performance.now();
|
|
31650
31656
|
await Promise.resolve().then(() => init_imageOptimizer());
|
|
31651
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31657
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31658
|
+
absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
|
|
31652
31659
|
await withOpenApi(absolutejs, config, process.cwd(), false);
|
|
31653
31660
|
await withTelemetry(absolutejs, config, process.cwd());
|
|
31654
31661
|
recordStep("assemble production runtime", stepStartedAt);
|
|
@@ -37827,5 +37834,5 @@ export {
|
|
|
37827
37834
|
devBuild
|
|
37828
37835
|
};
|
|
37829
37836
|
|
|
37830
|
-
//# debugId=
|
|
37837
|
+
//# debugId=9218616736C2687B64756E2164756E21
|
|
37831
37838
|
//# sourceMappingURL=build.js.map
|