breadc 0.6.0 → 0.6.3
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/dist/index.d.ts +2 -2
- package/package.json +7 -5
package/dist/index.d.ts
CHANGED
|
@@ -135,6 +135,6 @@ declare class Breadc<GlobalOption extends object = {}> {
|
|
|
135
135
|
run<T>(args: string[]): Promise<T | undefined>;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
declare function breadc(name: string, option?: AppOption): Breadc<
|
|
138
|
+
declare function breadc<T extends object = {}>(name: string, option?: AppOption): Breadc<T>;
|
|
139
139
|
|
|
140
|
-
export { breadc as default };
|
|
140
|
+
export { Breadc, Command, CommandConfig, Option, OptionConfig, breadc as default };
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "breadc",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Yet another Command Line Application Framework with fully strong TypeScript support",
|
|
5
5
|
"keywords": [
|
|
6
|
+
"breadc",
|
|
6
7
|
"cli",
|
|
7
8
|
"framework",
|
|
8
9
|
"command-line",
|
|
@@ -40,20 +41,21 @@
|
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@types/minimist": "^1.2.2",
|
|
42
43
|
"@types/node": "^18.0.0",
|
|
43
|
-
"bumpp": "^8.2.1",
|
|
44
44
|
"prettier": "^2.7.1",
|
|
45
45
|
"typescript": "^4.7.4",
|
|
46
46
|
"unbuild": "^0.7.6",
|
|
47
|
-
"vite": "^3.0.
|
|
47
|
+
"vite": "^3.0.4",
|
|
48
48
|
"vitest": "^0.19.1"
|
|
49
49
|
},
|
|
50
50
|
"packageManager": "pnpm@7.5.2",
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "unbuild",
|
|
53
|
+
"build:all": "unbuild && pnpm -r build",
|
|
53
54
|
"format": "prettier --write src/**/*.ts test/*.ts examples/*.ts",
|
|
54
|
-
"release": "bumpp --commit --push --tag && pnpm publish",
|
|
55
|
+
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm publish && pnpm publish --access public --filter packages/*",
|
|
55
56
|
"test": "vitest",
|
|
56
57
|
"typecheck": "tsc --noEmit",
|
|
57
|
-
"
|
|
58
|
+
"typecheck:all": "tsc --noEmit && pnpm -r typecheck",
|
|
59
|
+
"preversion": "pnpm typecheck:all && pnpm build:all"
|
|
58
60
|
}
|
|
59
61
|
}
|