@optique/core 1.3.0-dev.2561 → 1.3.0-dev.2563

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/core",
3
- "version": "1.3.0-dev.2561",
3
+ "version": "1.3.0-dev.2563",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",
@@ -237,7 +237,7 @@
237
237
  },
238
238
  "sideEffects": false,
239
239
  "devDependencies": {
240
- "@optique/env": "1.3.0-dev.2561+da42901b",
240
+ "@optique/env": "1.3.0-dev.2563+56de9f1b",
241
241
  "@types/node": "^24.0.0",
242
242
  "fast-check": "^4.7.0",
243
243
  "tsdown": "^0.13.0",
@@ -18,8 +18,7 @@ combinatorial parser model and common pitfalls offline.
18
18
  Core rules
19
19
  ----------
20
20
 
21
- - Use `run()` from *@optique/run* for applications; use `parse()` or
22
- `runParser()` for embedded and custom runtimes.
21
+ - Use `run()` from *@optique/run* for apps, `parse()`/`runParser()` to embed.
23
22
  - With `runParser()`, `onError(exitCode, error)` supplies a structured
24
23
  `Message`; `help.onShow(exitCode, page)` supplies the final `DocPage`. Both
25
24
  follow output. Supply `stdout: () => {}` for custom help rendering. See
@@ -28,6 +27,7 @@ Core rules
28
27
  for parser results, `captureRun()` from *@optique/testing/run* for runner
29
28
  output/exits, `captureProgramRun()` from *@optique/testing/discover* for
30
29
  dispatch, and `createCliRunner()` from *@optique/testing/cli* for real CLIs.
30
+ Pin `colors`/`maxWidth` for output assertions; defaults use the environment.
31
31
  - Compose parsers with `object()`, `tuple()`, `seq()`, `or()`, `merge()`, and
32
32
  modifiers. Do not hand-write argument scanners around Optique parsers.
33
33
  - Let TypeScript infer the parsed value type from the parser. Do not