typerighter 0.2.0 → 0.2.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.
- package/dist/{cli-ClyVBBVW.js → cli-Dq8LM0iJ.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +3 -3
- package/dist/node/plugin/vite/alias.d.ts +3 -0
- package/dist/node/plugin/vite/alias.d.ts.map +1 -0
- package/dist/node/plugin/vite/index.d.ts.map +1 -1
- package/dist/plugin-6igA2bKK.js +1 -0
- package/dist/{vite-Di36EFu3.js → vite-BbjHwKzf.js} +17 -9
- package/dist/vite.js +2 -2
- package/package.json +3 -3
- package/dist/plugin-DStheS2n.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, c as t } from "./constants-BN1OmC7K.js";
|
|
2
|
-
import { a as n, i as r, n as i, o as a, r as o, t as s } from "./vite-
|
|
2
|
+
import { a as n, i as r, n as i, o as a, r as o, t as s } from "./vite-BbjHwKzf.js";
|
|
3
3
|
import c from "node:path";
|
|
4
4
|
import l from "node:fs/promises";
|
|
5
5
|
import { build as u, createLogger as d, createServer as f } from "vite";
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./cli-
|
|
1
|
+
import { t as e } from "./cli-Dq8LM0iJ.js";
|
|
2
2
|
export { e as cli };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./vite-
|
|
2
|
-
import "./plugin-
|
|
3
|
-
import { n as t, t as n } from "./cli-
|
|
1
|
+
import { t as e } from "./vite-BbjHwKzf.js";
|
|
2
|
+
import "./plugin-6igA2bKK.js";
|
|
3
|
+
import { n as t, t as n } from "./cli-Dq8LM0iJ.js";
|
|
4
4
|
export { t as buildSite, n as cli, e as typedown };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../../../src/node/plugin/vite/alias.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACb,MAAM,MAAM,CAAC;AAKd,wBAAgB,cAAc,IAAK,YAAY,CAW9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/plugin/vite/index.ts"],"names":[],"mappings":"
|
|
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;AAwBd,wBAAgB,QAAQ,IAAK,MAAM,EAAE,CA6KpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./vite-BbjHwKzf.js";
|
|
@@ -3,7 +3,6 @@ import { t as l$2 } from "./chunk-DfAF0w94-EwUSVR-h.js";
|
|
|
3
3
|
import { n as isLinkToPage, r as EXTERNAL_URL_RE, t as isExternal } from "./shared-DzTfF-_d.js";
|
|
4
4
|
import { r as getResourceTitle } from "./content-BM3UKxcc.js";
|
|
5
5
|
import { r as BRAND_FAVICON_URI } from "./brand-CeSqpEQ2.js";
|
|
6
|
-
import { createRequire } from "node:module";
|
|
7
6
|
import tailwindcss from "@tailwindcss/vite";
|
|
8
7
|
import vue from "@vitejs/plugin-vue";
|
|
9
8
|
import path from "node:path";
|
|
@@ -13,6 +12,7 @@ import MarkdownIt from "markdown-it";
|
|
|
13
12
|
import { createHighlighter, guessEmbeddedLanguages, isSpecialLang } from "shiki";
|
|
14
13
|
import fs from "node:fs";
|
|
15
14
|
import { URL as URL$1 } from "node:url";
|
|
15
|
+
import { createRequire } from "node:module";
|
|
16
16
|
//#region __vite-browser-external
|
|
17
17
|
var require___vite_browser_external = /* @__PURE__ */ __commonJSMin(((s, u) => {
|
|
18
18
|
u.exports = {};
|
|
@@ -9589,8 +9589,19 @@ export async function render(url) {
|
|
|
9589
9589
|
`;
|
|
9590
9590
|
}
|
|
9591
9591
|
//#endregion
|
|
9592
|
-
//#region src/node/plugin/vite/
|
|
9592
|
+
//#region src/node/plugin/vite/alias.ts
|
|
9593
9593
|
var require$1 = createRequire(import.meta.url);
|
|
9594
|
+
function resolveAliases() {
|
|
9595
|
+
return [{
|
|
9596
|
+
find: "vue/server-renderer",
|
|
9597
|
+
replacement: require$1.resolve("vue/server-renderer")
|
|
9598
|
+
}, {
|
|
9599
|
+
find: "vue",
|
|
9600
|
+
replacement: require$1.resolve("vue/dist/vue.runtime.esm-bundler.js")
|
|
9601
|
+
}];
|
|
9602
|
+
}
|
|
9603
|
+
//#endregion
|
|
9604
|
+
//#region src/node/plugin/vite/index.ts
|
|
9594
9605
|
function typedown() {
|
|
9595
9606
|
let s;
|
|
9596
9607
|
return [
|
|
@@ -9598,13 +9609,10 @@ function typedown() {
|
|
|
9598
9609
|
name: "vite-plugin-typedown",
|
|
9599
9610
|
enforce: "pre",
|
|
9600
9611
|
config() {
|
|
9601
|
-
return {
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
}
|
|
9605
|
-
find: "vue",
|
|
9606
|
-
replacement: require$1.resolve("vue/dist/vue.runtime.esm-bundler.js")
|
|
9607
|
-
}] } };
|
|
9612
|
+
return {
|
|
9613
|
+
resolve: { alias: resolveAliases() },
|
|
9614
|
+
ssr: { noExternal: ["typerighter"] }
|
|
9615
|
+
};
|
|
9608
9616
|
},
|
|
9609
9617
|
resolveId(s) {
|
|
9610
9618
|
if (s === "/@typedown/app" || s === "@typedown/app") return RESOLVED_VIRTUAL_APP_ID;
|
package/dist/vite.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./vite-
|
|
2
|
-
import "./plugin-
|
|
1
|
+
import { t as e } from "./vite-BbjHwKzf.js";
|
|
2
|
+
import "./plugin-6igA2bKK.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.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "Typedown: A typed content framework.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"tailwindcss": "^4.3.3",
|
|
77
77
|
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
78
78
|
"vue": "^3.0.0",
|
|
79
|
-
"@typerighter/rpc-client": "0.2.
|
|
80
|
-
"@typerighter/rpc-server": "0.2.
|
|
79
|
+
"@typerighter/rpc-client": "0.2.1",
|
|
80
|
+
"@typerighter/rpc-server": "0.2.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@hdnax/nuclint": "^0.17.4",
|
package/dist/plugin-DStheS2n.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./vite-Di36EFu3.js";
|