@absolutejs/absolute 0.20.0-beta.160 → 0.20.0-beta.162
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 +14 -0
- package/changelog.json +28 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +155 -138
- package/dist/build.js.map +5 -4
- package/dist/cli/{index-55k7vn84.js → index-f82hvr9c.js} +65 -10
- package/dist/cli/index.js +3 -3
- package/dist/cli/{mobile-0r1y2hwc.js → mobile-2f54v4by.js} +1 -1
- package/dist/cli/{start-4rpdy8hg.js → start-0bx1rkx4.js} +1 -1
- package/dist/index.js +671 -654
- package/dist/index.js.map +5 -4
- package/dist/src/core/productionRuntime.d.ts +11 -0
- package/dist/src/plugins/headFallback.d.ts +1 -1
- package/dist/src/plugins/hmr.d.ts +9 -3
- package/package.json +9 -11
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BuildConfig } from '../../types/build';
|
|
2
|
+
export declare const PRODUCTION_RUNTIME_FILE = "absolute-runtime.json";
|
|
3
|
+
declare const RUNTIME_KEYS: readonly ["angularDirectory", "assetsDirectory", "astroDirectory", "emberDirectory", "htmlDirectory", "htmxDirectory", "images", "islands", "mobile", "openapi", "publicDirectory", "reactDirectory", "static", "svelteDirectory", "telemetry", "vueDirectory"];
|
|
4
|
+
export type ProductionRuntimeConfig = Pick<BuildConfig, (typeof RUNTIME_KEYS)[number]>;
|
|
5
|
+
export declare const productionRuntimeConfigOf: (config: BuildConfig) => ProductionRuntimeConfig;
|
|
6
|
+
export declare const writeProductionRuntime: (config: BuildConfig, buildDirectory: string) => void;
|
|
7
|
+
/** The build's runtime config, or null when this build has none (built by
|
|
8
|
+
* an older framework, or not through `absolute start`/`prepare`), in which
|
|
9
|
+
* case the caller loads absolute.config.ts as before. */
|
|
10
|
+
export declare const readProductionRuntime: (buildDirectory: string) => import("..").AbsoluteServiceConfig | null;
|
|
11
|
+
export {};
|
|
@@ -8,4 +8,4 @@ import type { AnyElysia } from 'elysia';
|
|
|
8
8
|
* and read that as down (absolutejs#76). An app's own `.head()` route still
|
|
9
9
|
* wins over this fallback.
|
|
10
10
|
*/
|
|
11
|
-
export declare const headFallback: <A extends AnyElysia>(app: A) => import("elysia/types").AddRoute<any, any, any, any, any, any, any, any, "head", "/*", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, any, `${any}/*`>, import("elysia/types").MergeScopedSchemas<any, any, any>>, {}, import("elysia/types").InlineHandlerNonMacro<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, any, `${any}/*`>, import("elysia/types").MergeScopedSchemas<any, any, any>>>, any>>;
|
|
11
|
+
export declare const headFallback: <A extends AnyElysia>(app: A) => import("elysia/types").AddRoute<any, any, any, any, any, any, any, any, "head", "/*", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, any, `${string}/*` | `${any}/*`>, import("elysia/types").MergeScopedSchemas<any, any, any>>, {}, import("elysia/types").InlineHandlerNonMacro<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, any, `${string}/*` | `${any}/*`>, import("elysia/types").MergeScopedSchemas<any, any, any>>>, any>>;
|
|
@@ -16,7 +16,9 @@ export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>,
|
|
|
16
16
|
} & {};
|
|
17
17
|
query: unknown;
|
|
18
18
|
headers: unknown;
|
|
19
|
-
response: {
|
|
19
|
+
response: {
|
|
20
|
+
200: Response | undefined;
|
|
21
|
+
};
|
|
20
22
|
error: never;
|
|
21
23
|
};
|
|
22
24
|
};
|
|
@@ -31,7 +33,9 @@ export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>,
|
|
|
31
33
|
} & {};
|
|
32
34
|
query: unknown;
|
|
33
35
|
headers: unknown;
|
|
34
|
-
response: {
|
|
36
|
+
response: {
|
|
37
|
+
200: Response | undefined;
|
|
38
|
+
};
|
|
35
39
|
error: never;
|
|
36
40
|
};
|
|
37
41
|
};
|
|
@@ -46,7 +50,9 @@ export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>,
|
|
|
46
50
|
} & {};
|
|
47
51
|
query: unknown;
|
|
48
52
|
headers: unknown;
|
|
49
|
-
response: {
|
|
53
|
+
response: {
|
|
54
|
+
200: Response | undefined;
|
|
55
|
+
};
|
|
50
56
|
error: never;
|
|
51
57
|
};
|
|
52
58
|
};
|
package/package.json
CHANGED
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
"@absolutejs/devices": "0.7.1",
|
|
15
15
|
"@absolutejs/devices-capacitor": "0.8.1",
|
|
16
16
|
"@absolutejs/http": "0.0.1",
|
|
17
|
-
"@absolutejs/pwa": "0.16.3",
|
|
17
|
+
"@absolutejs/pwa": ">=0.16.3 <0.18.0",
|
|
18
18
|
"@capacitor/browser": "8.0.4",
|
|
19
19
|
"@capacitor/filesystem": "8.1.3",
|
|
20
20
|
"@capacitor/keyboard": "8.0.5",
|
|
21
21
|
"@capacitor/network": "8.0.1",
|
|
22
22
|
"@capacitor/preferences": "8.0.1",
|
|
23
|
-
"@elysia/openapi": "2.0.0-rc.0",
|
|
24
|
-
"@elysia/server-timing": "2.0.0-rc.0",
|
|
25
|
-
"@elysia/static": "2.0.0-rc.0",
|
|
23
|
+
"@elysia/openapi": "^2.0.0-rc.0",
|
|
24
|
+
"@elysia/server-timing": "^2.0.0-rc.0",
|
|
25
|
+
"@elysia/static": "^2.0.0-rc.0",
|
|
26
26
|
"@tailwindcss/oxide": "^4.1.0",
|
|
27
|
-
"exact-mirror": "1.2.6",
|
|
27
|
+
"exact-mirror": ">=1.2.6 <2.0.0",
|
|
28
28
|
"jiti": "2.6.1",
|
|
29
|
-
"typebox": "1.3.16",
|
|
29
|
+
"typebox": ">=1.3.16 <2.0.0",
|
|
30
30
|
"web-vitals": "6.0.0",
|
|
31
31
|
"zustand": "^5.0.12"
|
|
32
32
|
},
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"autoprefixer": "10.4.21",
|
|
92
92
|
"bun-types": "1.4.2",
|
|
93
93
|
"content-tag": "^4.1.1",
|
|
94
|
-
"elysia": "2.0.0-rc.
|
|
94
|
+
"elysia": "2.0.0-rc.1",
|
|
95
95
|
"ember-source": "^6.12.0",
|
|
96
96
|
"eslint": "10.0.3",
|
|
97
97
|
"eslint-plugin-absolute": "0.11.16",
|
|
@@ -315,9 +315,7 @@
|
|
|
315
315
|
"overrides": {
|
|
316
316
|
"@sinclair/typebox": "0.34.52",
|
|
317
317
|
"@typescript-eslint/utils": "8.56.1",
|
|
318
|
-
"elysia": "2.0.0-rc.
|
|
319
|
-
"exact-mirror": "1.2.6",
|
|
320
|
-
"typebox": "1.3.16"
|
|
318
|
+
"elysia": "2.0.0-rc.1"
|
|
321
319
|
},
|
|
322
320
|
"peerDependencies": {
|
|
323
321
|
"@absolutejs/devices-expo": "0.0.12",
|
|
@@ -563,7 +561,7 @@
|
|
|
563
561
|
]
|
|
564
562
|
}
|
|
565
563
|
},
|
|
566
|
-
"version": "0.20.0-beta.
|
|
564
|
+
"version": "0.20.0-beta.162",
|
|
567
565
|
"workspaces": [
|
|
568
566
|
"tests/fixtures/*",
|
|
569
567
|
"tests/fixtures/_packages/*"
|