typerighter 0.55.1 → 0.55.2

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,4 +1,4 @@
1
- import { s as e, t } from "./vite-B9tiBEhg.js";
1
+ import { s as e, t } from "./vite-UR3fMhaK.js";
2
2
  import { n } from "./context-CPrHBM3S.js";
3
3
  import r from "node:path";
4
4
  import i from "picocolors";
@@ -370,7 +370,7 @@ function A() {
370
370
  }), process.on("unhandledRejection", (e) => {
371
371
  j("runtime", e instanceof Error ? e : Error(String(e)));
372
372
  }), 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) => {
373
- n.verbose && console.log(`${k} cli v0.55.1 (built 11/6/2026, 6:35:58 AM)\n`), n.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
373
+ n.verbose && console.log(`${k} cli v0.55.2 (built 11/6/2026, 8:03:54 AM)\n`), n.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
374
374
  let r = await a({
375
375
  root: N(e),
376
376
  configFile: !1,
@@ -395,7 +395,7 @@ function A() {
395
395
  }
396
396
  process.exit(0);
397
397
  }), 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) => {
398
- let { initialize: n } = await import("./init-DLnxbm8u.js");
398
+ let { initialize: n } = await import("./init-D8IGJCaj.js");
399
399
  await n(N(e), t);
400
400
  }), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, t) => {
401
401
  let r = N(e), i = n(r);
@@ -433,7 +433,7 @@ function A() {
433
433
  } finally {
434
434
  i.dispose();
435
435
  }
436
- }), i.help(), i.version("0.55.1"), i.parse();
436
+ }), i.help(), i.version("0.55.2"), i.parse();
437
437
  }
438
438
  function j(e, t) {
439
439
  let n = t instanceof Error ? t.message : String(t);
@@ -441,7 +441,7 @@ function j(e, t) {
441
441
  }
442
442
  async function M(e) {
443
443
  let t = await (await e.getTdContext()).rpc.getVersion();
444
- console.log(`${k} cli v0.55.1 (built 11/6/2026, 6:35:58 AM)`), console.log(`${k} rpc v${t}`), console.log("");
444
+ console.log(`${k} cli v0.55.2 (built 11/6/2026, 8:03:54 AM)`), console.log(`${k} rpc v${t}`), console.log("");
445
445
  }
446
446
  function N(e) {
447
447
  return r.resolve(e ?? process.cwd());
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- export { t as cli } from "./cli-Cfn9ef18.js";
1
+ export { t as cli } from "./cli-CptK1Fy8.js";
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./vite-B9tiBEhg.js";
2
- import { t as s } from "./cli-Cfn9ef18.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./vite-UR3fMhaK.js";
2
+ import { t as s } from "./cli-CptK1Fy8.js";
3
3
  export { n as PAGES_ID, i as PAGE_DATA_EVENT, t as SEARCH_INDEX_ID, e as SITE_DATA_ID, r as THEME_ID, a as buildSite, s as cli, o as typedown };
@@ -751,7 +751,7 @@ function Ge(e) {
751
751
  check: "typerighter check"
752
752
  },
753
753
  devDependencies: {
754
- typerighter: "^0.55.1",
754
+ typerighter: "^0.55.2",
755
755
  typescript: "^5.0.0"
756
756
  }
757
757
  }, void 0, 2) + "\n";
