brumate 0.4.4 → 0.5.1
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/{boot-D3NjfyUX.d.ts → boot-Difa0qdg.d.ts} +2 -8
- package/dist/cli.js +2 -2
- package/dist/{client-iZ9a1Nut.js → client-BYHGusTe.js} +990 -369
- package/dist/client-BYHGusTe.js.map +1 -0
- package/dist/{client-DNva05jp.d.ts → client-DvsU9qxG.d.ts} +107 -23
- package/dist/{defer-DP7dMS2y.js → defer-B63oF5Oa.js} +2 -2
- package/dist/{defer-DP7dMS2y.js.map → defer-B63oF5Oa.js.map} +1 -1
- package/dist/{devtools-BJB_MMeL.js → devtools-D_SQpXTg.js} +4 -4
- package/dist/{devtools-BJB_MMeL.js.map → devtools-D_SQpXTg.js.map} +1 -1
- package/dist/{devtools-panel-CUV6A4ZE.js → devtools-panel-B9yokst5.js} +2 -2
- package/dist/{devtools-panel-CUV6A4ZE.js.map → devtools-panel-B9yokst5.js.map} +1 -1
- package/dist/{features-CHY5Ekku.js → features-D5kLyihb.js} +19 -2
- package/dist/features-D5kLyihb.js.map +1 -0
- package/dist/{files-BZRjz9Mx.js → files-s4wmjcZV.js} +2 -2
- package/dist/{files-BZRjz9Mx.js.map → files-s4wmjcZV.js.map} +1 -1
- package/dist/index.d.ts +1 -8
- package/dist/index.js +1 -1
- package/dist/{inspect-BLOdfj7o.js → inspect-BLPt-dZZ.js} +891 -142
- package/dist/inspect-BLPt-dZZ.js.map +1 -0
- package/dist/{loader-CheV6t0N.js → loader-DKxhLjJw.js} +4 -4
- package/dist/{loader-CheV6t0N.js.map → loader-DKxhLjJw.js.map} +1 -1
- package/dist/{navigate-CfOr-TRF.js → navigate-BcV1qkkx.js} +2 -2
- package/dist/navigate-BcV1qkkx.js.map +1 -0
- package/dist/{produce-DS-dQaUX.js → produce-Cq6KKi7b.js} +2 -2
- package/dist/{produce-DS-dQaUX.js.map → produce-Cq6KKi7b.js.map} +1 -1
- package/dist/{rpc-DvTwGfL_.js → rpc-CIVU4Ktx.js} +5 -5
- package/dist/rpc-CIVU4Ktx.js.map +1 -0
- package/dist/runtime/bundles.d.ts +9 -0
- package/dist/runtime/bundles.js +60 -0
- package/dist/runtime/bundles.js.map +1 -0
- package/dist/runtime/client.d.ts +2 -2
- package/dist/runtime/client.js +3 -3
- package/dist/runtime/devtools.d.ts +1 -1
- package/dist/runtime/devtools.js +1 -1
- package/dist/runtime/hot.d.ts +1 -1
- package/dist/runtime/loader.d.ts +2 -2
- package/dist/runtime/loader.js +2 -2
- package/dist/runtime/server.d.ts +3 -3
- package/dist/runtime/server.js +4 -4
- package/dist/runtime/static-loader.d.ts +2 -2
- package/dist/runtime/static-loader.js +1 -1
- package/dist/runtime/testing.d.ts +2 -2
- package/dist/runtime/testing.js +2 -2
- package/dist/{server-BXMH3Z9T.d.ts → server-CAwIqrXl.d.ts} +44 -5
- package/dist/{server-O_rC-RRL.js → server-Doy5HR7r.js} +106 -17
- package/dist/server-Doy5HR7r.js.map +1 -0
- package/dist/{static-loader-BiUaZaag.d.ts → static-loader-9Nc1GvF0.d.ts} +2 -2
- package/dist/{static-loader-BLJYvTKc.js → static-loader-Bdet7g76.js} +3 -26
- package/dist/static-loader-Bdet7g76.js.map +1 -0
- package/dist/{stream-JGRPr7u5.js → stream-BdhzvPQO.js} +2 -2
- package/dist/{stream-JGRPr7u5.js.map → stream-BdhzvPQO.js.map} +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +129 -51
- package/dist/vite.js.map +1 -1
- package/package.json +5 -1
- package/skills/brumate/references/errors.md +19 -5
- package/dist/client-iZ9a1Nut.js.map +0 -1
- package/dist/features-CHY5Ekku.js.map +0 -1
- package/dist/inspect-BLOdfj7o.js.map +0 -1
- package/dist/navigate-CfOr-TRF.js.map +0 -1
- package/dist/rpc-DvTwGfL_.js.map +0 -1
- package/dist/server-O_rC-RRL.js.map +0 -1
- package/dist/static-loader-BLJYvTKc.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as SerialEntry } from "./values-B8C7CLvG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ht as ClientModule } from "./client-DvsU9qxG.js";
|
|
3
3
|
//#region src/runtime/boot.d.ts
|
|
4
4
|
interface LoaderOptions {
|
|
5
5
|
/**
|
|
@@ -7,12 +7,6 @@ interface LoaderOptions {
|
|
|
7
7
|
* a component that has no client code.
|
|
8
8
|
*/
|
|
9
9
|
load: (id: string) => Promise<ClientModule> | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* Loads the bundle of a root component of the page, such as a route: the client modules of
|
|
12
|
-
* the components that it can render, in one chunk. Undefined for a component that is not a
|
|
13
|
-
* root.
|
|
14
|
-
*/
|
|
15
|
-
loadBundle?: (id: string) => Promise<unknown> | undefined;
|
|
16
10
|
/** The URL prefix of server function calls. */
|
|
17
11
|
rpc?: string;
|
|
18
12
|
/** Imports the serial entry, which the core takes before it reads the page state. */
|
|
@@ -57,4 +51,4 @@ interface NavigateOptions {
|
|
|
57
51
|
}
|
|
58
52
|
//#endregion
|
|
59
53
|
export { NavigateOptions as n, LoaderOptions as t };
|
|
60
|
-
//# sourceMappingURL=boot-
|
|
54
|
+
//# sourceMappingURL=boot-Difa0qdg.d.ts.map
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { B as getLocation, H as findError, j as analyzeProjectProps, o as CompileError, r as inspect, s as compile, w as resolveFromDisk, z as BrumateError } from "./inspect-
|
|
3
|
-
import { h as findPackages, o as findPackageServerFile, s as findServerImport, t as collectSources, v as resolveComponentPackage } from "./files-
|
|
2
|
+
import { B as getLocation, H as findError, j as analyzeProjectProps, o as CompileError, r as inspect, s as compile, w as resolveFromDisk, z as BrumateError } from "./inspect-BLPt-dZZ.js";
|
|
3
|
+
import { h as findPackages, o as findPackageServerFile, s as findServerImport, t as collectSources, v as resolveComponentPackage } from "./files-s4wmjcZV.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { cp } from "node:fs/promises";
|