typerighter 0.40.4 → 0.40.6

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,7 +1,7 @@
1
- import { D as e, E as t, F as n, H as r, K as i, L as a, P as o, R as s, V as c, X as l, Y as u, _ as d, b as f, c as p, d as m, g as h, h as g, i as _, p as v, q as y, v as b, w as x, y as S, z as C } from "./shared-D_kuT4zK.js";
2
- import { a as w, i as T, n as E, o as ee, r as D, s as O, t as te } from "./jsonld-CjCAKIGY.js";
1
+ import { D as e, E as t, F as n, H as r, K as i, L as a, P as o, R as s, V as c, X as l, Y as u, _ as d, b as f, c as p, d as m, g as h, h as g, i as _, p as v, q as y, v as b, w as x, y as S, z as C } from "./shared-DMNZD2i1.js";
2
+ import { a as w, i as T, n as E, o as ee, r as D, s as O, t as te } from "./jsonld-BoEW-5KW.js";
3
3
  import { t as ne } from "./temml-DZbhOfRE.js";
4
- import { a as re, i as ie, n as ae, r as oe } from "./context-CNTdcpo4.js";
4
+ import { a as re, i as ie, n as ae, r as oe } from "./context-CSvoDxVt.js";
5
5
  import { t as se } from "./es-ClqUVRJn.js";
6
6
  import k, { resolve as A } from "node:path";
7
7
  import j from "picocolors";
@@ -83,8 +83,8 @@ Sitemap: ${e}${t}sitemap.xml
83
83
  //#endregion
84
84
  //#region src/node/build/seo/feed.ts
85
85
  function Te(e, t, n, r, i, a) {
86
- let o = [...e].filter((e) => e.metadata.mtime > 0).sort((e, t) => t.metadata.mtime - e.metadata.mtime).slice(0, 50).map((e) => {
87
- let r = c(e.filepath), i = `${n}${t}${r}`, a = new Date(e.metadata.mtime).toUTCString(), o = p(e.label ?? r), s = e.excerpt === void 0 ? "" : `<![CDATA[${e.excerpt}]]>`;
86
+ let o = [...e].filter((e) => e.fileMetadata.mtime > 0).sort((e, t) => t.fileMetadata.mtime - e.fileMetadata.mtime).slice(0, 50).map((e) => {
87
+ let r = c(e.filepath), i = `${n}${t}${r}`, a = new Date(e.fileMetadata.mtime).toUTCString(), o = p(e.label ?? r), s = e.excerpt === void 0 ? "" : `<![CDATA[${e.excerpt}]]>`;
88
88
  return ` <item>
89
89
  <title>${o}</title>
90
90
  <link>${p(i)}</link>
@@ -317,7 +317,7 @@ async function L(e, t = {}) {
317
317
  let S = /* @__PURE__ */ new Map();
318
318
  for (let e of d) {
319
319
  let t = c(e.filepath), n = t === "index" ? "/" : `/${t}`;
320
- S.set(n, e.metadata.mtime);
320
+ S.set(n, e.fileMetadata.mtime);
321
321
  }
322
322
  let C = Ce(v, y, p, S), w = [N.writeFile(k.join(i, "sitemap.xml"), C)];
323
323
  p !== void 0 && (w.push(N.writeFile(k.join(i, "robots.txt"), we(p, y))), w.push(N.writeFile(k.join(i, "feed.xml"), Te(d, y, p, l.siteTitle, l.siteDescription, l.lang)))), await Promise.all(w);
@@ -816,8 +816,8 @@ async function W(e, t, n) {
816
816
  frontmatter: t.header ?? {},
817
817
  headings: gt(t.headings),
818
818
  title: r,
819
- metadata: t.metadata,
820
- meta: t.meta
819
+ fileMetadata: t.fileMetadata,
820
+ seoMetadata: t.seoMetadata
821
821
  };
822
822
  }
823
823
  async function ht(e, t, n) {
package/dist/vite.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./vite-SLq36-Ev.js";
1
+ import { n as e, t } from "./vite-BlO1hmkO.js";
2
2
  export { e as generateClientAppEntry, t as typedown };
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.40.4",
4
+ "version": "0.40.6",
5
5
  "description": "Typedown: A typed content framework.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -60,8 +60,8 @@
60
60
  "@lucide/vue": "^1.47.0",
61
61
  "@shikijs/transformers": "^4.4.3",
62
62
  "@tailwindcss/vite": "^4.3.3",
63
- "@typerighter/rpc-client": "0.40.4",
64
- "@typerighter/rpc-server": "0.40.4",
63
+ "@typerighter/rpc-client": "0.40.6",
64
+ "@typerighter/rpc-server": "0.40.6",
65
65
  "@vitejs/plugin-vue": "^6.0.9",
66
66
  "cac": "^7.0.0",
67
67
  "picocolors": "^1.1.1",