@gunshi/plugin-global 1.0.0-beta.0 → 1.0.0-beta.1
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 +0 -27
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { Awaitable, PluginWithExtension } from "@gunshi/plugin";
|
|
2
|
-
|
|
3
2
|
//#region src/extension.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @author kazuya kawaguchi (a.k.a. kazupon)
|
|
6
|
-
* @license MIT
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
3
|
/**
|
|
10
4
|
* Extended command context which provides utilities via global options plugin.
|
|
11
5
|
* These utilities are available via `CommandContext.extensions['g:global']`.
|
|
@@ -46,33 +40,12 @@ interface GlobalExtension {
|
|
|
46
40
|
declare const BUILT_IN_PREFIX = "_";
|
|
47
41
|
declare const PLUGIN_PREFIX = "g";
|
|
48
42
|
declare const BUILT_IN_KEY_SEPARATOR = ":";
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region ../plugin-i18n/src/types.d.ts
|
|
51
|
-
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region ../plugin-i18n/src/helpers.d.ts
|
|
54
|
-
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region ../plugin-i18n/src/translation.d.ts
|
|
57
|
-
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region ../gunshi/src/index.d.ts
|
|
60
|
-
|
|
61
43
|
//#endregion
|
|
62
44
|
//#region ../shared/src/types.d.ts
|
|
63
45
|
/**
|
|
64
46
|
* Generate a namespaced key.
|
|
65
47
|
*/
|
|
66
48
|
type GenerateNamespacedKey<Key extends string, Prefixed extends string = typeof BUILT_IN_PREFIX> = `${Prefixed}${typeof BUILT_IN_KEY_SEPARATOR}${Key}`;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../shared/src/localization.d.ts
|
|
69
|
-
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region ../shared/src/utils.d.ts
|
|
72
|
-
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region ../shared/src/index.d.ts
|
|
75
|
-
|
|
76
49
|
//#endregion
|
|
77
50
|
//#region src/types.d.ts
|
|
78
51
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/plugin-global",
|
|
3
3
|
"description": "global options plugin for gunshi",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@gunshi/plugin": "1.0.0-beta.
|
|
54
|
+
"@gunshi/plugin": "1.0.0-beta.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
+
"@gunshi/shared": "1.0.0-beta.1",
|
|
57
58
|
"deno": "^2.7.14",
|
|
58
59
|
"jsr": "^0.14.3",
|
|
59
60
|
"jsr-exports-lint": "^0.4.2",
|
|
60
61
|
"publint": "^0.3.20",
|
|
61
|
-
"tsdown": "0.
|
|
62
|
-
"@gunshi/shared": "1.0.0-beta.0"
|
|
62
|
+
"tsdown": "0.22.14"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown",
|