typerighter 0.52.2 → 0.53.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-n56VkC5b.js → app-DxLZjnyG.js} +522 -499
- package/dist/{brand-CG1fQshq.js → brand-BSCRFcrY.js} +1 -2
- package/dist/builtin-components.json +59 -1
- package/dist/{cli-C9WuA94L.js → cli-CR4zpr_R.js} +65 -59
- package/dist/cli.js +1 -1
- package/dist/client/app/index.d.ts.map +1 -1
- package/dist/client/theme-default.js +37 -62
- package/dist/client.js +1 -1
- package/dist/{context-CSvoDxVt.js → context-CPrHBM3S.js} +2 -4
- package/dist/{es-ClqUVRJn.js → es-B_QJMowB.js} +1 -2
- package/dist/index.js +2 -2
- package/dist/{init-tqXgPdqG.js → init-CScVq9H5.js} +8 -12
- package/dist/inlineRe-CoUp2DgK.js +3 -0
- package/dist/{jsonld-CRHOaFMj.js → jsonld-CByNA46l.js} +4 -7
- package/dist/node/build/builtin-contract.d.ts.map +1 -1
- package/dist/prerenderWorker.js +3 -4
- package/dist/{renderMath-C59kPnxc.js → renderMath-CxusSg92.js} +4 -5
- package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
- package/dist/shared/types/json-schema.d.ts +4 -1
- package/dist/shared/types/json-schema.d.ts.map +1 -1
- package/dist/{shared-C5ERr4vS.js → shared-v0btHVwj.js} +14 -25
- package/dist/shared.js +1 -1
- package/dist/{temml-D47Z4xZ2.js → temml-CjI4drVW.js} +3 -4
- package/dist/typerighter.css +1 -1
- package/dist/{vite-1F0Ui0Iu.js → vite-0T8QXeWH.js} +93 -94
- package/dist/vite.js +1 -1
- package/package.json +5 -5
- package/dist/inlineRe-Cn-J_E76.js +0 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/shared/brand.ts
|
|
2
2
|
var e = "m15 10c-2.7614 0-5 2.2386-5 5v98c0 2.761 2.2386 5 5 5h178c2.761 0 5-2.239 5-5v-98c0-2.7614-2.239-5-5-5zm-15 5c0-8.28427 6.71573-15 15-15h178c8.284 0 15 6.71573 15 15v98c0 8.284-6.716 15-15 15h-178c-8.28427 0-15-6.716-15-15z", t = "M30 30h70v16h-27v52h-16v-52h-27z", n = "m155 98-30-33h20v-35h20v35h20z", r = "0 0 208 128", i = "#a0522d", a = `<svg fill='none' viewBox='${r}' xmlns='http://www.w3.org/2000/svg'><path clip-rule='evenodd' d='${e}' fill-rule='evenodd' fill='${i}'/><path d='${t}' fill='${i}'/><path d='${n}' fill='${i}'/></svg>`;
|
|
3
3
|
`${encodeURIComponent(a)}`;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { r as a, t as i, e as n, i as r, n as t };
|
|
@@ -55,6 +55,49 @@
|
|
|
55
55
|
"key"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
+
"grid": {
|
|
59
|
+
"source": "./src/client/theme-default/components/custom/TdGrid.vue",
|
|
60
|
+
"props": {
|
|
61
|
+
"columns": {
|
|
62
|
+
"schema": {
|
|
63
|
+
"type": "number"
|
|
64
|
+
},
|
|
65
|
+
"description": "Number of equal columns"
|
|
66
|
+
},
|
|
67
|
+
"gap": {
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": [
|
|
70
|
+
"number",
|
|
71
|
+
"null"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"description": "Gap between cells in rem (default 1)"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"grid-cell": {
|
|
79
|
+
"source": "./src/client/theme-default/components/custom/TdGridCell.vue",
|
|
80
|
+
"props": {
|
|
81
|
+
"colSpan": {
|
|
82
|
+
"schema": {
|
|
83
|
+
"type": [
|
|
84
|
+
"number",
|
|
85
|
+
"null"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"description": "Number of grid columns this cell spans"
|
|
89
|
+
},
|
|
90
|
+
"rowSpan": {
|
|
91
|
+
"schema": {
|
|
92
|
+
"type": [
|
|
93
|
+
"number",
|
|
94
|
+
"null"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"description": "Number of grid rows this cell spans"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
58
101
|
"toc": {
|
|
59
102
|
"source": "./src/client/theme-default/components/custom/TdToc.vue",
|
|
60
103
|
"props": {
|
|
@@ -70,7 +113,22 @@
|
|
|
70
113
|
}
|
|
71
114
|
},
|
|
72
115
|
"glossary-index": {
|
|
73
|
-
"source": "./src/client/theme-default/components/custom/glossary/TdGlossaryIndex.vue"
|
|
116
|
+
"source": "./src/client/theme-default/components/custom/glossary/TdGlossaryIndex.vue",
|
|
117
|
+
"props": {
|
|
118
|
+
"mode": {
|
|
119
|
+
"schema": {
|
|
120
|
+
"oneOf": [
|
|
121
|
+
{
|
|
122
|
+
"const": "informative"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"const": "dense"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"description": "Informative (rows with excerpt/tags/time) or dense (multi-column links)"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
74
132
|
},
|
|
75
133
|
"glossary-row": {
|
|
76
134
|
"source": "./src/client/theme-default/components/custom/glossary/TdGlossaryRow.vue",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as e, t } from "./vite-
|
|
2
|
-
import { n } from "./context-
|
|
1
|
+
import { s as e, t } from "./vite-0T8QXeWH.js";
|
|
2
|
+
import { n } from "./context-CPrHBM3S.js";
|
|
3
3
|
import r from "node:path";
|
|
4
4
|
import i from "picocolors";
|
|
5
5
|
import { createServer as a } from "vite";
|
|
6
6
|
import o from "node:fs";
|
|
7
|
-
|
|
7
|
+
// ../../node_modules/.pnpm/cac@7.1.0/node_modules/cac/dist/index.js
|
|
8
8
|
function s(e) {
|
|
9
9
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
10
10
|
}
|
|
@@ -64,14 +64,14 @@ function d(e) {
|
|
|
64
64
|
}
|
|
65
65
|
function f(e) {
|
|
66
66
|
let t = {
|
|
67
|
-
alias:
|
|
67
|
+
alias: Object.create(null),
|
|
68
68
|
boolean: []
|
|
69
69
|
};
|
|
70
70
|
for (let [n, r] of e.entries()) r.names.length > 1 && (t.alias[r.names[0]] = r.names.slice(1)), r.isBoolean && (r.negated && e.some((e, t) => t !== n && e.names.some((e) => r.names.includes(e)) && typeof e.required == "boolean") || t.boolean.push(r.names[0]));
|
|
71
71
|
return t;
|
|
72
72
|
}
|
|
73
73
|
function p(e) {
|
|
74
|
-
return e.sort((e, t) =>
|
|
74
|
+
return e.sort((e, t) => t.length - e.length)[0];
|
|
75
75
|
}
|
|
76
76
|
function m(e, t) {
|
|
77
77
|
return e.length >= t ? e : `${e}${" ".repeat(t - e.length)}`;
|
|
@@ -79,7 +79,13 @@ function m(e, t) {
|
|
|
79
79
|
function h(e) {
|
|
80
80
|
return e.replaceAll(/([a-z])-([a-z])/g, (e, t, n) => t + n.toUpperCase());
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
var g = /* @__PURE__ */ new Set([
|
|
83
|
+
"__proto__",
|
|
84
|
+
"constructor",
|
|
85
|
+
"prototype"
|
|
86
|
+
]);
|
|
87
|
+
function _(e, t, n) {
|
|
88
|
+
if (t.some((e) => g.has(e))) return;
|
|
83
89
|
let r = e;
|
|
84
90
|
for (let e = 0; e < t.length; e++) {
|
|
85
91
|
let i = t[e];
|
|
@@ -94,24 +100,21 @@ function g(e, t, n) {
|
|
|
94
100
|
r = r[i];
|
|
95
101
|
}
|
|
96
102
|
}
|
|
97
|
-
function
|
|
98
|
-
for (let n of Object.
|
|
99
|
-
let r = t[n];
|
|
100
|
-
r.shouldTransform && (e[n] = [e[n]].flat(), typeof r.transformFunction == "function" && (e[n] = e[n].map(r.transformFunction)));
|
|
101
|
-
}
|
|
103
|
+
function v(e, t) {
|
|
104
|
+
for (let [n, r] of Object.entries(t)) r.shouldTransform && n in e && (e[n] = [e[n]].flat(), typeof r.transformFunction == "function" && (e[n] = e[n].map(r.transformFunction)));
|
|
102
105
|
}
|
|
103
|
-
function
|
|
106
|
+
function y(e) {
|
|
104
107
|
let t = /([^\\/]+)$/.exec(e);
|
|
105
108
|
return t ? t[1] : "";
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function b(e) {
|
|
108
111
|
return e.split(".").map((e, t) => t === 0 ? h(e) : e).join(".");
|
|
109
112
|
}
|
|
110
|
-
var
|
|
113
|
+
var x = class extends Error {
|
|
111
114
|
constructor(e) {
|
|
112
115
|
super(e), this.name = "CACError", typeof Error.captureStackTrace != "function" && (this.stack = Error(e).stack);
|
|
113
116
|
}
|
|
114
|
-
},
|
|
117
|
+
}, S = class {
|
|
115
118
|
rawName;
|
|
116
119
|
description;
|
|
117
120
|
name;
|
|
@@ -123,15 +126,18 @@ var b = class extends Error {
|
|
|
123
126
|
constructor(e, t, n) {
|
|
124
127
|
this.rawName = e, this.description = t, this.config = Object.assign({}, n), e = e.replaceAll(".*", ""), this.negated = !1, this.names = u(e).split(",").map((e) => {
|
|
125
128
|
let t = e.trim().replace(/^-{1,2}/, "");
|
|
126
|
-
return t.startsWith("no-") && (this.negated = !0, t = t.replace(/^no-/, "")),
|
|
127
|
-
}).sort((e, t) => e.length
|
|
129
|
+
return t.startsWith("no-") && (this.negated = !0, t = t.replace(/^no-/, "")), b(t);
|
|
130
|
+
}).sort((e, t) => e.length - t.length), this.name = this.names.at(-1), this.negated && this.config.default == null && (this.config.default = !0), e.includes("<") ? this.required = !0 : e.includes("[") ? this.required = !1 : this.isBoolean = !0;
|
|
128
131
|
}
|
|
129
|
-
},
|
|
132
|
+
}, C;
|
|
130
133
|
if (typeof process < "u") {
|
|
131
134
|
let e;
|
|
132
|
-
e = typeof Deno < "u" && typeof Deno.version?.deno == "string" ? "deno" : typeof Bun < "u" && typeof Bun.version == "string" ? "bun" : "node", C = `${process.platform}-${process.arch} ${e}-${process.version}
|
|
135
|
+
e = typeof Deno < "u" && typeof Deno.version?.deno == "string" ? "deno" : typeof Bun < "u" && typeof Bun.version == "string" ? "bun" : "node", C = `${process.platform}-${process.arch} ${e}-${process.version}`;
|
|
133
136
|
} else C = typeof navigator > "u" ? "unknown" : `${navigator.platform} ${navigator.userAgent}`;
|
|
134
|
-
|
|
137
|
+
function w() {
|
|
138
|
+
return typeof process > "u" ? void 0 : process.argv;
|
|
139
|
+
}
|
|
140
|
+
var T = class {
|
|
135
141
|
rawName;
|
|
136
142
|
description;
|
|
137
143
|
config;
|
|
@@ -165,7 +171,7 @@ var w = class {
|
|
|
165
171
|
return this.examples.push(e), this;
|
|
166
172
|
}
|
|
167
173
|
option(e, t, n) {
|
|
168
|
-
let r = new
|
|
174
|
+
let r = new S(e, t, n);
|
|
169
175
|
return this.options.push(r), this;
|
|
170
176
|
}
|
|
171
177
|
alias(e) {
|
|
@@ -181,10 +187,10 @@ var w = class {
|
|
|
181
187
|
return this.name === "" || this.aliasNames.includes("!");
|
|
182
188
|
}
|
|
183
189
|
get isGlobalCommand() {
|
|
184
|
-
return this instanceof
|
|
190
|
+
return this instanceof E;
|
|
185
191
|
}
|
|
186
192
|
hasOption(e) {
|
|
187
|
-
return e = e.split(".")[0], this.options.find((t) => t.names.includes(e));
|
|
193
|
+
return e = e.split(".", 1)[0], this.options.find((t) => t.names.includes(e));
|
|
188
194
|
}
|
|
189
195
|
outputHelp() {
|
|
190
196
|
let { name: e, commands: t } = this.cli, { versionNumber: n, options: r, helpCallback: i } = this.cli.globalCommand, a = [{ body: `${e}${n ? `/${n}` : ""}` }];
|
|
@@ -220,33 +226,33 @@ var w = class {
|
|
|
220
226
|
}
|
|
221
227
|
checkRequiredArgs() {
|
|
222
228
|
let e = this.args.filter((e) => e.required).length;
|
|
223
|
-
if (this.cli.args.length < e) throw new
|
|
229
|
+
if (this.cli.args.length < e) throw new x(`missing required args for command \`${this.rawName}\``);
|
|
224
230
|
}
|
|
225
231
|
checkUnknownOptions() {
|
|
226
232
|
let { options: e, globalCommand: t } = this.cli;
|
|
227
233
|
if (!this.config.allowUnknownOptions) {
|
|
228
|
-
for (let n of Object.keys(e)) if (n !== "--" && !this.hasOption(n) && !t.hasOption(n)) throw new
|
|
234
|
+
for (let n of Object.keys(e)) if (n !== "--" && !this.hasOption(n) && !t.hasOption(n)) throw new x(`Unknown option \`${n.length > 1 ? `--${n}` : `-${n}`}\``);
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
checkOptionValue() {
|
|
232
238
|
let { options: e, globalCommand: t } = this.cli, n = [...t.options, ...this.options];
|
|
233
239
|
for (let t of n) {
|
|
234
|
-
let r = e[t.name.split(".")[0]];
|
|
240
|
+
let r = e[t.name.split(".", 1)[0]];
|
|
235
241
|
if (t.required) {
|
|
236
242
|
let e = n.some((e) => e.negated && e.names.includes(t.name));
|
|
237
|
-
if (r === !0 || r === !1 && !e) throw new
|
|
243
|
+
if (r === !0 || r === !1 && !e) throw new x(`option \`${t.rawName}\` value is missing`);
|
|
238
244
|
}
|
|
239
245
|
}
|
|
240
246
|
}
|
|
241
247
|
checkUnusedArgs() {
|
|
242
248
|
let e = this.args.some((e) => e.variadic) ? Infinity : this.args.length;
|
|
243
|
-
if (e < this.cli.args.length) throw new
|
|
249
|
+
if (e < this.cli.args.length) throw new x(`Unused args: ${this.cli.args.slice(e).map((e) => `\`${e}\``).join(", ")}`);
|
|
244
250
|
}
|
|
245
|
-
},
|
|
251
|
+
}, E = class extends T {
|
|
246
252
|
constructor(e) {
|
|
247
253
|
super("@@global@@", "", {}, e);
|
|
248
254
|
}
|
|
249
|
-
},
|
|
255
|
+
}, D = class extends EventTarget {
|
|
250
256
|
name;
|
|
251
257
|
commands;
|
|
252
258
|
globalCommand;
|
|
@@ -258,13 +264,13 @@ var w = class {
|
|
|
258
264
|
showHelpOnExit;
|
|
259
265
|
showVersionOnExit;
|
|
260
266
|
constructor(e = "") {
|
|
261
|
-
super(), this.name = e, this.commands = [], this.rawArgs = [], this.args = [], this.options = {}, this.globalCommand = new
|
|
267
|
+
super(), this.name = e, this.commands = [], this.rawArgs = [], this.args = [], this.options = {}, this.globalCommand = new E(this), this.globalCommand.usage("<command> [options]");
|
|
262
268
|
}
|
|
263
269
|
usage(e) {
|
|
264
270
|
return this.globalCommand.usage(e), this;
|
|
265
271
|
}
|
|
266
272
|
command(e, t, n) {
|
|
267
|
-
let r = new
|
|
273
|
+
let r = new T(e, t || "", n, this);
|
|
268
274
|
return r.globalCommand = this.globalCommand, this.commands.push(r), r;
|
|
269
275
|
}
|
|
270
276
|
option(e, t, n) {
|
|
@@ -293,10 +299,11 @@ var w = class {
|
|
|
293
299
|
}
|
|
294
300
|
parse(e, { run: t = !0 } = {}) {
|
|
295
301
|
if (!e) {
|
|
296
|
-
|
|
297
|
-
|
|
302
|
+
let t = w();
|
|
303
|
+
if (!t) throw Error("No argv provided and runtime process argv is not available.");
|
|
304
|
+
e = t;
|
|
298
305
|
}
|
|
299
|
-
this.rawArgs = e, this.name ||= e[1] ?
|
|
306
|
+
this.rawArgs = e, this.name ||= e[1] ? y(e[1]) : "cli";
|
|
300
307
|
let n = !0;
|
|
301
308
|
for (let t of this.commands) {
|
|
302
309
|
let r = this.mri(e.slice(2), t), i = r.args[0];
|
|
@@ -333,14 +340,14 @@ var w = class {
|
|
|
333
340
|
let o = l(e, r);
|
|
334
341
|
o = Object.keys(o).reduce((e, t) => ({
|
|
335
342
|
...e,
|
|
336
|
-
[
|
|
343
|
+
[b(t)]: o[t]
|
|
337
344
|
}), { _: [] });
|
|
338
345
|
let s = o._, c = { "--": i }, u = t && t.config.ignoreOptionDefaultValue ? t.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue, d = Object.create(null);
|
|
339
346
|
for (let e of n) {
|
|
340
347
|
if (!u && e.config.default !== void 0) for (let t of e.names) c[t] = e.config.default;
|
|
341
348
|
Array.isArray(e.config.type) && d[e.name] === void 0 && (d[e.name] = Object.create(null), d[e.name].shouldTransform = !0, d[e.name].transformFunction = e.config.type[0]);
|
|
342
349
|
}
|
|
343
|
-
for (let e of Object.
|
|
350
|
+
for (let [e, t] of Object.entries(o)) e !== "_" && (_(c, e.split("."), t), v(c, d));
|
|
344
351
|
return {
|
|
345
352
|
args: s,
|
|
346
353
|
options: c
|
|
@@ -355,17 +362,17 @@ var w = class {
|
|
|
355
362
|
t.variadic ? r.push(e.slice(n)) : r.push(e[n]);
|
|
356
363
|
}), r.push(t), n.commandAction.apply(this, r);
|
|
357
364
|
}
|
|
358
|
-
},
|
|
359
|
-
function
|
|
360
|
-
let i =
|
|
365
|
+
}, O = (e = "") => new D(e), k = i.bold(i.cyan("[typerighter]"));
|
|
366
|
+
function A() {
|
|
367
|
+
let i = O("typerighter");
|
|
361
368
|
process.on("uncaughtException", (e) => {
|
|
362
|
-
|
|
369
|
+
j("runtime", e);
|
|
363
370
|
}), process.on("unhandledRejection", (e) => {
|
|
364
|
-
|
|
371
|
+
j("runtime", e instanceof Error ? e : Error(String(e)));
|
|
365
372
|
}), 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, n) => {
|
|
366
|
-
n.verbose && console.log(`${
|
|
373
|
+
n.verbose && console.log(`${k} cli v0.53.0 (built 11/2/2026, 1:20:15 AM)\n`), n.fresh && (process.env.TYPEDOWN_NO_CACHE = "1");
|
|
367
374
|
let r = await a({
|
|
368
|
-
root:
|
|
375
|
+
root: N(e),
|
|
369
376
|
configFile: !1,
|
|
370
377
|
plugins: [t()],
|
|
371
378
|
server: {
|
|
@@ -376,8 +383,8 @@ function k() {
|
|
|
376
383
|
});
|
|
377
384
|
await r.listen(), r.printUrls();
|
|
378
385
|
}), i.command("build [root]", "Build for production").option("--outDir <dir>", "Output directory", { default: "dist" }).option("--base <path>", "Base public path").option("--verbose", "Print version and build info").action(async (t, r) => {
|
|
379
|
-
let i = n(
|
|
380
|
-
r.verbose && await
|
|
386
|
+
let i = n(N(t));
|
|
387
|
+
r.verbose && await M(i);
|
|
381
388
|
try {
|
|
382
389
|
await e(i, {
|
|
383
390
|
outDir: r.outDir,
|
|
@@ -388,10 +395,10 @@ function k() {
|
|
|
388
395
|
}
|
|
389
396
|
process.exit(0);
|
|
390
397
|
}), 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) => {
|
|
391
|
-
let { initialize: n } = await import("./init-
|
|
392
|
-
await n(
|
|
398
|
+
let { initialize: n } = await import("./init-CScVq9H5.js");
|
|
399
|
+
await n(N(e), t);
|
|
393
400
|
}), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, t) => {
|
|
394
|
-
let r =
|
|
401
|
+
let r = N(e), i = n(r);
|
|
395
402
|
try {
|
|
396
403
|
let e = (await (await i.getTdContext()).getConfig()).basePath, { preview: n } = await import("vite");
|
|
397
404
|
(await n({
|
|
@@ -403,8 +410,8 @@ function k() {
|
|
|
403
410
|
i.dispose();
|
|
404
411
|
}
|
|
405
412
|
}), i.command("check [root]", "Check vault for errors").option("--fix", "Auto-fix formatting issues").option("--verbose", "Print version and build info").action(async (e, t) => {
|
|
406
|
-
let i = n(
|
|
407
|
-
t.verbose && await
|
|
413
|
+
let i = n(N(e));
|
|
414
|
+
t.verbose && await M(i);
|
|
408
415
|
let { logger: a } = i;
|
|
409
416
|
try {
|
|
410
417
|
a.start("Checking vault...");
|
|
@@ -426,18 +433,17 @@ function k() {
|
|
|
426
433
|
} finally {
|
|
427
434
|
i.dispose();
|
|
428
435
|
}
|
|
429
|
-
}), i.help(), i.version("0.
|
|
436
|
+
}), i.help(), i.version("0.53.0"), i.parse();
|
|
430
437
|
}
|
|
431
|
-
function
|
|
438
|
+
function j(e, t) {
|
|
432
439
|
let n = t instanceof Error ? t.message : String(t);
|
|
433
|
-
console.error(`\n${
|
|
440
|
+
console.error(`\n${k} ${i.red(`${e} failed`)}\n`), console.error(i.red(n)), t instanceof Error && t.stack && console.error(i.red(t.stack)), console.error(""), process.exit(1);
|
|
434
441
|
}
|
|
435
|
-
async function
|
|
442
|
+
async function M(e) {
|
|
436
443
|
let t = await (await e.getTdContext()).rpc.getVersion();
|
|
437
|
-
console.log(`${
|
|
444
|
+
console.log(`${k} cli v0.53.0 (built 11/2/2026, 1:20:15 AM)`), console.log(`${k} rpc v${t}`), console.log("");
|
|
438
445
|
}
|
|
439
|
-
function
|
|
446
|
+
function N(e) {
|
|
440
447
|
return r.resolve(e ?? process.cwd());
|
|
441
448
|
}
|
|
442
|
-
|
|
443
|
-
export { k as t };
|
|
449
|
+
export { A as t };
|
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as cli } from "./cli-
|
|
1
|
+
export { t as cli } from "./cli-CR4zpr_R.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,SAAS,EAEd,KAAK,GAAG,EACR,KAAK,UAAU,EAChB,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,SAAS,EAEd,KAAK,GAAG,EACR,KAAK,UAAU,EAChB,MAAM,KAAK,CAAC;AAab,OAAO,EACuB,KAAK,MAAM,EACxC,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,SAAS,EAAE,QAAQ,GACpB,MAAM,UAAU,CAAC;AACl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