@gunshi/bone 0.27.2 → 0.27.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/lib/index.d.ts +33 -11
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -1246,27 +1246,49 @@ type Commandable<G extends GunshiParamsConstraint = DefaultGunshiParams> = Comma
|
|
|
1246
1246
|
* @since v0.27.1
|
|
1247
1247
|
*/
|
|
1248
1248
|
interface SubCommandable {
|
|
1249
|
-
/**
|
|
1249
|
+
/**
|
|
1250
|
+
* see {@link Command.name}
|
|
1251
|
+
*/
|
|
1250
1252
|
name?: string;
|
|
1251
|
-
/**
|
|
1253
|
+
/**
|
|
1254
|
+
* see {@link Command.description}
|
|
1255
|
+
*/
|
|
1252
1256
|
description?: string;
|
|
1253
|
-
/**
|
|
1257
|
+
/**
|
|
1258
|
+
* see {@link Command.args}
|
|
1259
|
+
*/
|
|
1254
1260
|
args?: Args | Record<string, any>;
|
|
1255
|
-
/**
|
|
1261
|
+
/**
|
|
1262
|
+
* see {@link Command.examples}
|
|
1263
|
+
*/
|
|
1256
1264
|
examples?: string | ((...args: any[]) => any);
|
|
1257
|
-
/**
|
|
1265
|
+
/**
|
|
1266
|
+
* see {@link Command.run}
|
|
1267
|
+
*/
|
|
1258
1268
|
run?: (...args: any[]) => any;
|
|
1259
|
-
/**
|
|
1269
|
+
/**
|
|
1270
|
+
* see {@link Command.toKebab}
|
|
1271
|
+
*/
|
|
1260
1272
|
toKebab?: boolean;
|
|
1261
|
-
/**
|
|
1273
|
+
/**
|
|
1274
|
+
* see {@link Command.internal}
|
|
1275
|
+
*/
|
|
1262
1276
|
internal?: boolean;
|
|
1263
|
-
/**
|
|
1277
|
+
/**
|
|
1278
|
+
* see {@link Command.entry}
|
|
1279
|
+
*/
|
|
1264
1280
|
entry?: boolean;
|
|
1265
|
-
/**
|
|
1281
|
+
/**
|
|
1282
|
+
* see {@link Command.rendering}
|
|
1283
|
+
*/
|
|
1266
1284
|
rendering?: any;
|
|
1267
|
-
/**
|
|
1285
|
+
/**
|
|
1286
|
+
* see {@link LazyCommand.commandName}
|
|
1287
|
+
*/
|
|
1268
1288
|
commandName?: string;
|
|
1269
|
-
/**
|
|
1289
|
+
/**
|
|
1290
|
+
* Index signature to allow additional properties
|
|
1291
|
+
*/
|
|
1270
1292
|
[key: string]: any;
|
|
1271
1293
|
}
|
|
1272
1294
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/bone",
|
|
3
3
|
"description": "gunshi minimum",
|
|
4
|
-
"version": "0.27.
|
|
4
|
+
"version": "0.27.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"jsr-exports-lint": "^0.4.1",
|
|
57
57
|
"publint": "^0.3.16",
|
|
58
58
|
"tsdown": "0.15.12",
|
|
59
|
-
"@gunshi/
|
|
60
|
-
"@gunshi/
|
|
61
|
-
"@gunshi/plugin-
|
|
62
|
-
"gunshi": "0.27.
|
|
59
|
+
"@gunshi/definition": "0.27.4",
|
|
60
|
+
"@gunshi/plugin-renderer": "0.27.4",
|
|
61
|
+
"@gunshi/plugin-global": "0.27.4",
|
|
62
|
+
"gunshi": "0.27.4"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown",
|