@powerhousedao/builder-tools 6.2.3-dev.66 → 6.2.3-dev.67

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/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- import { DYNAMIC_BASE_PLACEHOLDER } from "@powerhousedao/shared/connect";
2
1
  import { Alias, CommonServerOptions, HtmlTagDescriptor, InlineConfig, Plugin, PluginOption } from "vite";
2
+ import { GeneratorPlugin } from "@tanstack/router-generator";
3
+ import { DYNAMIC_BASE_PLACEHOLDER } from "@powerhousedao/shared/connect";
3
4
  import { PowerhouseConfig, PowerhousePackage } from "@powerhousedao/config";
4
5
  import { PHConnectRuntimeConfig, PowerhouseConfig as PowerhouseConfig$1 } from "@powerhousedao/shared/clis";
5
6
  //#region connect-utils/constants.d.ts
@@ -17,19 +18,64 @@ export type AppShell = {
17
18
  /** Critical CSS and the pre-paint guard, for `<head>`. */
18
19
  head: string;
19
20
  };
21
+ /** `generic`: Connect's chrome. `core`: core's views, for a composition without the generic plugin. */
22
+ export type AppShellVariant = "generic" | "core";
23
+ export type AppShells = Partial<Record<AppShellVariant, AppShell>>;
24
+ /** Each plugin specifier Connect ships a shell for, to the variant it picks. */
25
+ export type ShellPlugins = Record<string, AppShellVariant>;
26
+ /** In Connect's dist, and copied to a project's: the plugins that pick a shell. */
27
+ export declare const SHELL_PLUGINS_FILE = "shell-plugins.json";
28
+ /** In a project's dist: every variant, for a server that swaps the shell to the served composition. */
29
+ export declare const APP_SHELLS_FILE = "app-shells.json";
30
+ /** The shell of the composition's first plugin that has one, else core's; no composition is classic.
31
+ * Without `plugins` (an older Connect): core for a composition, generic for classic. */
32
+ export declare function appShellVariant(composition: readonly {
33
+ module: string;
34
+ }[] | null | undefined, plugins: ShellPlugins | undefined): AppShellVariant;
35
+ /** The plugins' shell manifest in `dir`, if there is a valid one. */
36
+ export declare function readShellPluginsIn(dir: string): ShellPlugins | undefined;
37
+ /** The shell manifest of the installed Connect, if it ships one. */
38
+ export declare function readShellPlugins(projectRoot: string): ShellPlugins | undefined;
20
39
  /** The shell Connect's build prerendered, if the installed Connect ships one. */
21
- export declare function readAppShell(projectRoot: string): AppShell | undefined;
40
+ export declare function readAppShell(projectRoot: string, variant?: AppShellVariant): AppShell | undefined;
41
+ /** Every variant the installed Connect ships. */
42
+ export declare function readAppShells(projectRoot: string): AppShells;
22
43
  /** On the boot-recovery script; its sessionStorage key guards against reload loops. */
23
44
  export declare const BOOT_RECOVER_MARKER = "data-ph-boot-recover";
24
45
  export declare const BOOT_RECOVER_KEY = "ph:sw-recover";
25
46
  export declare const BOOT_RECOVER_SCRIPT: string;
26
47
  /** Prefixes the shell's root-relative links with the deploy base. */
27
48
  export declare function rebaseShellLinks(body: string, base: string): string;
