@optique/clack 1.3.0-dev.2444 → 1.3.0-dev.2452

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 CHANGED
@@ -26,6 +26,8 @@ Documentation
26
26
  -------------
27
27
 
28
28
  For full documentation, visit <https://optique.dev/integrations/clack>.
29
+ The guide includes dependency-derived prompt options with
30
+ `derivePromptConfig()`.
29
31
 
30
32
 
31
33
  Quick start
package/dist/index.d.cts CHANGED
@@ -152,7 +152,8 @@ type BasePromptConfig<T> = T extends boolean ? ConfirmConfig : T extends number
152
152
  *
153
153
  * Derived prompt configurations resolve against this union: the adapter's
154
154
  * configuration type supplies the resolver's return type, so a resolver
155
- * may produce any prompt kind the adapter supports.
155
+ * may produce any prompt kind the adapter supports. The resolver author must
156
+ * choose a kind whose result matches the wrapped parser's value type.
156
157
  *
157
158
  * @since 1.3.0
158
159
  */
package/dist/index.d.ts CHANGED
@@ -152,7 +152,8 @@ type BasePromptConfig<T> = T extends boolean ? ConfirmConfig : T extends number
152
152
  *
153
153
  * Derived prompt configurations resolve against this union: the adapter's
154
154
  * configuration type supplies the resolver's return type, so a resolver
155
- * may produce any prompt kind the adapter supports.
155
+ * may produce any prompt kind the adapter supports. The resolver author must
156
+ * choose a kind whose result matches the wrapped parser's value type.
156
157
  *
157
158
  * @since 1.3.0
158
159
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/clack",
3
- "version": "1.3.0-dev.2444",
3
+ "version": "1.3.0-dev.2452",
4
4
  "description": "Interactive prompt support for Optique via Clack",
5
5
  "keywords": [
6
6
  "CLI",
@@ -62,12 +62,12 @@
62
62
  "sideEffects": false,
63
63
  "dependencies": {
64
64
  "@clack/prompts": "^1.6.0",
65
- "@optique/core": "1.3.0-dev.2444+f99a5325",
66
- "@optique/prompt": "1.3.0-dev.2444+f99a5325"
65
+ "@optique/core": "1.3.0-dev.2452+0b677f5c",
66
+ "@optique/prompt": "1.3.0-dev.2452+0b677f5c"
67
67
  },
68
68
  "devDependencies": {
69
- "@optique/env": "1.3.0-dev.2444+f99a5325",
70
- "@optique/run": "1.3.0-dev.2444+f99a5325",
69
+ "@optique/env": "1.3.0-dev.2452+0b677f5c",
70
+ "@optique/run": "1.3.0-dev.2452+0b677f5c",
71
71
  "@types/node": "^24.0.0",
72
72
  "fast-check": "^4.7.0",
73
73
  "tsdown": "^0.13.0",