typerighter 0.36.0 → 0.38.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/{app-I-BVWGvX.js → app-Bnln5XCo.js} +387 -390
- package/dist/{cli-gWL2iV9t.js → cli-DEOw0tox.js} +9 -8
- package/dist/cli.js +1 -1
- package/dist/client/theme-default.js +807 -824
- package/dist/client.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{init-B4qgEdbu.js → init-BhEVxNbG.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/constants.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-l3GF0JOc.js} +67 -62
- package/dist/shared.js +2 -2
- package/dist/typerighter.css +1 -1
- package/dist/{vite-3b1YMuxJ.js → vite-DACnySpv.js} +207 -217
- package/dist/vite.js +1 -1
- package/package.json +8 -5
|
@@ -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-DACnySpv.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.1 (built 9/20/2026, 8:50:23 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-BhEVxNbG.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.1"), 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.1 (built 9/20/2026, 8:50:23 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-DEOw0tox.js";
|
|
2
2
|
export { e as cli };
|