@optique/core 1.4.0-dev.2675 → 1.4.0-dev.2676
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 +2 -2
- package/skills/optique/SKILL.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/core",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2676",
|
|
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.4.0-dev.
|
|
240
|
+
"@optique/env": "1.4.0-dev.2676+e0287473",
|
|
241
241
|
"@types/node": "^24.0.0",
|
|
242
242
|
"fast-check": "^4.7.0",
|
|
243
243
|
"tsdown": "^0.13.0",
|
package/skills/optique/SKILL.md
CHANGED
|
@@ -248,10 +248,10 @@ Common mistakes checklist
|
|
|
248
248
|
- Use structured `message` values for errors and descriptions.
|
|
249
249
|
- Register contexts for `bindEnv()`, `bindConfig()`, `bindDerivedDefault()`,
|
|
250
250
|
and `bindKeyring()` in the runner's `contexts` option.
|
|
251
|
+
- Use `bindEnv().readFallback()` for env/default in error handlers.
|
|
251
252
|
- Enable `showEnvironment` for env-only help; set `documentation.description`.
|
|
252
|
-
-
|
|
253
|
-
factories.
|
|
254
|
-
`dependency()` and derive the next parser from it.
|
|
253
|
+
- Keep multi-level dependency graphs with `dependency()` rather than
|
|
254
|
+
duplicating one-level factories.
|
|
255
255
|
- Do not probe runtime capabilities eagerly before constructing a prompt
|
|
256
256
|
parser. Put synchronous or asynchronous checks in the prompt config's
|
|
257
257
|
`when` field and provide a typed `otherwise` value. The check then runs
|