@soybeanjs/cli 0.2.12 → 0.3.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/README.md +0 -1
- package/dist/index.cjs +7564 -0
- package/dist/index.mjs +7543 -0
- package/package.json +17 -15
- package/bin/index.js +0 -6396
- package/bin/index.mjs +0 -6395
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "SoybeanJS's command
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "SoybeanJS's command line tools",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Soybean",
|
|
7
7
|
"email": "honghuangdc@gmail.com",
|
|
@@ -19,14 +19,13 @@
|
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
|
-
"soybean": "
|
|
23
|
-
"soy": "
|
|
22
|
+
"soybean": "dist/index.mjs",
|
|
23
|
+
"soy": "dist/index.mjs"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
|
-
"
|
|
26
|
+
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"changelogen": "0.5.3",
|
|
30
29
|
"commander": "10.0.1",
|
|
31
30
|
"enquirer": "2.3.6",
|
|
32
31
|
"execa": "7.1.1",
|
|
@@ -37,31 +36,34 @@
|
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@soybeanjs/cli": "link:",
|
|
40
|
-
"@types/node": "
|
|
39
|
+
"@types/node": "20.2.5",
|
|
40
|
+
"bumpp": "9.1.0",
|
|
41
41
|
"eslint": "8.41.0",
|
|
42
|
-
"eslint-config-soybeanjs": "0.
|
|
42
|
+
"eslint-config-soybeanjs": "0.4.7",
|
|
43
43
|
"lint-staged": "13.2.2",
|
|
44
44
|
"simple-git-hooks": "2.8.1",
|
|
45
|
-
"tsup": "6.7.0",
|
|
46
45
|
"tsx": "3.12.7",
|
|
47
|
-
"typescript": "5.0.4"
|
|
46
|
+
"typescript": "5.0.4",
|
|
47
|
+
"unbuild": "1.2.1"
|
|
48
48
|
},
|
|
49
49
|
"simple-git-hooks": {
|
|
50
50
|
"commit-msg": "pnpm soy git-commit-verify",
|
|
51
|
-
"pre-commit": "pnpm lint-staged"
|
|
51
|
+
"pre-commit": "pnpm typecheck && pnpm lint-staged"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
|
-
"*.{js,mjs,jsx,ts,mts,tsx,json,vue,svelte}": "eslint . --fix",
|
|
55
|
-
"*.!{js,mjs,jsx,ts,mts,tsx,json,vue,svelte}": "format"
|
|
54
|
+
"*.{js,mjs,jsx,ts,mts,tsx,json,vue,svelte,astro}": "eslint . --fix",
|
|
55
|
+
"*.!{js,mjs,jsx,ts,mts,tsx,json,vue,svelte,astro}": "format"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
|
-
"build": "
|
|
58
|
+
"build": "pnpm typecheck && unbuild",
|
|
59
59
|
"lint": "eslint . --fix",
|
|
60
60
|
"format": "soy prettier-format",
|
|
61
61
|
"commit": "soy git-commit",
|
|
62
62
|
"cleanup": "soy cleanup",
|
|
63
63
|
"update-pkg": "soy update-pkg",
|
|
64
|
+
"update-version": "bumpp --commit --push --tag",
|
|
64
65
|
"publish-pkg": "pnpm -r publish --access public",
|
|
65
|
-
"
|
|
66
|
+
"typecheck": "tsc --noEmit",
|
|
67
|
+
"release": "pnpm update-version && pnpm build && pnpm publish-pkg"
|
|
66
68
|
}
|
|
67
69
|
}
|