@metamesh/cli 0.0.0-stage → 0.14.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/CHANGELOG.md +39 -0
- package/LICENSE +200 -0
- package/README.md +86 -2
- package/dist/authoring/artifacts.d.ts +15 -0
- package/dist/authoring/artifacts.d.ts.map +1 -0
- package/dist/authoring/artifacts.js +347 -0
- package/dist/authoring/artifacts.js.map +1 -0
- package/dist/authoring/capture/render-client.js +4222 -0
- package/dist/authoring/capture/render-client.js.LEGAL.txt +9 -0
- package/dist/authoring/capture/render-client.js.map +7 -0
- package/dist/authoring/check.d.ts +4 -0
- package/dist/authoring/check.d.ts.map +1 -0
- package/dist/authoring/check.js +118 -0
- package/dist/authoring/check.js.map +1 -0
- package/dist/authoring/environment.d.ts +29 -0
- package/dist/authoring/environment.d.ts.map +1 -0
- package/dist/authoring/environment.js +182 -0
- package/dist/authoring/environment.js.map +1 -0
- package/dist/authoring/errors.d.ts +13 -0
- package/dist/authoring/errors.d.ts.map +1 -0
- package/dist/authoring/errors.js +43 -0
- package/dist/authoring/errors.js.map +1 -0
- package/dist/authoring/render-client.d.ts +6 -0
- package/dist/authoring/render-client.d.ts.map +1 -0
- package/dist/authoring/render-client.js +55 -0
- package/dist/authoring/render-client.js.map +1 -0
- package/dist/authoring/render-scene.d.ts +22 -0
- package/dist/authoring/render-scene.d.ts.map +1 -0
- package/dist/authoring/render-scene.js +139 -0
- package/dist/authoring/render-scene.js.map +1 -0
- package/dist/authoring/render-types.d.ts +81 -0
- package/dist/authoring/render-types.d.ts.map +1 -0
- package/dist/authoring/render-types.js +2 -0
- package/dist/authoring/render-types.js.map +1 -0
- package/dist/authoring/render.d.ts +23 -0
- package/dist/authoring/render.d.ts.map +1 -0
- package/dist/authoring/render.js +243 -0
- package/dist/authoring/render.js.map +1 -0
- package/dist/authoring/run.d.ts +7 -0
- package/dist/authoring/run.d.ts.map +1 -0
- package/dist/authoring/run.js +308 -0
- package/dist/authoring/run.js.map +1 -0
- package/dist/authoring/types.d.ts +175 -0
- package/dist/authoring/types.d.ts.map +1 -0
- package/dist/authoring/types.js +3 -0
- package/dist/authoring/types.js.map +1 -0
- package/dist/authoring/worker.d.ts +15 -0
- package/dist/authoring/worker.d.ts.map +1 -0
- package/dist/authoring/worker.js +163 -0
- package/dist/authoring/worker.js.map +1 -0
- package/dist/authoring.d.ts +12 -0
- package/dist/authoring.d.ts.map +1 -0
- package/dist/authoring.js +9 -0
- package/dist/authoring.js.map +1 -0
- package/dist/docs/guides/agent-authoring.md +240 -0
- package/dist/docs/guides/package.md +87 -0
- package/dist/docs/manifest.json +554 -0
- package/dist/docs/reference/authoring/AUTHORING_PROTOCOL_VERSION.md +9 -0
- package/dist/docs/reference/authoring/AuthoringDiagnostic.md +22 -0
- package/dist/docs/reference/authoring/AuthoringEnvironment.md +15 -0
- package/dist/docs/reference/authoring/AuthoringError.md +16 -0
- package/dist/docs/reference/authoring/AuthoringFailure-type.md +18 -0
- package/dist/docs/reference/authoring/AuthoringKind.md +10 -0
- package/dist/docs/reference/authoring/AuthoringPhase.md +10 -0
- package/dist/docs/reference/authoring/CapturedBuffer.md +14 -0
- package/dist/docs/reference/authoring/CapturedGeometry.md +14 -0
- package/dist/docs/reference/authoring/CapturedPart.md +19 -0
- package/dist/docs/reference/authoring/CapturedResource.md +15 -0
- package/dist/docs/reference/authoring/CapturedRun.md +14 -0
- package/dist/docs/reference/authoring/CapturedRunManifest.md +40 -0
- package/dist/docs/reference/authoring/CheckOptions.md +18 -0
- package/dist/docs/reference/authoring/CheckSuccess.md +16 -0
- package/dist/docs/reference/authoring/DocumentationEntry.md +20 -0
- package/dist/docs/reference/authoring/DocumentationManifest.md +15 -0
- package/dist/docs/reference/authoring/DocumentationSearchResult.md +13 -0
- package/dist/docs/reference/authoring/InstalledAuthoringPackage.md +15 -0
- package/dist/docs/reference/authoring/RenderCamera.md +22 -0
- package/dist/docs/reference/authoring/RenderFormat.md +10 -0
- package/dist/docs/reference/authoring/RenderOptions.md +20 -0
- package/dist/docs/reference/authoring/RenderResult.md +15 -0
- package/dist/docs/reference/authoring/RenderView.md +10 -0
- package/dist/docs/reference/authoring/RenderedImage.md +23 -0
- package/dist/docs/reference/authoring/RunOptions.md +25 -0
- package/dist/docs/reference/authoring/RunSuccess.md +14 -0
- package/dist/docs/reference/authoring/authoringFailure-value.md +10 -0
- package/dist/docs/reference/authoring/checkAuthoringSource.md +10 -0
- package/dist/docs/reference/authoring/discoverAuthoringEnvironment.md +13 -0
- package/dist/docs/reference/authoring/inspectCapturedRun.md +15 -0
- package/dist/docs/reference/authoring/installAuthoringBrowser.md +13 -0
- package/dist/docs/reference/authoring/readCapturedRun.md +10 -0
- package/dist/docs/reference/authoring/renderCapturedRun.md +13 -0
- package/dist/docs/reference/authoring/runAuthoringSource.md +13 -0
- package/dist/docs/reference/authoring/searchAuthoringDocumentation.md +16 -0
- package/dist/docs/reference/authoring/showAuthoringDocumentation.md +12 -0
- package/dist/metamesh.d.ts +3 -0
- package/dist/metamesh.d.ts.map +1 -0
- package/dist/metamesh.js +183 -0
- package/dist/metamesh.js.map +1 -0
- package/package.json +63 -3
package/dist/metamesh.js
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFile } from "node:fs/promises";
|
|
3
|
+
import { resolve } from "node:path";
|
|
4
|
+
import { Command, CommanderError, InvalidArgumentError, Option } from "commander";
|
|
5
|
+
import { AuthoringError, authoringFailure, isRecord } from "./authoring/errors.js";
|
|
6
|
+
import { AUTHORING_PROTOCOL_VERSION, } from "./authoring/types.js";
|
|
7
|
+
/** Keep the repository's strict scalar-option policy without importing unpublished tools. */
|
|
8
|
+
function valueOption(flags, description, choices) {
|
|
9
|
+
const option = new Option(flags, description);
|
|
10
|
+
if (choices)
|
|
11
|
+
option.choices([...choices]);
|
|
12
|
+
const parse = option.parseArg;
|
|
13
|
+
return option.argParser((value, previous) => {
|
|
14
|
+
if (previous !== undefined)
|
|
15
|
+
throw new InvalidArgumentError("option may only be provided once");
|
|
16
|
+
return parse ? parse(value, previous) : value;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const projectFor = (options) => resolve(options.project ?? process.cwd());
|
|
20
|
+
const entryOptions = (options, entry) => ({
|
|
21
|
+
entry,
|
|
22
|
+
kind: options.kind, // Commander requires and validates this option before the action.
|
|
23
|
+
project: projectFor(options),
|
|
24
|
+
...(options.tsconfig === undefined ? {} : { tsconfig: options.tsconfig }),
|
|
25
|
+
});
|
|
26
|
+
async function readObject(project, file) {
|
|
27
|
+
if (file === undefined)
|
|
28
|
+
return undefined;
|
|
29
|
+
const value = JSON.parse(await readFile(resolve(project, file), "utf8"));
|
|
30
|
+
if (!isRecord(value))
|
|
31
|
+
throw new AuthoringError("invocation", "INVALID_JSON_INPUT", "Parameter and limit files must contain JSON objects.");
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
function humanResult(command, result) {
|
|
35
|
+
if (isRecord(result) && result.success === false && Array.isArray(result.diagnostics))
|
|
36
|
+
return `${result.diagnostics.map((issue) => `${issue.code}: ${issue.message}`).join("\n")}${typeof result.runDirectory === "string" ? `\nAttempt: ${result.runDirectory}` : ""}\n`;
|
|
37
|
+
if (command === "environment") {
|
|
38
|
+
const environment = result;
|
|
39
|
+
return `MetaMesh authoring protocol ${environment.authoringProtocolVersion}\nProject: ${environment.project}\n${environment.packages.map((pkg) => `${pkg.name} ${pkg.version} (${pkg.documentCount} topics)\n ${pkg.manifestPath}`).join("\n")}\n`;
|
|
40
|
+
}
|
|
41
|
+
if (command === "docs" && Array.isArray(result))
|
|
42
|
+
return `${result.map(({ id, summary }) => `${id}\n ${summary}`).join("\n")}\n`;
|
|
43
|
+
if (isRecord(result) && typeof result.markdown === "string")
|
|
44
|
+
return `${result.markdown}\n`;
|
|
45
|
+
if (command === "check" && isRecord(result) && result.success === true)
|
|
46
|
+
return `TypeScript check passed: ${String(result.entry)}\n`;
|
|
47
|
+
if ((command === "run" || command === "inspect") &&
|
|
48
|
+
isRecord(result) &&
|
|
49
|
+
isRecord(result.manifest)) {
|
|
50
|
+
const manifest = result.manifest;
|
|
51
|
+
return `${manifest.parts.length} parts; ${manifest.stats.vertices} vertices; ${manifest.stats.triangles} triangles; ${manifest.stats.volumeMm3.toFixed(3)} mm³\nCaptured: ${String(result.runDirectory ?? result.directory)}\n${manifest.diagnostics.map(({ severity, message }) => `${severity}: ${message}\n`).join("")}${isRecord(result.selectedPart) ? `Part: ${JSON.stringify(result.selectedPart)}\n` : ""}`;
|
|
52
|
+
}
|
|
53
|
+
return `${JSON.stringify(result, null, 2)}\n`;
|
|
54
|
+
}
|
|
55
|
+
async function main() {
|
|
56
|
+
const args = process.argv.slice(2);
|
|
57
|
+
const json = args.includes("--json");
|
|
58
|
+
let help = "";
|
|
59
|
+
const program = new Command("metamesh")
|
|
60
|
+
.description("Check, generate, inspect, and render local MetaMesh models.")
|
|
61
|
+
.option("--json", "emit one structured result on stdout")
|
|
62
|
+
.addOption(valueOption("--project <directory>", "resolve packages and paths from this project"))
|
|
63
|
+
.allowExcessArguments(false)
|
|
64
|
+
.configureHelp({ showGlobalOptions: true })
|
|
65
|
+
.configureOutput({
|
|
66
|
+
writeOut: (text) => {
|
|
67
|
+
help += text;
|
|
68
|
+
},
|
|
69
|
+
writeErr: () => { },
|
|
70
|
+
})
|
|
71
|
+
.addHelpText("after", "\nLocal author source executes with your account's permissions; this is not a sandbox.")
|
|
72
|
+
.exitOverride();
|
|
73
|
+
program.action(() => {
|
|
74
|
+
program.help();
|
|
75
|
+
});
|
|
76
|
+
const command = (parent, name, description) => parent.command(name).description(description).allowExcessArguments(false);
|
|
77
|
+
const action = (target, handler, format = target.name()) => {
|
|
78
|
+
target.action(async () => {
|
|
79
|
+
const result = await handler(target.optsWithGlobals(), target.args);
|
|
80
|
+
if (isRecord(result) && result.success === false)
|
|
81
|
+
process.exitCode = typeof result.exitCode === "number" ? result.exitCode : 2;
|
|
82
|
+
process.stdout.write(json ? `${JSON.stringify(result)}\n` : humanResult(format, result));
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
const entryCommand = (name, description) => command(program, name, description)
|
|
86
|
+
.argument("<entry>", "local TypeScript module")
|
|
87
|
+
.addOption(valueOption("--kind <kind>", "entry module contract", [
|
|
88
|
+
"model",
|
|
89
|
+
"generator",
|
|
90
|
+
]).makeOptionMandatory())
|
|
91
|
+
.addOption(valueOption("--tsconfig <file>", "override the nearest TypeScript configuration"));
|
|
92
|
+
action(command(program, "environment", "discover installed packages and documentation"), async (options) => (await import("./authoring/environment.js")).discoverAuthoringEnvironment(projectFor(options)));
|
|
93
|
+
const docs = command(program, "docs", "search and read installed version-matched documentation");
|
|
94
|
+
docs.action(() => {
|
|
95
|
+
docs.help();
|
|
96
|
+
});
|
|
97
|
+
action(command(docs, "search", "search bounded topic and symbol metadata")
|
|
98
|
+
.argument("<query...>")
|
|
99
|
+
.addOption(valueOption("--limit <count>", "maximum results, 1–50 (default: 10)")), async (options, query) => (await import("./authoring/environment.js")).searchAuthoringDocumentation(query.join(" "), {
|
|
100
|
+
project: projectFor(options),
|
|
101
|
+
...(options.limit === undefined ? {} : { limit: Number(options.limit) }),
|
|
102
|
+
}), "docs");
|
|
103
|
+
action(command(docs, "show", "read one installed topic").argument("<id>"), async (options, [id]) => (await import("./authoring/environment.js")).showAuthoringDocumentation(id, projectFor(options)));
|
|
104
|
+
action(entryCommand("check", "check TypeScript without evaluating source"), async (options, [entry]) => (await import("./authoring/check.js")).checkAuthoringSource(entryOptions(options, entry)));
|
|
105
|
+
action(entryCommand("run", "check, execute, and capture a fresh result")
|
|
106
|
+
.addOption(valueOption("--params <file>", "JSON parameter overrides (default: {})"))
|
|
107
|
+
.addOption(valueOption("--font-fixtures <file>", "local immutable font descriptors"))
|
|
108
|
+
.addOption(valueOption("--output <parent>", "parent for a unique run directory"))
|
|
109
|
+
.addOption(valueOption("--timeout <milliseconds>", "execution deadline (default: 30000)"))
|
|
110
|
+
.addOption(valueOption("--limits <file>", "JSON overrides lowering engine resource limits"))
|
|
111
|
+
.option("--export-3mf", "export this captured snapshot as 3MF"), async (options, [entry]) => {
|
|
112
|
+
const project = projectFor(options);
|
|
113
|
+
const limits = await readObject(project, options.limits);
|
|
114
|
+
return (await import("./authoring/run.js")).runAuthoringSource({
|
|
115
|
+
...entryOptions(options, entry),
|
|
116
|
+
params: (await readObject(project, options.params)) ?? {},
|
|
117
|
+
...(limits === undefined ? {} : { limits }),
|
|
118
|
+
...(options.fontFixtures === undefined ? {} : { fontFixtures: options.fontFixtures }),
|
|
119
|
+
...(options.output === undefined ? {} : { output: options.output }),
|
|
120
|
+
...(options.timeout === undefined ? {} : { timeoutMs: Number(options.timeout) }),
|
|
121
|
+
export3mf: options.export3mf ?? false,
|
|
122
|
+
onLog: (text) => process.stderr.write(text),
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
action(command(program, "inspect", "read captured measurements and provenance")
|
|
126
|
+
.argument("<run-directory>")
|
|
127
|
+
.addOption(valueOption("--part <id>", "select a semantic part ID")), async (options, [directory]) => (await import("./authoring/artifacts.js")).inspectCapturedRun(resolve(projectFor(options), directory), options.part));
|
|
128
|
+
action(command(program, "render", "render captured geometry without executing author code")
|
|
129
|
+
.argument("<run-directory>")
|
|
130
|
+
.addOption(valueOption("--views <views>", "comma-separated isometric,front,top,right (default: isometric)"))
|
|
131
|
+
.addOption(valueOption("--width <pixels>", "image width (default: 1024)"))
|
|
132
|
+
.addOption(valueOption("--height <pixels>", "image height (default: 1024)"))
|
|
133
|
+
.addOption(valueOption("--format <format>", "image encoding (default: png)", ["png", "webp"]))
|
|
134
|
+
.option("--transparent", "use a transparent background")
|
|
135
|
+
.addOption(valueOption("--background <hex-color>", "six-digit RGB background").conflicts("transparent"))
|
|
136
|
+
.addOption(valueOption("--output <parent>", "parent for a unique capture directory")), async (options, [directory]) => (await import("./authoring/render.js")).renderCapturedRun(resolve(projectFor(options), directory), {
|
|
137
|
+
...(options.views === undefined
|
|
138
|
+
? {}
|
|
139
|
+
: { views: options.views.split(",") }),
|
|
140
|
+
...(options.width === undefined ? {} : { width: Number(options.width) }),
|
|
141
|
+
...(options.height === undefined ? {} : { height: Number(options.height) }),
|
|
142
|
+
...(options.format === undefined ? {} : { format: options.format }),
|
|
143
|
+
...(options.transparent
|
|
144
|
+
? { background: "transparent" }
|
|
145
|
+
: options.background === undefined
|
|
146
|
+
? {}
|
|
147
|
+
: { background: options.background }),
|
|
148
|
+
...(options.output === undefined
|
|
149
|
+
? {}
|
|
150
|
+
: { outputDirectory: resolve(projectFor(options), options.output) }),
|
|
151
|
+
}));
|
|
152
|
+
const browser = command(program, "browser", "set up the optional pinned capture browser");
|
|
153
|
+
browser.action(() => {
|
|
154
|
+
browser.help();
|
|
155
|
+
});
|
|
156
|
+
action(command(browser, "install", "explicitly install pinned Chromium"), async () => (await import("./authoring/render.js")).installAuthoringBrowser());
|
|
157
|
+
action(command(program, "setup", "print skill installation and project-instruction guidance"), () => ({
|
|
158
|
+
success: true,
|
|
159
|
+
authoringProtocolVersion: AUTHORING_PROTOCOL_VERSION,
|
|
160
|
+
installation: "pnpm dlx skills@1.5.22 add https://github.com/metamesh-studio/metamesh-skills --skill metamesh-developer",
|
|
161
|
+
publication: "The operator must publish the canonical skills repository before this GitHub installation command is available.",
|
|
162
|
+
instructions: "Use the metamesh-developer skill. Run metamesh environment --json in this project, consult installed docs with metamesh docs search/show, then check, run, and inspect the captured result. Render relevant views before declaring geometry work complete.",
|
|
163
|
+
}));
|
|
164
|
+
try {
|
|
165
|
+
await program.parseAsync(args, { from: "user" });
|
|
166
|
+
}
|
|
167
|
+
catch (error) {
|
|
168
|
+
if (error instanceof CommanderError && error.exitCode === 0) {
|
|
169
|
+
process.stdout.write(json ? `${JSON.stringify({ success: true, help })}\n` : help);
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
const failure = authoringFailure(error instanceof CommanderError
|
|
173
|
+
? new AuthoringError("invocation", "INVALID_ARGUMENTS", error.message.replace(/^error:\s*/i, ""))
|
|
174
|
+
: error, "invocation");
|
|
175
|
+
process.exitCode = failure.exitCode;
|
|
176
|
+
if (json)
|
|
177
|
+
process.stdout.write(`${JSON.stringify(failure)}\n`);
|
|
178
|
+
else
|
|
179
|
+
process.stderr.write(`${failure.diagnostics.map(({ code, message }) => `${code}: ${message}`).join("\n")}\n`);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
await main();
|
|
183
|
+
//# sourceMappingURL=metamesh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metamesh.js","sourceRoot":"","sources":["../src/metamesh.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEnF,OAAO,EACL,0BAA0B,GAM3B,MAAM,sBAAsB,CAAC;AAsB9B,6FAA6F;AAC7F,SAAS,WAAW,CAAC,KAAa,EAAE,WAAmB,EAAE,OAA2B;IAClF,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IAC9C,IAAI,OAAO;QAAE,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAC1C,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC9B,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,KAAa,EAAE,QAAiB,EAAE,EAAE;QAC3D,IAAI,QAAQ,KAAK,SAAS;YAAE,MAAM,IAAI,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;QAC/F,OAAO,KAAK,CAAC,CAAC,C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I,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,66 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamesh/cli",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Local MetaMesh authoring CLI and reusable Node tools for checking, captured generation, inspection, and rendering.",
|
|
4
|
+
"version": "0.14.0",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/JasonKoolman/metamesh.git",
|
|
9
|
+
"directory": "packages/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/JasonKoolman/metamesh#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/JasonKoolman/metamesh/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"CHANGELOG.md",
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public",
|
|
23
|
+
"registry": "https://registry.npmjs.org/"
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"metamesh": "./dist/metamesh.js"
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
"./authoring": {
|
|
30
|
+
"types": "./dist/authoring.d.ts",
|
|
31
|
+
"import": "./dist/authoring.js"
|
|
32
|
+
},
|
|
33
|
+
"./docs/manifest.json": "./dist/docs/manifest.json"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@metamesh/testkit": "0.14.0",
|
|
37
|
+
"commander": "15.0.0",
|
|
38
|
+
"esbuild": "^0.28.2",
|
|
39
|
+
"playwright": "1.64.1",
|
|
40
|
+
"three": "0.186.1",
|
|
41
|
+
"typescript": "6.0.3"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@metamesh/generator-sdk": "0.14.0",
|
|
45
|
+
"@metamesh/modeling": "0.14.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"@metamesh/generator-sdk": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@metamesh/config": "0.0.0",
|
|
54
|
+
"@metamesh/generator-sdk": "0.14.0",
|
|
55
|
+
"@metamesh/modeling": "0.14.0",
|
|
56
|
+
"vitest": "^5.0.5",
|
|
57
|
+
"@types/node": "^24.19.2",
|
|
58
|
+
"@types/three": "0.186.0"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "node ../../scripts/clean-dist.mjs && tsc -p tsconfig.build.json && node scripts/build-renderer.mjs && node ../../scripts/package-docs/build.mjs cli",
|
|
62
|
+
"lint": "eslint .",
|
|
63
|
+
"test": "vitest run src",
|
|
64
|
+
"typecheck": "tsc --noEmit --pretty false"
|
|
65
|
+
}
|
|
6
66
|
}
|