typerighter 0.52.2 → 0.53.0

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.
@@ -1,8 +1,8 @@
1
- import { D as e, E as t, F as n, H as r, K as i, L as a, P as o, Q as s, R as c, V as l, Y as u, Z as d, _ as f, b as p, c as m, d as h, et as g, g as _, h as v, i as y, p as b, tt as x, v as S, w as C, y as w, z as T } from "./shared-C5ERr4vS.js";
2
- import { a as E, i as D, n as O, o as ee, r as te, s as ne, t as re } from "./jsonld-CRHOaFMj.js";
3
- import { t as ie } from "./temml-D47Z4xZ2.js";
4
- import { a as ae, i as oe, n as se, r as ce } from "./context-CSvoDxVt.js";
5
- import { t as le } from "./es-ClqUVRJn.js";
1
+ import { D as e, E as t, F as n, H as r, K as i, L as a, P as o, Q as s, R as c, V as l, Y as u, Z as d, _ as f, b as p, c as m, d as h, et as g, g as _, h as v, i as y, p as b, tt as x, v as S, w as C, y as w, z as T } from "./shared-v0btHVwj.js";
2
+ import { a as E, i as D, n as O, o as ee, r as te, s as ne, t as re } from "./jsonld-CByNA46l.js";
3
+ import { t as ie } from "./temml-CjI4drVW.js";
4
+ import { a as ae, i as oe, n as se, r as ce } from "./context-CPrHBM3S.js";
5
+ import { t as le } from "./es-B_QJMowB.js";
6
6
  import k, { resolve as A } from "node:path";
7
7
  import j from "picocolors";
8
8
  import ue from "@tailwindcss/vite";
