typerighter 0.1.5 → 0.1.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,6 +1,6 @@
1
1
  import { r as e } from "./rolldown-runtime-Dqa2HsxW.js";
2
2
  import { i as t, r as n } from "./typedown-context-C5kvAxE0.js";
3
- import { n as r, r as i, t as a } from "./vite-CrIemqE7.js";
3
+ import { n as r, r as i, t as a } from "./vite-QefJNNFo.js";
4
4
  import { n as o } from "./html-cZxXrc6x.js";
5
5
  import s from "node:path";
6
6
  import c from "node:fs/promises";
package/dist/cli.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./cli-2dHfEihR.js";
1
+ import { t as e } from "./cli-CrGQH71K.js";
2
2
  export { e as cli };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./vite-CrIemqE7.js";
2
- import "./plugin-t6FyO8wM.js";
3
- import { n as t, t as n } from "./cli-2dHfEihR.js";
1
+ import { t as e } from "./vite-QefJNNFo.js";
2
+ import "./plugin-B4GVd-re.js";
3
+ import { n as t, t as n } from "./cli-CrGQH71K.js";
4
4
  export { t as buildSite, n as cli, e as typedown };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/plugin/vite/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,MAAM,CAAC;AAqBd,wBAAgB,QAAQ,IAAK,MAAM,EAAE,CA+KpC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/plugin/vite/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,MAAM,CAAC;AAqBd,wBAAgB,QAAQ,IAAK,MAAM,EAAE,CA4JpC"}
@@ -0,0 +1 @@
1
+ import "./vite-QefJNNFo.js";
@@ -102,10 +102,6 @@ function p() {
102
102
  {
103
103
  name: "vite-plugin-typedown",
104
104
  enforce: "pre",
105
- async transformIndexHtml(t) {
106
- let i = await e.getConfig();
107
- return t.replace(/<title>.*?<\/title>/, `<title>${r(i.siteTitle)}</title>`).replace("</head>", ` <link rel="icon" type="image/svg+xml" href="${n}">\n</head>`).replace("</body>", ` <script type="module" src="/${s}"><\/script>\n</body>`);
108
- },
109
105
  resolveId(e) {
110
106
  if (e === "/@typedown/app" || e === "@typedown/app") return c;
111
107
  if (e.endsWith("__typedown_index__.td")) return e;
package/dist/vite.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./vite-CrIemqE7.js";
2
- import "./plugin-t6FyO8wM.js";
1
+ import { t as e } from "./vite-QefJNNFo.js";
2
+ import "./plugin-B4GVd-re.js";
3
3
  export { e 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.1.5",
4
+ "version": "0.1.6",
5
5
  "description": "Typedown: A typed content framework.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -74,12 +74,10 @@
74
74
  "picocolors": "^1.1.1",
75
75
  "shiki": "^4.3.1",
76
76
  "tailwindcss": "^4.3.3",
77
- "@typerighter/rpc-client": "0.1.5",
78
- "@typerighter/rpc-server": "0.1.5"
79
- },
80
- "peerDependencies": {
81
77
  "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
82
- "vue": "^3.0.0"
78
+ "vue": "^3.0.0",
79
+ "@typerighter/rpc-client": "0.1.6",
80
+ "@typerighter/rpc-server": "0.1.6"
83
81
  },
84
82
  "devDependencies": {
85
83
  "@hdnax/nuclint": "^0.17.4",
@@ -1 +0,0 @@
1
- import "./vite-CrIemqE7.js";