typerighter 0.30.6 → 0.30.7

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.
@@ -2891,7 +2891,9 @@ function si(e, t = {}) {
2891
2891
  }
2892
2892
  }, o;
2893
2893
  async function s(n) {
2894
- let r = new URL(n, "http://a.com"), a = o = r.pathname;
2894
+ let r = new URL(n, "http://a.com");
2895
+ o = r.pathname;
2896
+ let a = o;
2895
2897
  try {
2896
2898
  let t = await e(a);
2897
2899
  if (!t) throw Error(`Page not found: ${a}`);
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, t as n } from "./vite-vMuZ0f3f.js";
1
+ import { a as e, i as t, t as n } from "./vite-CdFJrVOC.js";
2
2
  import r from "node:path";
3
3
  import i from "picocolors";
4
4
  import { createServer as a } from "vite";
@@ -362,7 +362,7 @@ function k() {
362
362
  }), process.on("unhandledRejection", (e) => {
363
363
  A("runtime", e instanceof Error ? e : Error(String(e)));
364
364
  }), i.command("[root]", "Start dev server").alias("dev").option("--port <port>", "Port to listen on").option("--host", "Expose to network").option("--verbose", "Print version and build info").action(async (e, t) => {
365
- t.verbose && console.log(`${O} cli v0.30.6 (built 9/12/2026, 11:21:49 AM)\n`);
365
+ t.verbose && console.log(`${O} cli v0.30.7 (built 9/13/2026, 10:53:16 AM)\n`);
366
366
  let r = await a({
367
367
  root: M(e),
368
368
  configFile: !1,
@@ -385,7 +385,7 @@ function k() {
385
385
  i.dispose();
386
386
  }
387
387
  }), i.command("init [root]", "Scaffold a new project").option("--name <name>", "Project name").option("--title <title>", "Site title").option("--description <description>", "Site description").option("--yes", "Skip confirmation for existing projects").action(async (e, t) => {
388
- let { initialize: n } = await import("./init-Bn4rrlkQ.js");
388
+ let { initialize: n } = await import("./init-fMad-EWX.js");
389
389
  await n(M(e), t);
390
390
  }), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, n) => {
391
391
  let r = M(e), i = t(r);
@@ -423,7 +423,7 @@ function k() {
423
423
  } finally {
424
424
  i.dispose();
425
425
  }
426
- }), i.help(), i.version("0.30.6"), i.parse();
426
+ }), i.help(), i.version("0.30.7"), i.parse();
427
427
  }
