typerighter 0.36.0 → 0.38.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.
- package/dist/{app-I-BVWGvX.js → app-Dp7FPdlU.js} +1 -1
- package/dist/{cli-gWL2iV9t.js → cli-CAX9mFxL.js} +9 -8
- package/dist/cli.js +1 -1
- package/dist/client/theme-default.js +438 -422
- package/dist/client.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{init-B4qgEdbu.js → init-CshzGwys.js} +3 -3
- package/dist/node/cli/index.d.ts.map +1 -1
- package/dist/node/lib/typedown-context.d.ts.map +1 -1
- package/dist/node/plugin/vite/index.d.ts.map +1 -1
- package/dist/node/plugin/vite/middleware/vault-assets.d.ts.map +1 -1
- package/dist/shared/utils/path.d.ts +1 -0
- package/dist/shared/utils/path.d.ts.map +1 -1
- package/dist/{shared-hpG9wf_j.js → shared-DwnQV3ZZ.js} +67 -62
- package/dist/shared.js +2 -2
- package/dist/typerighter.css +1 -1
- package/dist/{vite-3b1YMuxJ.js → vite-tIS_9gV0.js} +207 -217
- package/dist/vite.js +1 -1
- package/package.json +8 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as t, M as n, S as r, i } from "./shared-
|
|
1
|
+
import { A as e, C as t, M as n, S as r, i } from "./shared-DwnQV3ZZ.js";
|
|
2
2
|
import { t as a } from "./es-ClqUVRJn.js";
|
|
3
3
|
import { Fragment as o, computed as s, createApp as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, h, inject as g, markRaw as _, mergeProps as v, nextTick as y, openBlock as b, provide as x, reactive as ee, readonly as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as te, shallowRef as ne, toDisplayString as E, unref as D, vModelText as re, watch as ie, withDirectives as ae, withKeys as oe, withModifiers as se } from "vue";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@lucide+vue@1.44.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/defaultAttributes.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, t as n } from "./vite-
|
|
1
|
+
import { a as e, i as t, t as n } from "./vite-tIS_9gV0.js";
|
|
2
2
|
import r from "node:path";
|
|
3
3
|
import i from "picocolors";
|
|
4
4
|
import { createServer as a } from "vite";
|
|
@@ -361,14 +361,15 @@ function k() {
|
|
|
361
361
|
A("runtime", e);
|
|
362
362
|
}), process.on("unhandledRejection", (e) => {
|
|
363
363
|
A("runtime", e instanceof Error ? e : Error(String(e)));
|
|
364
|
-
}), i.command("[root]", "Start dev server").alias("dev").option("--port <port>", "Port to listen on").option("--host", "Expose to network").option("--verbose", "Print version and build info").action(async (e, t) => {
|
|
365
|
-
t.verbose && console.log(`${O} cli v0.
|
|
364
|
+
}), 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, t) => {
|
|
365
|
+
t.verbose && console.log(`${O} cli v0.38.0 (built 9/20/2026, 2:51:27 AM)\n`), t.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
|
|
366
366
|
let r = await a({
|
|
367
367
|
root: M(e),
|
|
368
368
|
configFile: !1,
|
|
369
369
|
plugins: [n()],
|
|
370
370
|
server: {
|
|
371
|
-
port: t.port,
|
|
371
|
+
port: t.port === void 0 ? void 0 : Number(t.port),
|
|
372
|
+
strictPort: t.port !== void 0,
|
|
372
373
|
host: t.host
|
|
373
374
|
}
|
|
374
375
|
});
|
|
@@ -385,7 +386,7 @@ function k() {
|
|
|
385
386
|
i.dispose();
|
|
386
387
|
}
|
|
387
388
|
}), 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) => {
|
|
388
|
-
let { initialize: n } = await import("./init-
|
|
389
|
+
let { initialize: n } = await import("./init-CshzGwys.js");
|
|
389
390
|
await n(M(e), t);
|
|
390
391
|
}), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, n) => {
|
|
391
392
|
let r = M(e), i = t(r);
|
|
@@ -394,7 +395,7 @@ function k() {
|
|
|
394
395
|
(await t({
|
|
395
396
|
root: r,
|
|
396
397
|
base: e,
|
|
397
|
-
preview: { port: n.port }
|
|
398
|
+
preview: { port: n.port === void 0 ? void 0 : Number(n.port) }
|
|
398
399
|
})).printUrls();
|
|
399
400
|
} finally {
|
|
400
401
|
i.dispose();
|
|
@@ -423,7 +424,7 @@ function k() {
|
|
|
423
424
|
} finally {
|
|
424
425
|
i.dispose();
|
|
425
426
|
}
|
|
426
|
-
}), i.help(), i.version("0.
|
|
427
|
+
}), i.help(), i.version("0.38.0"), i.parse();
|
|
427
428
|
}
|
|
428
429
|
function A(e, t) {
|
|
429
430
|
let n = t instanceof Error ? t.message : String(t);
|
|
@@ -431,7 +432,7 @@ function A(e, t) {
|
|
|
431
432
|
}
|
|
432
433
|
async function j(e) {
|
|
433
434
|
let t = await (await e.getTdContext()).rpc.getVersion();
|
|
434
|
-
console.log(`${O} cli v0.
|
|
435
|
+
console.log(`${O} cli v0.38.0 (built 9/20/2026, 2:51:27 AM)`), console.log(`${O} rpc v${t}`), console.log("");
|
|
435
436
|
}
|
|
436
437
|
function M(e) {
|
|
437
438
|
return r.resolve(e ?? process.cwd());
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./cli-
|
|
1
|
+
import { t as e } from "./cli-CAX9mFxL.js";
|
|
2
2
|
export { e as cli };
|