28
- /** Inlines `shell` into an empty `#root`, adds its critical CSS and defers the
29
- * stylesheets; React replaces the markup when the app renders. */
30
- export declare function injectAppShell(html: string, shell: AppShell, base?: string): string;
31
- /** Build only: dev keeps the empty root and blocking CSS for HMR. */
32
- export declare function connectAppShellPlugin(projectRoot: string): Plugin;
49
+ /** The app's title without `connect.branding.appName`; core's `appTitle` fallback. */
50
+ export declare const DEFAULT_APP_NAME = "Connect";
51
+ /** Fills the shell's app name as the app resolves it: the branding name, else the default. */
52
+ export declare function withShellAppName(html: string, appName: string | undefined): string;
53
+ /** Inlines `shell` into an empty `#root`, adds its critical CSS and, unless
54
+ * `deferStyles` is false, defers the stylesheets; React replaces the markup when the app renders. */
55
+ export declare function injectAppShell(html: string, shell: AppShell, base?: string, { deferStyles, appName }?: {
56
+ deferStyles?: boolean;
57
+ appName?: string;
58
+ }): string;
59
+ /** The variant an index.html carries, from its shell's marker value. */
60
+ export declare function appShellVariantOf(html: string): AppShellVariant | undefined;
61
+ /** Replaces the shell an index.html carries with `shell`, titled `appName`; a page without one is unchanged. */
62
+ export declare function swapAppShell(html: string, shell: AppShell, base?: string, appName?: string): string;
63
+ export type ConnectAppShellOptions = {
64
+ /** The composition the app boots with; picks the variant. */
65
+ composition?: readonly {
66
+ module: string;
67
+ }[] | null;
68
+ /** The served `connect.branding.appName`. */
69
+ appName?: string;
70
+ /** With the project's routes: the aliases that point Connect at its tree. */
71
+ routeAliases?: Alias[];
72
+ /** The project's routes folder; dev renders the shell again when it changes. */
73
+ routesDir?: string;
74
+ };
75
+ /** Build: the composition's shell in #root and every variant in the dist, from
76
+ * the project's routes when it has them. Dev: the shell from the project's routes
77
+ * when it has them, else core's for a core composition. */
78
+ export declare function connectAppShellPlugin(projectRoot: string, { composition, appName, routeAliases, routesDir }?: ConnectAppShellOptions): Plugin;
33
79
  //#endregion
34
80
  //#region connect-utils/vite-plugins/build-hash.d.ts
35
81
  /** Name of the build-identity file emitted into the build output. */
@@ -89,19 +135,35 @@ export declare const HOST_ROUTES_DIR = "hosts/connect/routes";
89
135
  export declare const CONNECT_ROUTES_GEN = ".ph/connect-routes.gen.ts";
90
136
  /** Connect's dist imports its route tree by this specifier. */
91
137
  export declare const ROUTE_TREE_SPECIFIER = "@powerhousedao/connect/route-tree";
92
- /** The project's routes folder, `hosts/connect/routes/`; undefined if none. */
93
- export declare function resolveConnectRoutesDir(projectRoot: string): string | undefined;
138
+ /** Core's types name the app's tree by this one; both resolve to one tree. */
139
+ export declare const CORE_ROUTE_TREE_SPECIFIER = "@powerhousedao/connect-core/route-tree";
140
+ /** A host's routes folder: `routes` (a host's `runner.routes`), relative to the
141
+ * project, else `hosts/connect/routes/`; undefined if none or `false`. */
142
+ export declare function resolveConnectRoutesDir(projectRoot: string, routes?: string | false): string | undefined;
143
+ /** The tree generated from `routesDir`: `.ph/connect-routes.gen.ts` for
144
+ * `hosts/connect/routes/`, else `.ph/<folder>.gen.ts`. */
145
+ export declare function connectRoutesTreeOf(projectRoot: string, routesDir: string): string;
94
146
  /** Connect's pathless sidebar layout; a project's routes in `_app/` render in it. */
95
147
  export declare const APP_LAYOUT = "_app";
96
148
  export type ConnectRoutes = {
97
- /** Points Connect at the tree to route with. */
98
- alias: Alias;
149
+ /** Points Connect at the tree to route with, then at what its route files render. */
150
+ aliases: Alias[];
99
151
  /** The router plugin, only when the project has routes. */
100
152
  plugins: PluginOption[];
101
153
  /** Connect's route files and the project's share one router. */
102
154
  dedupe: string[];
103
155
  };
