@absolutejs/absolute 0.20.0-beta.141 → 0.20.0-beta.144

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/changelog.json +40 -0
  3. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  4. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  5. package/dist/angular/index.js +2 -2
  6. package/dist/angular/index.js.map +3 -3
  7. package/dist/angular/server.js +2 -2
  8. package/dist/angular/server.js.map +3 -3
  9. package/dist/build.js +277 -196
  10. package/dist/build.js.map +23 -20
  11. package/dist/cli/{buildDepVendor-bpac1bhq.js → buildDepVendor-e2zz9x78.js} +5 -4
  12. package/dist/cli/{compile-grhs9tj4.js → compile-351tb63a.js} +2 -2
  13. package/dist/cli/config/server.js +1 -1
  14. package/dist/cli/{dev-4ps2yg1z.js → dev-d7nyd387.js} +22 -9
  15. package/dist/cli/{expoProject-kabqa80q.js → expoProject-f3eb0040.js} +1 -1
  16. package/dist/cli/index-6vpdsqa1.js +50 -0
  17. package/dist/cli/{index-h078vn9f.js → index-8s6w45zc.js} +1 -1
  18. package/dist/cli/{index-fezxjrgd.js → index-ezz88cdw.js} +1 -1
  19. package/dist/cli/{index-nrtt3x67.js → index-snz4z0tq.js} +21 -21
  20. package/dist/cli/index.js +5 -5
  21. package/dist/cli/{mobile-p657bkqa.js → mobile-dvahvjeh.js} +3 -3
  22. package/dist/cli/{start-3m7bd02e.js → start-09prwq60.js} +3 -3
  23. package/dist/client/chunks/{islands-eexr591d.js → islands-rc28k5sx.js} +7 -7
  24. package/dist/client/chunks/{islands-eexr591d.js.map → islands-rc28k5sx.js.map} +3 -3
  25. package/dist/client/index.js +2 -2
  26. package/dist/dev/serverBootstrap.js +64 -31
  27. package/dist/index.js +274 -193
  28. package/dist/index.js.map +24 -21
  29. package/dist/mobile/browser.js +1 -1
  30. package/dist/mobile/browser.js.map +3 -3
  31. package/dist/mobile/index.js +25 -25
  32. package/dist/mobile/index.js.map +6 -6
  33. package/dist/mobile/remoteMacAgentEntry.js +2 -2
  34. package/dist/react/index.js +2 -2
  35. package/dist/react/index.js.map +3 -3
  36. package/dist/react/server.js +2 -2
  37. package/dist/react/server.js.map +3 -3
  38. package/dist/src/build/importFromProject.d.ts +1 -0
  39. package/dist/src/build/workspacePackages.d.ts +2 -0
  40. package/dist/src/core/prepare.d.ts +256 -1063
  41. package/dist/src/dev/hot/plugin.d.ts +5 -0
  42. package/dist/src/dev/srcPath.d.ts +4 -0
  43. package/dist/src/mobile/nativePackages.d.ts +1 -1
  44. package/dist/src/plugins/hmr.d.ts +4 -1
  45. package/dist/svelte/index.js +2 -2
  46. package/dist/svelte/index.js.map +3 -3
  47. package/dist/svelte/server.js +2 -2
  48. package/dist/svelte/server.js.map +3 -3
  49. package/dist/vue/index.js +2 -2
  50. package/dist/vue/index.js.map +3 -3
  51. package/dist/vue/server.js +2 -2
  52. package/dist/vue/server.js.map +3 -3
  53. package/package.json +13 -13
  54. package/dist/cli/index-65kqn88a.js +0 -8
@@ -6,6 +6,10 @@ type HotPluginOptions = {
6
6
  /** Directories whose files are never managed (framework pages, build
7
7
  * output, assets). */
8
8
  excludedDirs: string[];
9
+ /** The app's own workspace packages: source outside `root` that the
10
+ * server imports, edited in place like the app's own files instead of
11
+ * restarting the server. */
12
+ extraRoots?: string[];
9
13
  };
10
14
  type Analysis = HotModuleAnalysis | HotModuleRejection;
11
15
  type InstalledOptions = HotPluginOptions & {
@@ -28,6 +32,7 @@ export declare const analyzeSource: (canonicalPath: string, source: string) => P
28
32
  * CommonJS package served as module source loses its named exports — so
29
33
  * everything unmanaged must not match at all. */
30
34
  export declare const installHotModulePlugin: (options: HotPluginOptions) => Promise<boolean>;
35
+ /** A filter for the app's files and its workspace packages' files. */
31
36
  export declare const managedFilter: (options: HotPluginOptions & {
32
37
  root: string;
33
38
  }) => RegExp;
@@ -0,0 +1,4 @@
1
+ /** `@up/core/x.ts` → `../core/x.ts`, for resolving against the app folder. */
2
+ export declare const decodeSrcPath: (srcPath: string) => string;
3
+ /** `../core/x.ts` → `@up/core/x.ts`; a path inside the app is unchanged. */
4
+ export declare const encodeSrcPath: (relativePath: string) => string;
@@ -1,5 +1,5 @@
1
1
  export declare const ABSOLUTE_CAPACITOR_DEVICES_VERSION = "0.8.0";
2
- export declare const ABSOLUTE_CAPACITOR_SYNC_VERSION = "0.9.3";
2
+ export declare const ABSOLUTE_CAPACITOR_SYNC_VERSION = "0.9.4";
3
3
  export declare const ABSOLUTE_DEVICES_VERSION = "0.7.1";
4
4
  export declare const ABSOLUTE_EXPO_DEVICES_VERSION = "0.0.12";
5
5
  export declare const ABSOLUTE_NATIVE_EXACT_PACKAGES: Set<string>;
@@ -70,7 +70,10 @@ export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>,
70
70
  };
71
71
  } & {
72
72
  hmr: {
73
- subscribe: import("elysia/types").CreateWSEdenResponse<"/hmr", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, "/hmr">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, import("elysia/types").ComposeElysiaResponse<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, "/hmr">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, void, {}, [], "/hmr">>;
73
+ subscribe: import("elysia/types").CreateWSEdenResponse<"/hmr", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never> & {
74
+ beforeHandle?: unknown;
75
+ error?: unknown;
76
+ }, {}, "/hmr">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, {}>;
74
77
  };
75
78
  }, import("elysia").DefaultEphemeral, {
76
79
  derive: {};
@@ -1479,7 +1479,7 @@ var init_requestContext = __esm(() => {
1479
1479
  PAGE_WARMER_KEY = Symbol.for("absolutejs.devPageWarmer");
1480
1480
  absoluteRequestContext = new Elysia2({
1481
1481
  name: "absolutejs-request-context"
1482
- }).request(({ request }) => {
1482
+ }).onRequest(({ request }) => {
1483
1483
  ensureRequestStorage().enterWith({ request });
1484
1484
  }).as("global");
1485
1485
  CSS_KEY_RE = /(?:CSS|Css)$/;
@@ -5093,5 +5093,5 @@ export {
5093
5093
  useIslandStore
5094
5094
  };
5095
5095
 
5096
- //# debugId=799215E415EADB7064756E2164756E21
5096
+ //# debugId=AA35F99AD271EA8664756E2164756E21
5097
5097
  //# sourceMappingURL=index.js.map