@gunshi/shared 1.0.0-rc.1 → 1.0.0-rc.2
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/lib/index.d.ts +3 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -1056,9 +1056,11 @@ interface RenderingOptions<G extends GunshiParamsConstraint = DefaultGunshiParam
|
|
|
1056
1056
|
usage?: ((ctx: Readonly<CommandContext<G>>) => Promise<string>) | null;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Validation errors rendering configuration
|
|
1059
|
-
* - `null`: Disable rendering
|
|
1059
|
+
* - `null`: Disable rendering. `cli()` rejects with the validation errors, for the caller to report them
|
|
1060
1060
|
* - `function`: Use custom renderer
|
|
1061
1061
|
* - `undefined` (when omitted): Use default renderer
|
|
1062
|
+
*
|
|
1063
|
+
* See {@linkcode CliOptions.renderValidationErrors} for where the rendered message goes.
|
|
1062
1064
|
*/
|
|
1063
1065
|
validationErrors?: ((ctx: Readonly<CommandContext<G>>, error: AggregateError) => Promise<string>) | null;
|
|
1064
1066
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/shared",
|
|
3
3
|
"description": "shared utils for gunshi",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@gunshi/resources": "1.0.0-rc.
|
|
53
|
+
"@gunshi/resources": "1.0.0-rc.2",
|
|
54
54
|
"deno": "^2.7.14",
|
|
55
|
-
"gunshi": "1.0.0-rc.
|
|
55
|
+
"gunshi": "1.0.0-rc.2",
|
|
56
56
|
"jsr": "^0.14.3",
|
|
57
57
|
"jsr-exports-lint": "^0.4.2",
|
|
58
58
|
"publint": "^0.3.20",
|