104
- /** The router plugin's config: Connect's root, its core routes and the project's. */
156
+ /** Connect's route files: core's routes with Connect's views. */
157
+ export declare function connectRoutesDirOf(connectDir: string): string;
158
+ /** A route file's id below its folder: route groups and `route` files
159
+ * resolved, flat `a.b` names read as folders. */
160
+ export declare function routeIdOf(file: string): string;
161
+ /** Connect's `_app/` route files that a project file at the same id replaces. */
162
+ export declare function overriddenConnectRoutes(connectAppDir: string, projectAppDir: string): Set<string>;
163
+ /** The routes a package offers other Connects, as `ph build` publishes them
164
+ * (`./connect-routes`); generated beside the route tree. */
165
+ export declare const PACKAGE_ROUTES_MODULE = ".ph/connect-routes.package.ts";
166
+ /** The router plugin's config: Connect's root and routes, and the project's. */
105
167
  export declare function connectRoutesGeneratorConfig(connectDir: string, projectRoot: string, projectRoutes: string): {
106
168
  target: "react" | "solid" | "vue";
107
169
  virtualRouteConfig?: string | import("@tanstack/virtual-file-routes").VirtualRootRoute | undefined;
@@ -135,12 +197,12 @@ export declare function connectRoutesGeneratorConfig(connectDir: string, project
135
197
  experimental?: {
136
198
  enableCodeSplitting?: boolean | undefined;
137
199
  } | undefined;
138
- plugins?: import("@tanstack/router-generator").GeneratorPlugin[] | undefined;
200
+ plugins?: GeneratorPlugin[] | undefined;
139
201
  tmpDir: string;
140
202
  importRoutesUsingAbsolutePaths: boolean;
141
203
  };
142
204
  /** Writes the route tree of Connect's and the project's routes; throws on a
143
- * collision with a core route, which the router plugin would only log. */
205
+ * collision that is not an override, which the router plugin would only log. */
144
206
  export declare function generateConnectRoutes(projectRoot: string, routesDir: string, config?: {
145
207
  target: "react" | "solid" | "vue";
146
208
  virtualRouteConfig?: string | import("@tanstack/virtual-file-routes").VirtualRootRoute | undefined;
@@ -174,20 +236,21 @@ export declare function generateConnectRoutes(projectRoot: string, routesDir: st
174
236
  experimental?: {
175
237
  enableCodeSplitting?: boolean | undefined;
176
238
  } | undefined;
177
- plugins?: import("@tanstack/router-generator").GeneratorPlugin[] | undefined;
239
+ plugins?: GeneratorPlugin[] | undefined;
178
240
  tmpDir: string;
179
241
  importRoutesUsingAbsolutePaths: boolean;
180
242
  }): Promise<void>;
181
- /** Connect's route files, as the generated tree imports them. */
243
+ /** Connect's route files, as the generated tree imports them: by Connect's
244
+ * package name, which a project depends on. */
182
245
  export declare const CONNECT_ROUTES_SPECIFIER = "@powerhousedao/connect/routes";
183
246
  /** Generates the tree when the project has routes, else drops a stale one. */
184
247
  export declare function syncConnectRoutes(projectRoot: string, routesDir?: string | undefined): Promise<void>;
185
- /** Mounts a project's routes folder beside Connect's core routes; without one,
186
- * Connect keeps its prebuilt core tree and no router plugin runs. */
187
- export declare function connectRoutes(projectRoot: string, routesDir?: string | undefined): ConnectRoutes;
248
+ /** Mounts a project's routes folder over Connect's routes; without one,
249
+ * Connect keeps its prebuilt tree and no router plugin runs. */
250
+ export declare function connectRoutes(projectRoot: string, routesDir?: string | false | undefined): ConnectRoutes;
188
251
  /** One chunk for the router and the project's route configs, which the split
189
252
  * route components would otherwise spread over several shared chunks. */
190
- export declare function connectRouterChunkGroups(routesDir?: string): ({
253
+ export declare function connectRouterChunkGroups(routesDir?: string | false): ({
191
254
  name: string;
192
255
  test: RegExp;
193
256
  priority: number;
@@ -237,6 +300,9 @@ export interface VendorPrebuildOptions {
237
300
  * the dev server's single React instance via the import map.
238
301
  */
239
302
  export declare const DEFAULT_VENDOR_INCLUDE: string[];
303
+ /** Never vendored: the route tree is the project's, the config path the app's
304
+ * base, and SSR server-only. */
305
+ export declare const VENDOR_SKIP_SUBPATHS: Set<string>;
240
306
  /**
241
307
  * React-family specifiers kept external to the vendor build. The vendor's chunks
242
308
  * emit bare imports for these; `devReactImportmapPlugin`'s import map resolves
@@ -555,6 +621,9 @@ export type IConnectOptions = {
555
621
  cliPackageRegistryUrl?: string;
556
622
  dynamicBase?: boolean;
557
623
  favicon?: string;
624
+ /** The routes folder, relative to the project (a host's `runner.routes`);
625
+ * `false` for none. Default: `hosts/connect/routes/` when it exists. */
626
+ routes?: string | false;
558
627
  /**
559
628
  * Production vendor: the prebuilt shared-dependency bundle's import map and
560
629
  * version table (from `prebuildConnectVendor`). When set on a production
@@ -729,6 +798,10 @@ export declare const runtimeConfigSchema: {
729
798
  readonly type: readonly ["string", "null"];
730
799
  readonly description: "Hero image on the empty home screen. URL or path to override; null or omitted uses the bundled default image.";
731
800
  };
801
+ readonly favicon: {
802
+ readonly type: readonly ["string", "null"];
803
+ readonly description: "The browser tab icon: a file (.ico, .svg or .png) relative to the project, served and built as icon.ico. A build input; the built runtime config leaves it out. `ph connect build --favicon` wins over it.";
804
+ };
732
805
  };
733
806
  };
734
807
  readonly app: {
@@ -1487,7 +1560,15 @@ export type PhConfigPluginOptions = {
1487
1560
  };
1488
1561
  /** `html` with its `<title>` text set to `appName`, when one is configured. */
1489
1562
  export declare function withAppTitle(html: string, appName: string | undefined): string;
1490
- export declare function phConfigPlugin(options: PhConfigPluginOptions): Plugin;
1563
+ type PhConfigApi = {
1564
+ connect: PHConnectRuntimeConfig;
1565
+ favicon?: string;
1566
+ };
1567
+ /** `api.connect`: the connect config the app is served, for plugins that render
1568
+ * ahead of it; `api.favicon`: its `branding.favicon`, which it leaves out. */
1569
+ export declare function phConfigPlugin(options: PhConfigPluginOptions): Plugin<PhConfigApi> & {
1570
+ api: PhConfigApi;
1571
+ };
1491
1572
  //#endregion
1492
1573
  //#region connect-utils/vite-plugins/theme-boot.d.ts
1493
1574
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../connect-utils/constants.ts","../connect-utils/vite-plugins/app-shell.ts","../connect-utils/vite-plugins/build-hash.ts","../connect-utils/vite-plugins/connect-routes.ts","../connect-utils/externalize-vendor.ts","../connect-utils/reactor-worker-build.ts","../connect-utils/worker-packages-build.ts","../connect-utils/types.ts","../connect-utils/helpers.ts","../connect-utils/runtime-config-schema.ts","../connect-utils/vite-config.ts","../connect-utils/vite-plugins/dynamic-base.ts","../connect-utils/vite-plugins/ph-config.ts","../connect-utils/vite-plugins/theme-boot.ts","../connect-utils/vite-plugins/vendor-import-map.ts"],"mappings":";;;;;qBAAa;qBACA;qBACA;qBACA;;;;qBCGA;YAED;;EAEV;;EAEA;;;wBAIc,aAAa,sBAAsB;;qBAsBtC;qBACA;qBAIA;;wBAwBG,iBAAiB,cAAc;;;wBAkB/B,eAAe,cAAc,OAAO,UAAU;;wBAe9C,sBAAsB,sBAAsB;;;;qBC9F/C;iBAEI;;EAEf;;EAEA;;;EAGA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;wBAWc,iBAAiB,OAAO;wBAyCxB,0BAA0B;EACxC;EACA;EACA,UAAU;IACR;IACA;IACA;;EAEF;EACA;EACA;;;;;;;;wBAsBc,uBAAuB,oBAAoB;;;;qBC9F9C;;qBAEA;;qBAEA;;wBAGG,wBACd;;qBAOW;YAQD;;EAEV,OAAO;;EAEP,SAAS;;EAET;;;wBAIc,6BACd,oBACA,qBACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+CoB,sBACpB,qBACA,mBACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIC;;qBAwBU;;wBAoCS,kBACpB,qBACA,iCAAgD;;;wBAiBlC,cACd,qBACA,iCACC;;;wBAqCa,yBAAyB;;QAAzB;;;;;EAaC,OAAA;;;;iBC1LA;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;IAAa;;;;;;;;;;;;EAWb;;EAEA;;;EAGA;IAAY;IAAiB;;;;;;;;qBAQlB;;;;;;qBAcA;iBAYI;EACf;;EAEA,SAAS;;EAET,UAAU;;EAEV;;;qBAIW;;;;;;wBAWS,sBACpB,SAAS,wBACR,QAAQ;wBAwIK,iBAAiB;wBA8G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ugins/build-hash.ts","../connect-utils/vite-plugins/connect-routes.ts","../connect-utils/externalize-vendor.ts","../connect-utils/reactor-worker-build.ts","../connect-utils/worker-packages-build.ts","../connect-utils/types.ts","../connect-utils/helpers.ts","../connect-utils/runtime-config-schema.ts","../connect-utils/vite-config.ts","../connect-utils/vite-plugins/dynamic-base.ts","../connect-utils/vite-plugins/ph-config.ts","../connect-utils/vite-plugins/theme-boot.ts","../connect-utils/vite-plugins/vendor-import-map.ts"],"mappings":";;;;;;qBAAa;qBACA;qBACA;qBACA;;;;qBCKA;YAED;;EAEV;;EAEA;;;YAIU;YAEA,YAAY,QAAQ,OAAO,iBAAiB;;YAG5C,eAAe,eAAe;;qBAG7B;;qBAGA;;;wBASG,gBACd;EAAwB;wBACxB,SAAS,2BACR;;wBAuBa,mBAAmB,cAAc;;wBAqBjC,iBACd,sBACC;;wBAMa,aACd,qBACA,UAAS,kBACR;;wBAaa,cAAc,sBAAsB;;qBAUvC;qBACA;qBAIA;;wBAwBG,iBAAiB,cAAc;;qBAuBlC;;wBASG,iBAAiB,cAAc;;;wBAS/B,eACd,cACA,OAAO,UACP,iBAEE,aACA;EACG;EAAuB;;;wBAkBd,kBAAkB,eAAe;;wBAQjC,aACd,cACA,OAAO,UACP,eACA;YASU;;EAEV;IAAyB;;;EAEzB;;EAEA,eAAe;;EAEf;;;;;wBAgDc,sBACd,uBAEE,aACA,SACA,cACA,cACC,yBACF;;;;qBCrSU;iBAEI;;EAEf;;EAEA;;;EAGA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;wBAWc,iBAAiB,OAAO;wBAyCxB,0BAA0B;EACxC;EACA;EACA,UAAU;IACR;IACA;IACA;;EAEF;EACA;EACA;;;;;;;;wBAsBc,uBAAuB,oBAAoB;;;;qBCrF9C;;qBAEA;;qBAEA;;qBAEA;;;wBASG,wBACd,qBACA;;;wBAmBc,oBAAoB,qBAAqB;;qBAQ5C;YAQD;;EAEV,SAAS;;EAET,SAAS;;EAET;;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