@@ -16,7 +16,7 @@ import P, { createReadStream as _e, existsSync as ve, globSync as ye, readFileSy
16
16
  import { createRequire as Se } from "node:module";
17
17
  import { createChecker as Ce, createCheckerByJson as we } from "vue-component-meta";
18
18
  import { createHighlighter as Te, guessEmbeddedLanguages as Ee, isSpecialLang as De } from "shiki";
19
- //#region src/node/lib/worker-pool/index.ts
19
+ // src/node/lib/worker-pool/index.ts
20
20
  var Oe = class {
21
21
  workers = [];
22
22
  queue = [];
@@ -61,8 +61,7 @@ var Oe = class {
61
61
  this.destroyed || (this.startupError = e instanceof Error ? e : Error(String(e)), this.destroyed = !0, this.rejectAll(e), Promise.all(this.workers.map((e) => e.worker.terminate())).catch(() => {}));
62
62
  }
63
63
  };
64
- //#endregion
65
- //#region src/node/build/seo/sitemap.ts
64
+ // src/node/build/seo/sitemap.ts
66
65
  function ke(e, t, n, r) {
67
66
  let i = n ?? "";
68
67
  return `<?xml version="1.0" encoding="UTF-8"?>
@@ -81,8 +80,7 @@ Allow: /
81
80
  Sitemap: ${e}${t}sitemap.xml
82
81
  `;
83
82
  }
84
- //#endregion
85
- //#region src/node/build/seo/feed.ts
83
+ // src/node/build/seo/feed.ts
86
84
  function je(e, t, n, r, i, a) {
87
85
  let o = [...e].filter((e) => e.fileMetadata.mtime > 0).sort((e, t) => t.fileMetadata.mtime - e.fileMetadata.mtime).slice(0, 50).map((e) => {
88
86
  let r = l(e.filepath), i = `${n}${t}${r}`, a = new Date(e.fileMetadata.mtime).toUTCString(), o = m(e.label ?? r), s = e.excerpt === void 0 ? "" : `<![CDATA[${e.excerpt}]]>`;
@@ -107,14 +105,12 @@ ${o}
107
105
  </rss>
108
106
  `;
109
107
  }
110
- //#endregion
111
- //#region src/node/build/fonts.ts
108
+ // src/node/build/fonts.ts
112
109
  function Me(e) {
113
110
  let t = k.basename(e);
114
111
  return t.endsWith(".woff2") && t.includes("-latin-") && !t.includes("-latin-ext-");
115
112
  }
116
- //#endregion
117
- //#region src/node/build/prerender.ts
113
+ // src/node/build/prerender.ts
118
114
  var Ne = 64;
119
115
  async function Pe(e) {
120
116
  let { clientEntry: t, cssFiles: n, fontFiles: r } = await Le(e.clientOutDir), i = [n.map((t) => ` <link rel="stylesheet" href="${e.base}${t}">`).join("\n"), r.map((t) => ` <link rel="preload" as="font" type="font/woff2" crossorigin href="${e.base}${t}">`).join("\n")].filter(Boolean).join("\n") || void 0;
@@ -179,8 +175,7 @@ async function Le(e) {
179
175
  fontFiles: o
180
176
  };
181
177
  }
182
- //#endregion
183
- //#region src/node/lib/codegen/app-entry.ts
178
+ // src/node/lib/codegen/app-entry.ts
184
179
  function Re(e, t) {
185
180
  let { rootDir: n = ".", mountPath: r = "", userComponents: i = [] } = e, a = [r, n === "." ? "" : n].filter(Boolean).join("/"), o = i.map((e) => `import ${e.name} from ${JSON.stringify(e.absolutePath)};`).join("\n"), s = i.map((e) => `app.component(${JSON.stringify(e.name)}, ${e.name});`).join("\n"), c = JSON.stringify({
186
181
  title: e.siteTitle,
@@ -271,8 +266,7 @@ if (import.meta.hot) {
271
266
  }
272
267
  `;
273
268
  }
274
- //#endregion
275
- //#region src/node/lib/codegen/theme.ts
269
+ // src/node/lib/codegen/theme.ts
276
270
  var F = "typerighter/client/theme-default";
277
271
  function ze(e, t) {
278
272
  let n = e?.notFound ? `import CustomNotFound from ${JSON.stringify(t ? k.resolve(t, e.notFound) : e.notFound)};` : "", r = e?.notFound ? ", NotFound: CustomNotFound" : "";
@@ -300,8 +294,7 @@ function ze(e, t) {
300
294
  `export default { ...DefaultTheme${r} };`
301
295
  ].join("\n") : `export { default } from ${JSON.stringify(F)};`;
302
296
  }
303
- //#endregion
304
- //#region src/node/lib/components.ts
297
+ // src/node/lib/components.ts
305
298
  function Be(e) {
306
299
  let t = k.join(e, "tsconfig.json");
307
300
  if (P.existsSync(t)) return Ce(t);
@@ -350,8 +343,7 @@ function Ve(e) {
350
343
  return;
351
344
  }
352
345
  }
353
- //#endregion
354
- //#region src/node/lib/progress.ts
346
+ // src/node/lib/progress.ts
355
347
  var L = [
356
348
  "◐",
357
349
  "◓",
@@ -387,8 +379,7 @@ var L = [
387
379
  function He(e) {
388
380
  return e < 1e3 ? `${Math.round(e)}ms` : `${(e / 1e3).toFixed(1)}s`;
389
381
  }
390
- //#endregion
391
- //#region src/node/build/index.ts
382
+ // src/node/build/index.ts
392
383
  async function Ue(e, t = {}) {
393
384
  let { root: n, logger: r } = e, i = k.resolve(n, t.outDir ?? "dist"), a = k.join(i, ".client"), o = k.join(i, ".server");
394
385
  await N.rm(i, {
@@ -601,8 +592,7 @@ function Ke(e, t, n) {
601
592
  f(r.node) || n.push(C(e)), Ke(r.node.entries, e, n);
602
593
  }
603
594
  }
604
- //#endregion
605
- //#region ../../node_modules/.pnpm/@shikijs+transformers@4.4.3/node_modules/@shikijs/transformers/dist/index.mjs
595
+ // ../../node_modules/.pnpm/@shikijs+transformers@4.4.3/node_modules/@shikijs/transformers/dist/index.mjs
606
596
  var qe = /(\s+\/\/)/, Je = /(?:\/\/|["'#]|;{1,2}|%{1,2}|--)(\s*)$/, Ye = /(?:\/\/|#|;{1,2}|%{1,2}|--)(\s*)$/, Xe = [
607
597
  [/^(<!--)(.+)(-->)$/, !1],
608
598
  [/^(\/\*)(.+)(\*\/)$/, !1],
@@ -833,8 +823,7 @@ function dt(e = {}) {
833
823
  matchAlgorithm: e.matchAlgorithm
834
824
  }, "@shikijs/transformers:notation-highlight");
835
825
  }
836
- //#endregion
837
- //#region src/node/lib/render/highlight/language.ts
826
+ // src/node/lib/render/highlight/language.ts
838
827
  var ft = [
839
828
  "shellscript",
840
829
  "shell",
@@ -849,8 +838,7 @@ var mt = /^[a-zA-Z0-9-_]+/;
849
838
  function ht(e) {
850
839
  return mt.exec(e)?.[0] || "";
851
840
  }
852
- //#endregion
853
- //#region src/node/lib/render/highlight/index.ts
841
+ // src/node/lib/render/highlight/index.ts
854
842
  var gt = new FinalizationRegistry((e) => {
855
843
  e();
856
844
  }), V = {
@@ -985,8 +973,7 @@ function yt(e) {
985
973
  }
986
974
  };
987
975
  }
988
- //#endregion
989
- //#region src/node/lib/render/postprocess.ts
976
+ // src/node/lib/render/postprocess.ts
990
977
  var bt;
991
978
  async function xt(e) {
992
979
  return e = await wt(e), e = At(e), e;
@@ -1088,8 +1075,7 @@ function Nt(e, t) {
1088
1075
  return `<${n} class="td-math-error">${e}</${n}>`;
1089
1076
  }
1090
1077
  }
1091
- //#endregion
1092
- //#region src/node/lib/render/vue.ts
1078
+ // src/node/lib/render/vue.ts
1093
1079
  async function U(e, t, n) {
1094
1080
  let r = t.title || t.label || (p(n) ? S(n, (await e.getConfig()).siteTitle) : w(n));
1095
1081
  return {
@@ -1143,13 +1129,11 @@ function Ft(e) {
1143
1129
  function It(e) {
1144
1130
  return e.replaceAll("{{", "&#123;&#123;").replaceAll("}}", "&#125;&#125;");
1145
1131
  }
1146
- //#endregion
1147
- //#region src/node/plugin/vite/constants.ts
1132
+ // src/node/plugin/vite/constants.ts
1148
1133
  var Lt = "@typedown/app", Rt = "\0@typedown/app", W = "@typedown/pages", zt = "\0" + W;
1149
1134
  W + "";
1150
1135
  var G = "\0@typedown/pages?resource=", K = "@typedown/site-data", Bt = "\0@typedown/site-data", q = "@typedown/search-index", Vt = "\0@typedown/search-index", J = "@typedown/theme", Ht = "\0@typedown/theme", Y = "typedown:page-data";
1151
- //#endregion
1152
- //#region src/node/plugin/vite/virtual/utils.ts
1136
+ // src/node/plugin/vite/virtual/utils.ts
1153
1137
  function X(e, t) {
1154
1138
  let n = e.moduleGraph.getModuleById(t);
1155
1139
  if (n) {
@@ -1165,8 +1149,7 @@ function X(e, t) {
1165
1149
  });
1166
1150
  }
1167
1151
  }
1168
- //#endregion
1169
- //#region src/node/plugin/vite/virtual/app.ts
1152
+ // src/node/plugin/vite/virtual/app.ts
1170
1153
  var Ut = class {
1171
1154
  mountPath;
1172
1155
  constructor(e = "") {
@@ -1306,8 +1289,7 @@ async function Yt(e) {
1306
1289
  directoryListings: _(s.entries, t.siteTitle)
1307
1290
  };
1308
1291
  }
1309
- //#endregion
1310
- //#region src/node/lib/search-indexer/index.ts
1292
+ // src/node/lib/search-indexer/index.ts
1311
1293
  var Xt = class {
1312
1294
  index;
1313
1295
  constructor() {
@@ -1330,8 +1312,7 @@ var Xt = class {
1330
1312
  return JSON.stringify(this.index);
1331
1313
  }
1332
1314
  };
1333
- //#endregion
1334
- //#region src/node/lib/search-indexer/scan.ts
1315
+ // src/node/lib/search-indexer/scan.ts
1335
1316
  function Zt(e, t) {
1336
1317
  let n = tn(e), r = [];
1337
1318
  for (let t of n) {
@@ -1382,8 +1363,7 @@ function tn(e) {
1382
1363
  exclude: (e) => e.startsWith("_")
1383
1364
  }).map((t) => A(e, t));
1384
1365
  }
1385
- //#endregion
1386
- //#region src/node/plugin/vite/virtual/search-index.ts
1366
+ // src/node/plugin/vite/virtual/search-index.ts
1387
1367
  var nn = "\0@typedown/search-index", rn = class {
1388
1368
  indexer = new Xt();
1389
1369
  load(e) {
@@ -1408,8 +1388,7 @@ function on() {
1408
1388
  replacement: an.resolve("vue/dist/vue.runtime.esm-bundler.js")
1409
1389
  }];
1410
1390
  }
1411
- //#endregion
1412
- //#region src/node/plugin/vite/middleware/vault-assets.ts
1391
+ // src/node/plugin/vite/middleware/vault-assets.ts
1413
1392
  var sn = {
1414
1393
  jpg: "image/jpeg",
1415
1394
  jpeg: "image/jpeg",
@@ -1445,8 +1424,7 @@ function cn(t, r) {
1445
1424
  s();
1446
1425
  };
1447
1426
  }
1448
- //#endregion
1449
- //#region src/node/plugin/vite/middleware/virtual-html.ts
1427
+ // src/node/plugin/vite/middleware/virtual-html.ts
1450
1428
  function ln(t, r, i) {
1451
1429
  return (a, o, s) => {
1452
1430
  if (!a.url) return s();
@@ -1468,8 +1446,7 @@ function un(e, t) {
1468
1446
  entryScript: Lt
1469
1447
  })), e.devHtml;
1470
1448
  }
1471
- //#endregion
1472
- //#region src/node/lib/prop-schema.ts
1449
+ // src/node/lib/prop-schema.ts
1473
1450
  function dn(e, t, n) {
1474
1451
  let r = {};
1475
1452
  for (let i of e) {
@@ -1478,7 +1455,7 @@ function dn(e, t, n) {
1478
1455
  let t = n.getComponentMeta(i.absolutePath), a = {}, o = !1;
1479
1456
  for (let e of t.props) {
1480
1457
  if (e.global) continue;
1481
- let t = Z(e.schema);
1458
+ let t = Q(e.schema);
1482
1459
  if (t !== void 0) {
1483
1460
  let n = { schema: e.required ? t : u(t) };
1484
1461
  e.description && (n.description = e.description), a[e.name] = n, o = !0;
@@ -1498,34 +1475,50 @@ function dn(e, t, n) {
1498
1475
  }
1499
1476
  function fn(e) {
1500
1477
  if (!e || e.length !== 1) return;
1501
- let t = Z(e[0]);
1478
+ let t = Q(e[0]);
1502
1479
  return t === void 0 ? void 0 : {
1503
1480
  type: "array",
1504
1481
  items: t
1505
1482
  };
1506
1483
  }
1507
1484
  function pn(e, t) {
1508
- if (t && 0 < Object.keys(t).length) return hn(t);
1485
+ if (t && 0 < Object.keys(t).length) return mn(t);
1509
1486
  let n = /^(?:Record<string,\s*(\w+)>|\{\s*\[key:\s*string\]:\s*(\w+);\s*\})$/.exec(e);
1510
1487
  if (!n) return;
1511
- let r = mn(n[1] ?? n[2]);
1488
+ let r = Z(n[1] ?? n[2]);
1512
1489
  return r === void 0 ? void 0 : {
1513
1490
  type: "object",
1514
1491
  additionalProperties: r
1515
1492
  };
1516
1493
  }
1517
- function mn(e) {
1494
+ function Z(e) {
1518
1495
  switch (e) {
1519
1496
  case "string": return { type: "string" };
1520
1497
  case "number": return { type: "number" };
1521
1498
  case "boolean": return { type: "boolean" };
1522
- default: return;
1499
+ default:
1500
+ if (e.includes(" | ")) {
1501
+ let t = e.split(" | ").map((e) => e.trim()), n = t.some((e) => e === "undefined" || e === "null"), r = t.filter((e) => e !== "undefined" && e !== "null");
1502
+ if (r.length === 0) return;
1503
+ let i = [];
1504
+ for (let e of r) if (e.startsWith("\"") || e.startsWith("'")) {
1505
+ let t = e.replace(/^["']|["']$/g, "");
1506
+ i.push({ const: t });
1507
+ } else {
1508
+ let t = Z(e);
1509
+ if (t === void 0) return;
1510
+ i.push(t);
1511
+ }
1512
+ let a = i.length === 1 ? i[0] : { oneOf: i };
1513
+ return n ? u(a) : a;
1514
+ }
1515
+ return;
1523
1516
  }
1524
1517
  }
1525
- function hn(e) {
1518
+ function mn(e) {
1526
1519
  let t = {}, n = [];
1527
1520
  for (let [r, i] of Object.entries(e)) {
1528
- let e = Z(i.schema);
1521
+ let e = Q(i.schema);
1529
1522
  if (e === void 0) return;
1530
1523
  t[r] = e, i.required && n.push(r);
1531
1524
  }
@@ -1536,37 +1529,45 @@ function hn(e) {
1536
1529
  };
1537
1530
  return 0 < n.length && (r.required = n), r;
1538
1531
  }
1539
- function Z(e) {
1540
- if (typeof e == "string") return mn(e);
1532
+ function Q(e) {
1533
+ if (typeof e == "string") return Z(e);
1541
1534
  switch (e.kind) {
1542
- case "enum": return gn(e.schema);
1535
+ case "enum": return hn(e.schema);
1543
1536
  case "array": return fn(e.schema);
1544
1537
  case "object": return pn(e.type, e.schema);
1538
+ case "literal": return "value" in e ? { const: e.value } : void 0;
1545
1539
  default: return;
1546
1540
  }
1547
1541
  }
1548
- function gn(e) {
1542
+ function hn(e) {
1549
1543
  let t = e ?? [], n = t.some((e) => e === "undefined" || e === "null"), r = t.filter((e) => e !== "undefined" && e !== "null");
1550
- if (r.length !== 0) {
1551
- if (r.length === 1) {
1552
- let e = Z(r[0]);
1553
- return e === void 0 ? void 0 : n ? u(e) : e;
1554
- }
1555
- if (r.every((e) => typeof e == "object" && e.kind === "literal")) {
1556
- let e = [];
1557
- for (let t of r) {
1558
- if (typeof t == "string" || !("value" in t)) return;
1559
- e.push(t.value);
1560
- }
1561
- let t = { enum: e };
1562
- return n ? u(t) : t;
1544
+ if (r.length === 0) return;
1545
+ if (r.length === 1) {
1546
+ let e = Q(r[0]);
1547
+ return e === void 0 ? void 0 : n ? u(e) : e;
1548
+ }
1549
+ if (r.every((e) => typeof e == "object" && e.kind === "literal")) {
1550
+ let e = [];
1551
+ for (let t of r) {
1552
+ if (typeof t == "string" || !("value" in t)) return;
1553
+ e.push(t.value);
1563
1554
  }
1555
+ let t = { enum: e };
1556
+ return n ? u(t) : t;
1557
+ }
1558
+ let i = [];
1559
+ for (let e of r) {
1560
+ let t = Q(e);
1561
+ if (t === void 0) return;
1562
+ i.push(t);
1564
1563
  }
1564
+ if (i.length === 0) return;
1565
+ let a = { oneOf: i };
1566
+ return n ? u(a) : a;
1565
1567
  }
1566
- //#endregion
1567
- //#region src/node/plugin/vite/subplugins/component-contract.ts
1568
- var _n = ".typedown/components.json";
1569
- function vn(e) {
1568
+ // src/node/plugin/vite/subplugins/component-contract.ts
1569
+ var gn = ".typedown/components.json";
1570
+ function _n(e) {
1570
1571
  return {
1571
1572
  name: "vite-plugin-typedown-component-contract",
1572
1573
  async buildStart() {
@@ -1579,27 +1580,27 @@ function vn(e) {
1579
1580
  let n = e();
1580
1581
  n && n.getTdContext().then(async (e) => {
1581
1582
  let r = await e.getConfig(), i = await I(r.components, n.root);
1582
- $(n.root, i), yn(t, r.components, n.root);
1583
+ $(n.root, i), vn(t, r.components, n.root);
1583
1584
  }).catch(() => {});
1584
1585
  }
1585
1586
  };
1586
1587
  }
1587
- function yn(e, t, n) {
1588
+ function vn(e, t, n) {
1588
1589
  let r = new Set(t.filter((e) => e.kind === "explicit").map((e) => M(k.resolve(n, e.source)))), i = new Set(t.filter((e) => e.kind === "dir").map((e) => M(k.resolve(n, e.path))));
1589
1590
  for (let t of i) e.watcher.add(t);
1590
1591
  let a = (a) => {
1591
- bn(a, r, i) && (e.config.logger.info("[typedown] component changed, rebuilding contract..."), I(t, n).then((e) => $(n, e)).catch(() => {}));
1592
+ yn(a, r, i) && (e.config.logger.info("[typedown] component changed, rebuilding contract..."), I(t, n).then((e) => $(n, e)).catch(() => {}));
1592
1593
  };
1593
1594
  e.watcher.on("change", a), e.watcher.on("add", a), e.watcher.on("unlink", a);
1594
1595
  }
1595
- function bn(e, t, n) {
1596
+ function yn(e, t, n) {
1596
1597
  if (!e.endsWith(".vue")) return !1;
1597
1598
  let r = M(e);
1598
1599
  if (t.has(r)) return !0;
1599
1600
  for (let e of n) if (r.startsWith(e + "/")) return !0;
1600
1601
  return !1;
1601
1602
  }
1602
- function xn() {
1603
+ function bn() {
1603
1604
  try {
1604
1605
  let e = k.dirname(me(import.meta.url)), t = k.resolve(e, "builtin-components.json"), n = JSON.parse(P.readFileSync(t, "utf-8"));
1605
1606
  for (let e of Object.values(n)) if (typeof e == "object" && e && "source" in e) {
@@ -1611,17 +1612,16 @@ function xn() {
1611
1612
  return {};
1612
1613
  }
1613
1614
  }
1614
- var Q = xn();
1615
+ var xn = bn();
1615
1616
  function $(e, t) {
1616
- if (!(0 < Object.keys(Q).length) && t.length === 0) return;
1617
+ if (!(0 < Object.keys(xn).length) && t.length === 0) return;
1617
1618
  let n = 0 < t.length ? dn(t, e, Be(e)) : {}, r = {
1618
- ...Q,
1619
+ ...xn,
1619
1620
  ...n
1620
- }, i = k.join(e, _n);
1621
+ }, i = k.join(e, gn);
1621
1622
  P.mkdirSync(k.dirname(i), { recursive: !0 }), P.writeFileSync(i, JSON.stringify(r, null, 2));
1622
1623
  }
1623
- //#endregion
1624
- //#region src/node/plugin/vite/index.ts
1624
+ // src/node/plugin/vite/index.ts
1625
1625
  function Sn(e = {}) {
1626
1626
  let t = e.context, n, i, a, o = new Ut(e.root ?? ""), s = new Gt(), l = new Wt(e.root ?? ""), u = new Jt(), d = new rn(), f = {
1627
1627
  devHtml: void 0,
@@ -1766,7 +1766,7 @@ function Sn(e = {}) {
1766
1766
  });
1767
1767
  return [
1768
1768
  m,
1769
- vn(() => t),
1769
+ _n(() => t),
1770
1770
  h,
1771
1771
  ...ue()
1772
1772
  ];
@@ -1799,5 +1799,4 @@ function Dn(e) {
1799
1799
  console.error(` ${n} ${e} ${t.message} ${j.dim(`(${t.code})`)}`);
1800
1800
  }
1801
1801
  }
1802
- //#endregion
1803
1802
  export { K as a, q as i, W as n, J as o, Y as r, Ue as s, Sn as t };
package/dist/vite.js CHANGED
@@ -1 +1 @@
1
- export { n as PAGES_ID, r as PAGE_DATA_EVENT, i as SEARCH_INDEX_ID, a as SITE_DATA_ID, o as THEME_ID, t as typedown } from "./vite-1F0Ui0Iu.js";
1
+ export { n as PAGES_ID, r as PAGE_DATA_EVENT, i as SEARCH_INDEX_ID, a as SITE_DATA_ID, o as THEME_ID, t as typedown } from "./vite-0T8QXeWH.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "typerighter",
4
- "version": "0.52.2",
4
+ "version": "0.53.0",
5
5
  "description": "Typedown: A typed content framework.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -61,16 +61,16 @@
61
61
  "@lucide/vue": "^1.47.0",
62
62
  "@shikijs/transformers": "^4.4.3",
63
63
  "@tailwindcss/vite": "^4.3.3",
64
- "@typerighter/rpc-client": "0.52.2",
65
- "@typerighter/rpc-server": "0.52.2",
64
+ "@typerighter/rpc-client": "0.53.0",
65
+ "@typerighter/rpc-server": "0.53.0",
66
66
  "@vitejs/plugin-vue": "^6.0.10",
67
- "cac": "^7.0.0",
67
+ "cac": "^7.1.0",
68
68
  "picocolors": "^1.1.1",
69
69
  "shiki": "^4.5.0",
70
70
  "striptags": "^3.2.0",
71
71
  "tailwindcss": "^4.3.3",
72
72
  "temml": "^0.13.5",
73
- "vite": "^8.3.4",
73
+ "vite": "^8.3.5",
74
74
  "vue": "^3.5.44",
75
75
  "vue-component-meta": "^3.3.13"
76
76
  },
@@ -1,4 +0,0 @@
1
- //#region src/client/theme-default/utils/inlineRe.ts
2
- var e = /`([^`]+)`|\$([^$]+)\$/g;
3
- //#endregion
4
- export { e as t };