428
428
  function A(e, t) {
429
429
  let n = t instanceof Error ? t.message : String(t);
@@ -431,7 +431,7 @@ function A(e, t) {
431
431
  }
432
432
  async function j(e) {
433
433
  let t = await (await e.getTdContext()).rpc.getVersion();
434
- console.log(`${O} cli v0.30.6 (built 9/12/2026, 11:21:49 AM)`), console.log(`${O} rpc v${t}`), console.log("");
434
+ console.log(`${O} cli v0.30.7 (built 9/13/2026, 10:53:16 AM)`), console.log(`${O} rpc v${t}`), console.log("");
435
435
  }
436
436
  function M(e) {
437
437
  return r.resolve(e ?? process.cwd());
package/dist/cli.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./cli-x2zGzLEx.js";
1
+ import { t as e } from "./cli-D8F6dQfh.js";
2
2
  export { e as cli };
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/client/app/router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EAAE,YAAY,EACxB,MAAM,KAAK,CAAC;AAIb,OAAO,EAEL,KAAK,QAAQ,EAAE,KAAK,UAAU,EAC/B,MAAM,UAAU,CAAC;AAIlB,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,EAAE,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QACzB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACp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E,OAAO,CAAC;QAClB,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,mBAAmB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,GAAG,OAAO,GAAG,SAAS,CAAC;IACzF,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;CACrE;AAED,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,MAAM,CAA6B,CAAC;AAS5E,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,wBAAgB,YAAY,CAC1B,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,EACjE,OAAO,GAAE,aAAkB,GAC1B,MAAM,CA2IR;AAGD,wBAAgB,YAAY,CAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAchD;AAGD,wBAAgB,QAAQ,IAAK,KAAK,CAEjC;AAGD,wBAAgB,SAAS,IAAK,MAAM,CAMnC"}
@@ -1,7 +1,7 @@
1
1
  import { B as e, D as t, E as n, G as r, K as i, M as a, N as o, O as s, P as c, S as l, _ as u, c as d, d as f, f as p, h as m, i as h, j as g, l as _, n as v, o as y, r as b, s as x, v as S, w as C, x as ee, y as w } from "../shared-B-n46X4N.js";
2
2
  import { t as te } from "../temml-DZbhOfRE.js";
3
3
  import { t as ne } from "../es-ClqUVRJn.js";
4
- import { A as re, C as T, D as ie, E as ae, F as oe, I as se, L as E, M as ce, N as le, O as ue, P as de, S as fe, T as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as D, i as O, j as xe, k as Se, l as k, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, v as ke, w as Ae, x as je, y as Me } from "../app-BIZW-EFe.js";
4
+ import { A as re, C as T, D as ie, E as ae, F as oe, I as se, L as E, M as ce, N as le, O as ue, P as de, S as fe, T as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as D, i as O, j as xe, k as Se, l as k, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, v as ke, w as Ae, x as je, y as Me } from "../app-DZp-uDTw.js";
5
5
  import { a as Ne, i as Pe, n as Fe, t as Ie } from "../brand-CG1fQshq.js";
6
6
  import { Fragment as A, Teleport as Le, computed as j, createApp as Re, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, getCurrentScope as ze, markRaw as Be, mergeModels as Ve, mergeProps as He, nextTick as Ue, normalizeClass as z, normalizeStyle as We, onBeforeUnmount as Ge, onMounted as Ke, onScopeDispose as qe, onUnmounted as Je, openBlock as B, readonly as Ye, ref as V, renderList as H, renderSlot as Xe, resolveComponent as Ze, resolveDynamicComponent as Qe, shallowReadonly as $e, shallowRef as et, toDisplayString as U, toValue as tt, triggerRef as nt, unref as W, useModel as rt, useTemplateRef as it, vModelText as at, watch as G, watchEffect as ot, withCtx as st, withDirectives as ct, withKeys as lt, withModifiers as ut } from "vue";
7
7
  var dt = E("circle-dot", [["circle", {
package/dist/client.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, o as i, t as a, u as o } from "./app-BIZW-EFe.js";
1
+ import { a as e, c as t, i as n, l as r, o as i, t as a, u as o } from "./app-DZp-uDTw.js";
2
2
  export { t as Content, a as createTypedownApp, r as useRoute, o as useRouter, n as useSiteConfig, e as useSiteData, i as useTdContent };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as e, n as t, t as n } from "./vite-vMuZ0f3f.js";
2
- import { t as r } from "./cli-x2zGzLEx.js";
1
+ import { a as e, n as t, t as n } from "./vite-CdFJrVOC.js";
2
+ import { t as r } from "./cli-D8F6dQfh.js";
3
3
  export { e as buildSite, r as cli, t as generateClientAppEntry, n as typedown };
@@ -1,5 +1,5 @@
1
1
  import { q as e } from "./shared-B-n46X4N.js";
2
- import { r as t } from "./vite-vMuZ0f3f.js";
2
+ import { r as t } from "./vite-CdFJrVOC.js";
3
3
  import { a as n, i as r, n as i, r as a, t as o } from "./brand-CG1fQshq.js";
4
4
  import s from "node:path";
5
5
  import c from "node:fs/promises";
@@ -749,7 +749,7 @@ function He(e) {
749
749
  build: "typerighter build",
750
750
  preview: "typerighter preview"
751
751
  },
752
- devDependencies: { typerighter: "^0.30.6" }
752
+ devDependencies: { typerighter: "^0.30.7" }
753
753
  }, void 0, 2) + "\n";
754
754
  }
755
755
  function Ue() {