typerighter 0.39.0 → 0.40.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 (43) hide show
  1. package/dist/{app-N-phWAP_.js → app-GI_8rzn8.js} +69 -68
  2. package/dist/{cli-DVQB43sa.js → cli-CPY9dpTQ.js} +5 -5
  3. package/dist/cli.js +1 -1
  4. package/dist/client/app/index.d.ts +8 -0
  5. package/dist/client/app/index.d.ts.map +1 -1
  6. package/dist/client/theme-default.js +174 -174
  7. package/dist/client.js +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/{init-pLTVuBAf.js → init-YypOGdjI.js} +7 -4
  10. package/dist/jsonld-e_0GNJdS.js +84 -0
  11. package/dist/node/build/index.d.ts.map +1 -1
  12. package/dist/node/build/prerender.d.ts +9 -0
  13. package/dist/node/build/prerender.d.ts.map +1 -1
  14. package/dist/node/build/seo/feed.d.ts +3 -0
  15. package/dist/node/build/seo/feed.d.ts.map +1 -0
  16. package/dist/node/build/seo/index.d.ts +5 -0
  17. package/dist/node/build/seo/index.d.ts.map +1 -0
  18. package/dist/node/build/seo/jsonld.d.ts +10 -0
  19. package/dist/node/build/seo/jsonld.d.ts.map +1 -0
  20. package/dist/node/build/seo/page.d.ts +6 -0
  21. package/dist/node/build/seo/page.d.ts.map +1 -0
  22. package/dist/node/build/seo/sitemap.d.ts +3 -0
  23. package/dist/node/build/seo/sitemap.d.ts.map +1 -0
  24. package/dist/node/lib/htmlTemplate.d.ts +30 -0
  25. package/dist/node/lib/htmlTemplate.d.ts.map +1 -0
  26. package/dist/node/lib/render/vue.d.ts.map +1 -1
  27. package/dist/node/plugin/vite/virtual/app.d.ts +2 -0
  28. package/dist/node/plugin/vite/virtual/app.d.ts.map +1 -1
  29. package/dist/prerenderWorker.js +32 -20
  30. package/dist/shared/types/ssg.d.ts +6 -0
  31. package/dist/shared/types/ssg.d.ts.map +1 -1
  32. package/dist/shared/utils/time.d.ts +1 -0
  33. package/dist/shared/utils/time.d.ts.map +1 -1
  34. package/dist/shared/utils/url.d.ts +1 -0
  35. package/dist/shared/utils/url.d.ts.map +1 -1
  36. package/dist/{shared-Lh4FwI36.js → shared-LPNgvigl.js} +47 -41
  37. package/dist/shared.js +2 -2
  38. package/dist/{vite-XB1qqgp7.js → vite-Djs3IU9Y.js} +462 -391
  39. package/dist/vite.js +1 -1
  40. package/package.json +7 -7
  41. package/dist/html-template-S2xsTyW5.js +0 -42
  42. package/dist/node/lib/html-template.d.ts +0 -22
  43. package/dist/node/lib/html-template.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
- import { A as e, C as t, M as n, S as r, i } from "./shared-Lh4FwI36.js";
1
+ import { C as e, P as t, a as n, j as r, w as i } from "./shared-LPNgvigl.js";
2
2
  import { t as a } from "./es-ClqUVRJn.js";
3
3
  import { Fragment as o, computed as s, createApp as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, h, inject as g, markRaw as _, mergeProps as v, nextTick as y, openBlock as b, provide as x, reactive as ee, readonly as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as E, shallowRef as D, toDisplayString as O, unref as k, vModelText as te, watch as ne, withDirectives as re, withKeys as ie, withModifiers as ae } from "vue";
4
- //#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/defaultAttributes.mjs
4
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.47.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/defaultAttributes.mjs
5
5
  var A = {
6
6
  xmlns: "http://www.w3.org/2000/svg",
7
7
  width: 24,
@@ -14,7 +14,7 @@ var A = {
14
14
  "stroke-linejoin": "round"
15
15
  }, j = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim();
16
16
  //#endregion
17
- //#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/buildLucideIconNode.mjs
17
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.47.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/buildLucideIconNode.mjs
18
18
  function M(e) {
19
19
  return e != null;
20
20
  }
@@ -51,7 +51,7 @@ function oe(e, t = {}) {
51
51
  ];
52
52
  }
