mmt-testlight 1.42.2-pre → 1.42.4
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/README.md +11 -0
- package/dist/cli.js +467 -378
- package/dist/guides/offline-agent.md +1 -1
- package/esbuild.mjs +13 -9
- package/package.json +17 -15
- package/src/aiDocs.ts +21 -62
- package/src/cli.ts +50 -42
- package/src/pathNormalize.d.ts +9 -0
- package/src/runArgs.ts +2 -9
- package/src/selfUpdate.test.ts +43 -0
- package/src/selfUpdate.ts +11 -1
- package/src/validateMmt.ts +4 -36
- package/src/pkg-entry.cjs +0 -1387
package/README.md
CHANGED
|
@@ -13,7 +13,16 @@ testlight run test.mmt.yaml -o result.json
|
|
|
13
13
|
|
|
14
14
|
Commands:
|
|
15
15
|
- `testlight run <file>`
|
|
16
|
+
- `testlight print-js <file>`
|
|
17
|
+
- `testlight docs [topic]`
|
|
18
|
+
- `testlight scaffold test --from <api.mmt>`
|
|
19
|
+
- `testlight validate <file>`
|
|
20
|
+
- `testlight suggest asserts --from <api.mmt>`
|
|
21
|
+
- `testlight doc <file>`
|
|
16
22
|
- `testlight version-info`
|
|
23
|
+
- `testlight update`
|
|
24
|
+
|
|
25
|
+
npm (`mmt-testlight`) and GitHub/Homebrew standalone binaries use the same CLI.
|
|
17
26
|
|
|
18
27
|
## Build
|
|
19
28
|
|
|
@@ -24,6 +33,8 @@ npm run build
|
|
|
24
33
|
|
|
25
34
|
## Bundle standalone binaries (pkg)
|
|
26
35
|
|
|
36
|
+
Uses `@yao-pkg/pkg` in SEA mode (Node 22, Brotli-compressed archive). Requires Node ≥ 22 on the machine that builds binaries.
|
|
37
|
+
|
|
27
38
|
```
|
|
28
39
|
npm run pkg
|
|
29
40
|
```
|