@@ -1 +1 @@
1
- {"version":3,"file":"html-template.d.ts","sourceRoot":"","sources":["../../../src/node/lib/html-template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,mBAAmB;IAClC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,wBAAgB,kBAAkB,CAAE,OAAO,EAAE,mBAAmB,GAAG,MAAM,CA6ExE"}
1
+ {"version":3,"file":"html-template.d.ts","sourceRoot":"","sources":["../../../src/node/lib/html-template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,mBAAmB;IAClC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,wBAAgB,kBAAkB,CAAE,OAAO,EAAE,mBAAmB,GAAG,MAAM,CA4ExE"}
@@ -1,7 +1,7 @@
1
1
  import { F as e, J as t, Y as n, c as r, i, k as a, x as o } from "./shared-BK7uzYmy.js";
2
2
  // src/node/lib/html-template.ts
3
3
  function s(e) {
4
- let t = r(e.title), n = r(e.description), i = e.siteTitle !== void 0 && e.title !== e.siteTitle ? `${t} - ${r(e.siteTitle)}` : t, a = e.origin ?? "", o = e.canonicalUrl === void 0 ? void 0 : a + e.canonicalUrl, s = o === void 0 ? "" : `\n <link rel="canonical" href="${r(o)}">`, c = o === void 0 ? "" : `\n <meta property="og:url" content="${r(o)}">`, l = e.ogImagePath === void 0 ? `${a}${e.base}og-image.png` : `${a}${e.ogImagePath}`, u = e.author === void 0 ? "" : `\n <meta name="author" content="${r(e.author)}">`, d = e.siteTitle === void 0 ? "" : `\n <meta property="og:site_name" content="${r(e.siteTitle)}">`, f = a === "" ? "" : `\n <link rel="alternate" type="application/rss+xml" title="${e.siteTitle === void 0 ? "RSS Feed" : r(e.siteTitle)}" href="${a}${e.base}feed.xml">`, p = (e.jsonLdBlocks ?? []).map((e) => `\n <script type="application/ld+json">${e}<\/script>`).join(""), m = e.headExtra === void 0 ? "" : e.headExtra + "\n";
4
+ let t = r(e.title), n = r(e.description), i = e.siteTitle !== void 0 && e.title !== e.siteTitle ? `${t} - ${r(e.siteTitle)}` : t, a = e.origin ?? "", o = e.canonicalUrl, s = o === void 0 ? "" : `\n <link rel="canonical" href="${r(o)}">`, c = o === void 0 ? "" : `\n <meta property="og:url" content="${r(o)}">`, l = e.ogImagePath === void 0 ? `${a}${e.base}og-image.png` : `${a}${e.ogImagePath}`, u = e.author === void 0 ? "" : `\n <meta name="author" content="${r(e.author)}">`, d = e.siteTitle === void 0 ? "" : `\n <meta property="og:site_name" content="${r(e.siteTitle)}">`, f = a === "" ? "" : `\n <link rel="alternate" type="application/rss+xml" title="${e.siteTitle === void 0 ? "RSS Feed" : r(e.siteTitle)}" href="${a}${e.base}feed.xml">`, p = (e.jsonLdBlocks ?? []).map((e) => `\n <script type="application/ld+json">${e}<\/script>`).join(""), m = e.headExtra === void 0 ? "" : e.headExtra + "\n";
5
5
  return `<!DOCTYPE html>
6
6
  <html lang="${e.lang ?? "en"}">
7
7
  <head>
@@ -1,5 +1,5 @@
1
1
  import { F as e } from "./shared-BK7uzYmy.js";
2
- import { n as t, t as n } from "./page-BktMady3.js";
2
+ import { n as t, t as n } from "./page-CRsjLGU-.js";
3
3
  import { pathToFileURL as r } from "node:url";
4
4
  import { parentPort as i, workerData as a } from "node:worker_threads";
5
5
  // src/node/build/prerenderWorker.ts
@@ -1,5 +1,5 @@
1
1
  import { $ as e, B as t, D as n, F as r, H as i, I as a, O as o, R as s, T as c, U as l, Z as u, _ as d, b as f, c as p, d as m, et as h, g, h as _, i as v, nt as y, p as b, q as x, rt as S, v as C, x as w, y as T, z as E } from "./shared-BK7uzYmy.js";
2
- import { n as D, t as O } from "./page-BktMady3.js";
2
+ import { n as D, t as O } from "./page-CRsjLGU-.js";
3
3
  import { t as k } from "./temml-CjI4drVW.js";
4
4
  import { a as ee, i as te, n as ne, r as re } from "./context-CPrHBM3S.js";
5
5
  import { t as ie } from "./es-B_QJMowB.js";
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-B9tiBEhg.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-UR3fMhaK.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.55.1",
4
+ "version": "0.55.2",
5
5
  "description": "Typedown: A typed content framework.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -61,8 +61,8 @@
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.55.1",
65
- "@typerighter/rpc-server": "0.55.1",
64
+ "@typerighter/rpc-client": "0.55.2",
65
+ "@typerighter/rpc-server": "0.55.2",
66
66
  "@vitejs/plugin-vue": "^6.0.10",
67
67
  "cac": "^7.1.0",
68
68
  "picocolors": "^1.1.1",