53
53
  //#endregion
54
- //#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/hasA11yProp.mjs
54
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.47.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/hasA11yProp.mjs
55
55
  var se = (e) => {
56
56
  for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
57
57
  return !1;
@@ -60,7 +60,7 @@ function ue() {
60
60
  return g(le, {});
61
61
  }
62
62
  //#endregion
63
- //#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
63
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.47.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
64
64
  var de = ({ name: e, iconNode: t, "icon-node": n, icon: r = {
65
65
  name: ce(e),
66
66
  node: t ?? n,
@@ -83,7 +83,7 @@ var de = ({ name: e, iconNode: t, "icon-node": n, icon: r = {
83
83
  return h("svg", T, [...E.map((e) => h(...e)), ...w ?? []]);
84
84
  };
85
85
  //#endregion
86
- //#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/createLucideIcon.mjs
86
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.47.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/createLucideIcon.mjs
87
87
  function P(e, t = []) {
88
88
  let n = typeof e == "string" ? {
89
89
  name: e,
@@ -303,15 +303,16 @@ var fe = P({
303
303
  key: "1q5490"
304
304
  }]]
305
305
  }), Ee = P({
306
- name: "book-marked",
306
+ name: "book-bookmark",
307
307
  size: 24,
308
308
  node: [["path", {
309
- d: "M10 2v8l3-3 3 3V2",
310
- key: "sqw3rj"
309
+ d: "M10 2v7.751a.25.25 0 00.407.195l2.28-1.834a.5.5 0 01.627 0l2.28 1.834A.25.25 0 0016 9.751V2",
310
+ key: "x9x4jl"
311
311
  }], ["path", {
312
- d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",
313
- key: "k3hazp"
314
- }]]
312
+ d: "M4 19.5v-15A2.5 2.5 0 016.5 2H19a1 1 0 011 1v18a1 1 0 01-1 1H6.5a1 1 0 010-5H20",
313
+ key: "1889un"
314
+ }]],
315
+ aliases: ["book-marked"]
315
316
  }), De = P({
316
317
  name: "book-open",
317
318
  size: 24,
@@ -586,6 +587,15 @@ var fe = P({
586
587
  ],
587
588
  aliases: ["x-circle"]
588
589
  }), We = P({
590
+ name: "circle",
591
+ size: 24,
592
+ node: [["circle", {
593
+ cx: "12",
594
+ cy: "12",
595
+ r: "10",
596
+ key: "1mglay"
597
+ }]]
598
+ }), Ge = P({
589
599
  name: "circuit-board",
590
600
  size: 24,
591
601
  node: [
@@ -618,15 +628,6 @@ var fe = P({
618
628
  key: "3i40o0"
619
629
  }]
620
630
  ]
621
- }), Ge = P({
622
- name: "circle",
623
- size: 24,
624
- node: [["circle", {
625
- cx: "12",
626
- cy: "12",
627
- r: "10",
628
- key: "1mglay"
629
- }]]
630
631
  }), Ke = P({
631
632
  name: "clipboard",
632
633
  size: 24,
@@ -1679,21 +1680,6 @@ var fe = P({
1679
1680
  }]
1680
1681
  ]
1681
1682
  }), Wt = P({
1682
- name: "lock",
1683
- size: 24,
1684
- node: [["rect", {
1685
- width: "18",
1686
- height: "11",
1687
- x: "3",
1688
- y: "11",
1689
- rx: "2",
1690
- ry: "2",
1691
- key: "1w4ew1"
1692
- }], ["path", {
1693
- d: "M7 11V7a5 5 0 0 1 10 0v4",
1694
- key: "fwvmzm"
1695
- }]]
1696
- }), Gt = P({
1697
1683
  name: "log-in",
1698
1684
  size: 24,
1699
1685
  node: [
@@ -1710,7 +1696,7 @@ var fe = P({
1710
1696
  key: "u53s6r"
1711
1697
  }]
1712
1698
  ]
1713
- }), Kt = P({
1699
+ }), Gt = P({
1714
1700
  name: "log-out",
1715
1701
  size: 24,
1716
1702
  node: [
@@ -1727,6 +1713,21 @@ var fe = P({
1727
1713
  key: "1uf3rs"
1728
1714
  }]
1729
1715
  ]
1716
+ }), Kt = P({
1717
+ name: "lock",
1718
+ size: 24,
1719
+ node: [["rect", {
1720
+ width: "18",
1721
+ height: "11",
1722
+ x: "3",
1723
+ y: "11",
1724
+ rx: "2",
1725
+ ry: "2",
1726
+ key: "1w4ew1"
1727
+ }], ["path", {
1728
+ d: "M7 11V7a5 5 0 0 1 10 0v4",
1729
+ key: "fwvmzm"
1730
+ }]]
1730
1731
  }), qt = P({
1731
1732
  name: "magnet",
1732
1733
  size: 24,
@@ -3228,14 +3229,14 @@ var fe = P({
3228
3229
  }]]
3229
3230
  }), yr = ["href"], br = ["href"], xr = { class: "td-dir-name" }, Sr = { class: "td-dir-count" }, Cr = ["href"], wr = { class: "td-dir-name" }, Tr = /*@__PURE__*/ m({
3230
3231
  __name: "TdDirectoryIndex",
3231
- setup(e) {
3232
- let n = K(), i = $(), { withBase: a } = Q(), c = s(() => {
3233
- let e = t(n.path);
3232
+ setup(t) {
3233
+ let n = K(), r = $(), { withBase: a } = Q(), c = s(() => {
3234
+ let e = i(n.path);
3234
3235
  return {
3235
3236
  url: e,
3236
- entries: i.value.directoryListings[e]?.entries ?? []
3237
+ entries: r.value.directoryListings[e]?.entries ?? []
3237
3238
  };
3238
- }), l = s(() => c.value.url === "/"), m = s(() => a(r(t(c.value.url))));
3239
+ }), l = s(() => c.value.url === "/"), m = s(() => a(e(i(c.value.url))));
3239
3240
  return (e, t) => (b(), d("div", null, [l.value ? u("", !0) : (b(), d("a", {
3240
3241
  key: 0,
3241
3242
  href: m.value,
@@ -3346,12 +3347,12 @@ var fe = P({
3346
3347
  }
3347
3348
  },
3348
3349
  setup(e) {
3349
- return (t, n) => (b(), d("a", {
3350
+ return (t, r) => (b(), d("a", {
3350
3351
  href: e.href,
3351
3352
  class: "td-glossary-row"
3352
3353
  }, [
3353
3354
  f("span", Ir, O(e.item.name), 1),
3354
- e.item.mtime ? (b(), d("span", Lr, O(k(i)(e.item.mtime)), 1)) : u("", !0),
3355
+ e.item.mtime ? (b(), d("span", Lr, O(k(n)(e.item.mtime)), 1)) : u("", !0),
3355
3356
  e.item.description ? (b(), d("span", Rr, O(e.item.description), 1)) : (b(), d("span", zr, "No description yet")),
3356
3357
  e.showTags && e.item.tags && e.item.tags.length > 0 ? (b(), d("span", Br, [(b(!0), d(o, null, w(e.item.tags, (e) => (b(), d("span", {
3357
3358
  key: e,
@@ -3372,9 +3373,9 @@ var fe = P({
3372
3373
  __name: "TdGlossaryIndex",
3373
3374
  props: { mode: { default: "informative" } },
3374
3375
  setup(e) {
3375
- let n = K(), r = $(), { withBase: i } = Q(), c = C(""), u = s(() => {
3376
- let e = t(n.path), i = r.value.directoryListings[e];
3377
- return i ? i.entries.filter((e) => e.kind === "file").map((e) => e.item) : [];
3376
+ let t = K(), n = $(), { withBase: r } = Q(), c = C(""), u = s(() => {
3377
+ let e = i(t.path), r = n.value.directoryListings[e];
3378
+ return r ? r.entries.filter((e) => e.kind === "file").map((e) => e.item) : [];
3378
3379
  }), m = s(() => u.value.length), h = s(() => {
3379
3380
  let e = /* @__PURE__ */ new Map();
3380
3381
  for (let t of u.value) e.set(t.url, t);
@@ -3429,18 +3430,18 @@ var fe = P({
3429
3430
  placeholder: `Filter ${m.value} entries`
3430
3431
  }, null, 8, Ur), [[te, c.value]])]), _.value ? (b(), d(o, { key: 0 }, [v.value.length === 0 ? (b(), d("div", Wr, " No entries matching \"" + O(c.value.trim()) + "\" ", 1)) : e.mode === "dense" ? (b(), d("div", Gr, [(b(!0), d(o, null, w(v.value, (e) => (b(), d("a", {
3431
3432
  key: e.url,
3432
- href: k(i)(e.url),
3433
+ href: k(r)(e.url),
3433
3434
  class: "td-glossary-dense-link"
3434
3435
  }, O(e.name), 9, Kr))), 128))])) : (b(), d("div", qr, [(b(!0), d(o, null, w(v.value, (e) => (b(), l(Vr, {
3435
3436
  key: e.url,
3436
3437
  item: e,
3437
- href: k(i)(e.url)
3438
+ href: k(r)(e.url)
3438
3439
  }, null, 8, ["item", "href"]))), 128))]))], 64)) : (b(), d(o, { key: 1 }, [e.mode === "dense" ? (b(), d("div", Jr, [(b(!0), d(o, null, w(y.value, (e) => (b(), d("div", {
3439
3440
  key: e.letter,
3440
3441
  class: "td-glossary-dense-group"
3441
3442
  }, [f("div", Yr, [f("span", Xr, O(e.letter), 1), n[1] ||= f("span", { class: "td-glossary-letter-line" }, null, -1)]), (b(!0), d(o, null, w(e.items, (e) => (b(), d("a", {
3442
3443
  key: e.url,
3443
- href: k(i)(e.url),
3444
+ href: k(r)(e.url),
3444
3445
  class: "td-glossary-dense-link"
3445
3446
  }, O(e.name), 9, Zr))), 128))]))), 128))])) : (b(), d("div", Qr, [(b(!0), d(o, null, w(y.value, (e) => (b(), d("div", { key: e.letter }, [f("div", $r, [
3446
3447
  f("span", ei, O(e.letter), 1),
@@ -3449,7 +3450,7 @@ var fe = P({
3449
3450
  ]), (b(!0), d(o, null, w(e.items, (e) => (b(), l(Vr, {
3450
3451
  key: e.url,
3451
3452
  item: e,
3452
- href: k(i)(e.url),
3453
+ href: k(r)(e.url),
3453
3454
  "show-tags": ""
3454
3455
  }, null, 8, ["item", "href"]))), 128))]))), 128))]))], 64))]));
3455
3456
  }
@@ -3502,7 +3503,7 @@ var fe = P({
3502
3503
  database: it,
3503
3504
  server: Fn,
3504
3505
  bug: je,
3505
- "circuit-board": We,
3506
+ "circuit-board": Ge,
3506
3507
  binary: we,
3507
3508
  palette: un,
3508
3509
  pen: pn,
@@ -3525,7 +3526,7 @@ var fe = P({
3525
3526
  info: Pt,
3526
3527
  sparkles: Un,
3527
3528
  crown: rt,
3528
- circle: Ge,
3529
+ circle: We,
3529
3530
  square: H,
3530
3531
  diamond: at,
3531
3532
  hexagon: kt,
@@ -3550,7 +3551,7 @@ var fe = P({
3550
3551
  wrench: gr,
3551
3552
  hammer: wt,
3552
3553
  key: It,
3553
- lock: Wt,
3554
+ lock: Kt,
3554
3555
  shield: Rn,
3555
3556
  link: Ht,
3556
3557
  magnet: qt,
@@ -3607,8 +3608,8 @@ var fe = P({
3607
3608
  filter: vt,
3608
3609
  "undo-2": cr,
3609
3610
  "redo-2": En,
3610
- "log-in": Gt,
3611
- "log-out": Kt,
3611
+ "log-in": Wt,
3612
+ "log-out": Gt,
3612
3613
  play: bn,
3613
3614
  pause: fn,
3614
3615
  "volume-2": fr,
@@ -3651,8 +3652,8 @@ var ai = /*#__PURE__*/ U(/* @__PURE__ */ m({
3651
3652
  headings: [],
3652
3653
  title: "Not Found"
3653
3654
  };
3654
- function ci(e, t = {}) {
3655
- let r = n(t.basePath ?? "/"), i = ee({
3655
+ function ci(e, n = {}) {
3656
+ let r = t(n.basePath ?? "/"), i = ee({
3656
3657
  path: "/",
3657
3658
  hash: "",
3658
3659
  query: "",
@@ -3664,8 +3665,8 @@ function ci(e, t = {}) {
3664
3665
  e = q(e, r), await a.onBeforeRouteChange?.(e) !== !1 && ((!W || t?.initialLoad || ui(e, r, t)) && await s(e), c(), await a.onAfterRouteChange?.(e));
3665
3666
  }
3666
3667
  }, o;
3667
- async function s(n) {
3668
- let r = new URL(n, "http://a.com");
3668
+ async function s(t) {
3669
+ let r = new URL(t, "http://a.com");
3669
3670
  o = r.pathname;
3670
3671
  let a = o;
3671
3672
  try {
@@ -3679,7 +3680,7 @@ function ci(e, t = {}) {
3679
3680
  });
3680
3681
  }
3681
3682
  } catch {
3682
- o === a && (o = void 0, i.path = a, i.contentSfc = t.fallbackComponent ? _(t.fallbackComponent) : void 0, i.data = si, c(r));
3683
+ o === a && (o = void 0, i.path = a, i.contentSfc = n.fallbackComponent ? _(n.fallbackComponent) : void 0, i.data = si, c(r));
3683
3684
  }
3684
3685
  }
3685
3686
  function c(e = W ? location : {
@@ -3730,9 +3731,9 @@ function ui(e, t, { replace: n = !1 } = {}) {
3730
3731
  let a = new URL(e, location.origin), o = new URL(r, location.origin);
3731
3732
  return a.pathname !== o.pathname || (G(a.hash), !1);
3732
3733
  }
3733
- function q(t, n) {
3734
- let r = new URL(t, "http://a.com"), i = r.pathname.replace(/\.html$/, "");
3735
- return n && n !== "/" && (i === n || i.startsWith(n + "/")) && (i = i.slice(n.length) || "/"), r.pathname = e(i), r.pathname + r.search + r.hash;
3734
+ function q(e, t) {
3735
+ let n = new URL(e, "http://a.com"), i = n.pathname.replace(/\.html$/, "");
3736
+ return t && t !== "/" && (i === t || i.startsWith(t + "/")) && (i = i.slice(t.length) || "/"), n.pathname = r(i), n.pathname + n.search + n.hash;
3736
3737
  }
3737
3738
  //#endregion
3738
3739
  //#region src/client/app/components/Content.ts
@@ -3840,13 +3841,13 @@ function Q() {
3840
3841
  title: "",
3841
3842
  description: "",
3842
3843
  basePath: "/"
3843
- }), t = n(e.basePath);
3844
+ }), n = t(e.basePath);
3844
3845
  return {
3845
3846
  ...e,
3846
3847
  withBase(e) {
3847
- if (t === "/") return e;
3848
- let n = e.startsWith("/") ? e : "/" + e;
3849
- return t + n;
3848
+ if (n === "/") return e;
3849
+ let t = e.startsWith("/") ? e : "/" + e;
3850
+ return n + t;
3850
3851
  }
3851
3852
  };
3852
3853
  }
@@ -1,4 +1,4 @@
1
- import { r as e, t } from "./vite-XB1qqgp7.js";
1
+ import { r as e, t } from "./vite-Djs3IU9Y.js";
2
2
  import { n } from "./context-CNTdcpo4.js";
3
3
  import r from "node:path";
4
4
  import i from "picocolors";
@@ -363,7 +363,7 @@ function k() {
363
363
  }), process.on("unhandledRejection", (e) => {
364
364
  A("runtime", e instanceof Error ? e : Error(String(e)));
365
365
  }), i.command("[root]", "Start dev server").alias("dev").option("--port <port>", "Port to listen on").option("--host", "Expose to network").option("--fresh", "Start fresh, ignore cache from previous session").option("--verbose", "Print version and build info").action(async (e, n) => {
366
- n.verbose && console.log(`${O} cli v0.39.0 (built 9/23/2026, 4:12:32 PM)\n`), n.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
366
+ n.verbose && console.log(`${O} cli v0.40.1 (built 9/24/2026, 5:24:01 AM)\n`), n.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
367
367
  let r = await a({
368
368
  root: M(e),
369
369
  configFile: !1,
@@ -388,7 +388,7 @@ function k() {
388
388
  }
389
389
  process.exit(0);
390
390
  }), 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) => {
391
- let { initialize: n } = await import("./init-pLTVuBAf.js");
391
+ let { initialize: n } = await import("./init-YypOGdjI.js");
392
392
  await n(M(e), t);
393
393
  }), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, t) => {
394
394
  let r = M(e), i = n(r);
@@ -426,7 +426,7 @@ function k() {
426
426
  } finally {
427
427
  i.dispose();
428
428
  }
429
- }), i.help(), i.version("0.39.0"), i.parse();
429
+ }), i.help(), i.version("0.40.1"), i.parse();
430
430
  }
431
431
  function A(e, t) {
432
432
  let n = t instanceof Error ? t.message : String(t);
@@ -434,7 +434,7 @@ function A(e, t) {
434
434
  }
435
435
  async function j(e) {
436
436
  let t = await (await e.getTdContext()).rpc.getVersion();
437
- console.log(`${O} cli v0.39.0 (built 9/23/2026, 4:12:32 PM)`), console.log(`${O} rpc v${t}`), console.log("");
437
+ console.log(`${O} cli v0.40.1 (built 9/24/2026, 5:24:01 AM)`), console.log(`${O} rpc v${t}`), console.log("");
438
438
  }
439
439
  function M(e) {
440
440
  return r.resolve(e ?? process.cwd());
package/dist/cli.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./cli-DVQB43sa.js";
1
+ import { t as e } from "./cli-CPY9dpTQ.js";
2
2
  export { e as cli };
@@ -11,6 +11,10 @@ export interface TypedownSiteConfig {
11
11
  description: string;
12
12
  /** URL base path (e.g. "/" or "/blog") */
13
13
  basePath: string;
14
+ /** Absolute site URL (e.g. "https://example.com") */
15
+ origin?: string;
16
+ /** HTML lang attribute */
17
+ lang?: string;
14
18
  /** Repository URL */
15
19
  repo?: string;
16
20
  /** Site author */
@@ -53,6 +57,10 @@ export declare function useSiteConfig(): {
53
57
  description: string;
54
58
  /** URL base path (e.g. "/" or "/blog") */
55
59
  basePath: string;
60
+ /** Absolute site URL (e.g. "https://example.com") */
61
+ origin?: string;
62
+ /** HTML lang attribute */
63
+ lang?: string;
56
64
  /** Repository URL */
57
65
  repo?: string;
58
66
  /** Site author */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,SAAS,EAEd,KAAK,GAAG,EACR,KAAK,UAAU,EAChB,MAAM,KAAK,CAAC;AAWb,OAAO,EACuB,KAAK,MAAM,EACxC,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,SAAS,EAAE,QAAQ,GACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,OAAO,GACR,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,kBAAkB;IACjC,iBAAiB;I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CAAC,gBAAgB,CAAC,CAAC;CACjC,CAAC,CAiED;AAED,wBAAgB,aAAa,IAAK,UAAU,GAAG,SAAS,CAEvD;AAGD,wBAAgB,cAAc,IAAK,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC,CAEhE;AAED,wBAAgB,aAAa;mBAUT,MAAM,GAAG,MAAM;IAxIjC,iBAAiB;WACV,MAAM;IACb,uBAAuB;iBACV,MAAM;IACnB,0CAA0C;cAChC,MAAM;IAChB,qBAAqB;WACd,MAAM;IACb,kBAAkB;aACT,MAAM;IACf,mBAAmB;cACT,MAAM;IAChB,uBAAuB;UACjB;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,EAAE;EA+HJ;AAWD,wBAAgB,WAAW,IAAK,GAAG,CAAC,gBAAgB,CAAC,CAEpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,SAAS,EAEd,KAAK,GAAG,EACR,KAAK,UAAU,EAChB,MAAM,KAAK,CAAC;AAWb,OAAO,EACuB,KAAK,MAAM,EACxC,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,SAAS,EAAE,QAAQ,GACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,OAAO,GACR,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,kBAAkB;IACjC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAA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