typerighter 0.5.0 → 0.5.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-Bw90hv7G.js → app-DZLkaV9-.js} +1 -1
- package/dist/{brand-CmL-6h9U.js → brand-C6VJ3Tpf.js} +0 -4
- package/dist/{cli-9LGeV7cc.js → cli-CAvgSpyx.js} +5 -5
- package/dist/cli.js +1 -1
- package/dist/client/theme-default.js +254 -267
- package/dist/client.js +1 -1
- package/dist/{constants-Bo603IxE.js → constants-BVW9e5iH.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{init-a4nECqEz.js → init-Dfj-Yf9i.js} +3 -3
- package/dist/shared/utils/url.d.ts.map +1 -1
- package/dist/typerighter.css +1 -1
- package/dist/{vite-DaD9YRkN.js → vite-DPRlAukM.js} +2 -2
- package/dist/vite.js +1 -1
- package/package.json +3 -3
|
@@ -146,7 +146,7 @@ function I(e, { replace: t = !1 } = {}) {
|
|
|
146
146
|
}
|
|
147
147
|
function L(e) {
|
|
148
148
|
let t = new URL(e, "http://a.com");
|
|
149
|
-
return t.pathname = t.pathname.replace(
|
|
149
|
+
return t.pathname = t.pathname.replace(/\.html$/, ""), t.pathname + t.search + t.hash;
|
|
150
150
|
}
|
|
151
151
|
//#endregion
|
|
152
152
|
//#region src/client/app/components/Content.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as e } from "./constants-
|
|
2
|
-
import { C as t, D as n, E as r, S as i, d as a, f as o, l as s } from "./brand-
|
|
3
|
-
import { n as c, t as l } from "./vite-
|
|
1
|
+
import { o as e } from "./constants-BVW9e5iH.js";
|
|
2
|
+
import { C as t, D as n, E as r, S as i, d as a, f as o, l as s } from "./brand-C6VJ3Tpf.js";
|
|
3
|
+
import { n as c, t as l } from "./vite-DPRlAukM.js";
|
|
4
4
|
import u from "node:path";
|
|
5
5
|
import d from "picocolors";
|
|
6
6
|
import { build as f, createServer as p } from "vite";
|
|
@@ -620,7 +620,7 @@ function J() {
|
|
|
620
620
|
r.dispose();
|
|
621
621
|
}
|
|
622
622
|
}), t.command("init [root]", "Scaffold a new project").action(async (e) => {
|
|
623
|
-
let { initialize: t } = await import("./init-
|
|
623
|
+
let { initialize: t } = await import("./init-Dfj-Yf9i.js");
|
|
624
624
|
await t(X(e));
|
|
625
625
|
}), t.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, t) => {
|
|
626
626
|
let { preview: n } = await import("vite");
|
|
@@ -650,7 +650,7 @@ function J() {
|
|
|
650
650
|
} finally {
|
|
651
651
|
r.dispose();
|
|
652
652
|
}
|
|
653
|
-
}), t.help(), t.version("0.5.
|
|
653
|
+
}), t.help(), t.version("0.5.1"), t.parse();
|
|
654
654
|
}
|
|
655
655
|
function Y(e, t) {
|
|
656
656
|
let n = t instanceof Error ? t.message : String(t);
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./cli-
|
|
1
|
+
import { t as e } from "./cli-CAvgSpyx.js";
|
|
2
2
|
export { e as cli };
|