@gunshi/shared 0.29.5 → 0.30.0

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 CHANGED
@@ -1357,5 +1357,12 @@ declare function namespacedId<K extends string>(id: K): GenerateNamespacedKey<K,
1357
1357
  * @returns A string representing the short and long option pair.
1358
1358
  */
1359
1359
  declare function makeShortLongOptionPair(schema: ArgSchema, name: string, toKebab?: boolean): string;
1360
+ //#endregion
1361
+ //#region src/index.d.ts
1362
+ /**
1363
+ * @author kazuya kawaguchi (a.k.a. kazupon)
1364
+ * @license MIT
1365
+ */
1366
+
1360
1367
  //#endregion
1361
1368
  export { ARG_NEGATABLE_PREFIX, ARG_PREFIX, ARG_PREFIX_AND_KEY_SEPARATOR, BUILD_IN_PREFIX_AND_KEY_SEPARATOR, BUILT_IN_KEY_SEPARATOR, BUILT_IN_PREFIX, BuiltinResourceKeys, COMMAND_BUILTIN_RESOURCE_KEYS, COMMON_ARGS, CommandArgKeys, CommandBuiltinArgsKeys, CommandBuiltinKeys, CommandBuiltinResourceKeys, DeepWriteable, __json_default_export as DefaultResource, GenerateNamespacedKey, KeyOfArgs, Localization, PLUGIN_PREFIX, RemovedIndex, ResolveTranslationKeys, Translation, create, deepFreeze, getCommandSubCommands, isLazyCommand, kebabnize, localizable, log, makeShortLongOptionPair, namespacedId, resolveArgKey, resolveBuiltInKey, resolveExamples, resolveKey, resolveLazyCommand };
package/lib/index.js CHANGED
@@ -22,6 +22,10 @@ function kebabnize(str) {
22
22
  //#endregion
23
23
  //#region ../gunshi/src/utils.ts
24
24
  /**
25
+ * @author kazuya kawaguchi (a.k.a. kazupon)
26
+ * @license MIT
27
+ */
28
+ /**
25
29
  * Check if the given command is a {@link LazyCommand}.
26
30
  *
27
31
  * @param cmd - A command to check
@@ -306,4 +310,10 @@ function localizable(ctx, cmd, translate) {
306
310
  return localize;
307
311
  }
308
312
  //#endregion
313
+ //#region src/index.ts
314
+ /**
315
+ * @author kazuya kawaguchi (a.k.a. kazupon)
316
+ * @license MIT
317
+ */
318
+ //#endregion
309
319
  export { ARG_NEGATABLE_PREFIX, ARG_PREFIX, ARG_PREFIX_AND_KEY_SEPARATOR, BUILD_IN_PREFIX_AND_KEY_SEPARATOR, BUILT_IN_KEY_SEPARATOR, BUILT_IN_PREFIX, COMMAND_BUILTIN_RESOURCE_KEYS, COMMON_ARGS, en_US_default as DefaultResource, PLUGIN_PREFIX, create, deepFreeze, getCommandSubCommands, isLazyCommand, kebabnize, localizable, log, makeShortLongOptionPair, namespacedId, resolveArgKey, resolveBuiltInKey, resolveExamples, resolveKey, resolveLazyCommand };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gunshi/shared",
3
3
  "description": "shared utils for gunshi",
4
- "version": "0.29.5",
4
+ "version": "0.30.0",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "engines": {
27
- "node": ">= 20"
27
+ "node": ">= 22"
28
28
  },
29
29
  "type": "module",
30
30
  "files": [
@@ -50,13 +50,13 @@
50
50
  }
51
51
  },
52
52
  "devDependencies": {
53
- "deno": "^2.7.11",
53
+ "deno": "^2.7.14",
54
54
  "jsr": "^0.14.3",
55
55
  "jsr-exports-lint": "^0.4.2",
56
- "publint": "^0.3.18",
57
- "tsdown": "0.15.12",
58
- "gunshi": "0.29.5",
59
- "@gunshi/resources": "0.29.5"
56
+ "publint": "^0.3.20",
57
+ "tsdown": "0.21.0",
58
+ "@gunshi/resources": "0.30.0",
59
+ "gunshi": "0.30.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown",