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.
Files changed (63) hide show
  1. package/dist/{boot-D3NjfyUX.d.ts → boot-Difa0qdg.d.ts} +2 -8
  2. package/dist/cli.js +2 -2
  3. package/dist/{client-iZ9a1Nut.js → client-BYHGusTe.js} +990 -369
  4. package/dist/client-BYHGusTe.js.map +1 -0
  5. package/dist/{client-DNva05jp.d.ts → client-DvsU9qxG.d.ts} +107 -23
  6. package/dist/{defer-DP7dMS2y.js → defer-B63oF5Oa.js} +2 -2
  7. package/dist/{defer-DP7dMS2y.js.map → defer-B63oF5Oa.js.map} +1 -1
  8. package/dist/{devtools-BJB_MMeL.js → devtools-D_SQpXTg.js} +4 -4
  9. package/dist/{devtools-BJB_MMeL.js.map → devtools-D_SQpXTg.js.map} +1 -1
  10. package/dist/{devtools-panel-CUV6A4ZE.js → devtools-panel-B9yokst5.js} +2 -2
  11. package/dist/{devtools-panel-CUV6A4ZE.js.map → devtools-panel-B9yokst5.js.map} +1 -1
  12. package/dist/{features-CHY5Ekku.js → features-D5kLyihb.js} +19 -2
  13. package/dist/features-D5kLyihb.js.map +1 -0
  14. package/dist/{files-BZRjz9Mx.js → files-s4wmjcZV.js} +2 -2
  15. package/dist/{files-BZRjz9Mx.js.map → files-s4wmjcZV.js.map} +1 -1
  16. package/dist/index.d.ts +1 -8
  17. package/dist/index.js +1 -1
  18. package/dist/{inspect-BLOdfj7o.js → inspect-BLPt-dZZ.js} +891 -142
  19. package/dist/inspect-BLPt-dZZ.js.map +1 -0
  20. package/dist/{loader-CheV6t0N.js → loader-DKxhLjJw.js} +4 -4
  21. package/dist/{loader-CheV6t0N.js.map → loader-DKxhLjJw.js.map} +1 -1
  22. package/dist/{navigate-CfOr-TRF.js → navigate-BcV1qkkx.js} +2 -2
  23. package/dist/navigate-BcV1qkkx.js.map +1 -0
  24. package/dist/{produce-DS-dQaUX.js → produce-Cq6KKi7b.js} +2 -2
  25. package/dist/{produce-DS-dQaUX.js.map → produce-Cq6KKi7b.js.map} +1 -1
  26. package/dist/{rpc-DvTwGfL_.js → rpc-CIVU4Ktx.js} +5 -5
  27. package/dist/rpc-CIVU4Ktx.js.map +1 -0
  28. package/dist/runtime/bundles.d.ts +9 -0
  29. package/dist/runtime/bundles.js +60 -0
  30. package/dist/runtime/bundles.js.map +1 -0
  31. package/dist/runtime/client.d.ts +2 -2
  32. package/dist/runtime/client.js +3 -3
  33. package/dist/runtime/devtools.d.ts +1 -1
  34. package/dist/runtime/devtools.js +1 -1
  35. package/dist/runtime/hot.d.ts +1 -1
  36. package/dist/runtime/loader.d.ts +2 -2
  37. package/dist/runtime/loader.js +2 -2
  38. package/dist/runtime/server.d.ts +3 -3
  39. package/dist/runtime/server.js +4 -4
  40. package/dist/runtime/static-loader.d.ts +2 -2
  41. package/dist/runtime/static-loader.js +1 -1
  42. package/dist/runtime/testing.d.ts +2 -2
  43. package/dist/runtime/testing.js +2 -2
  44. package/dist/{server-BXMH3Z9T.d.ts → server-CAwIqrXl.d.ts} +44 -5
  45. package/dist/{server-O_rC-RRL.js → server-Doy5HR7r.js} +106 -17
  46. package/dist/server-Doy5HR7r.js.map +1 -0
  47. package/dist/{static-loader-BiUaZaag.d.ts → static-loader-9Nc1GvF0.d.ts} +2 -2
  48. package/dist/{static-loader-BLJYvTKc.js → static-loader-Bdet7g76.js} +3 -26
  49. package/dist/static-loader-Bdet7g76.js.map +1 -0
  50. package/dist/{stream-JGRPr7u5.js → stream-BdhzvPQO.js} +2 -2
  51. package/dist/{stream-JGRPr7u5.js.map → stream-BdhzvPQO.js.map} +1 -1
  52. package/dist/vite.d.ts +1 -1
  53. package/dist/vite.js +129 -51
  54. package/dist/vite.js.map +1 -1
  55. package/package.json +5 -1
  56. package/skills/brumate/references/errors.md +19 -5
  57. package/dist/client-iZ9a1Nut.js.map +0 -1
  58. package/dist/features-CHY5Ekku.js.map +0 -1
  59. package/dist/inspect-BLOdfj7o.js.map +0 -1
  60. package/dist/navigate-CfOr-TRF.js.map +0 -1
  61. package/dist/rpc-DvTwGfL_.js.map +0 -1
  62. package/dist/server-O_rC-RRL.js.map +0 -1
  63. 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 { Mt as ClientModule } from "./client-DNva05jp.js";
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-D3NjfyUX.d.ts.map
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-BLOdfj7o.js";
3
- import { h as findPackages, o as findPackageServerFile, s as findServerImport, t as collectSources, v as resolveComponentPackage } from "./files-BZRjz9Mx.js";
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";