bod 5.10.0 → 5.11.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 +1 -1
- package/dist/commands/CreateCommand.js +3 -3
- package/package.json +34 -33
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/bod)
|
|
8
8
|
[](https://unpkg.com/browse/bod@latest/)
|
|
9
9
|
|
|
10
|
-
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
|
|
11
11
|
[](https://codecov.io/gh/sabertazimi/bod)
|
|
12
12
|
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
|
|
13
13
|
|
|
@@ -69,7 +69,7 @@ CreateCommand.TemplateActions = [
|
|
|
69
69
|
value: 'jsx',
|
|
70
70
|
command: 'npx',
|
|
71
71
|
args: [
|
|
72
|
-
'create-react-app',
|
|
72
|
+
'create-react-app@latest',
|
|
73
73
|
'--template',
|
|
74
74
|
'@sabertazimi',
|
|
75
75
|
'--scripts-version',
|
|
@@ -81,7 +81,7 @@ CreateCommand.TemplateActions = [
|
|
|
81
81
|
value: 'tsx',
|
|
82
82
|
command: 'npx',
|
|
83
83
|
args: [
|
|
84
|
-
'create-react-app',
|
|
84
|
+
'create-react-app@latest',
|
|
85
85
|
'--template',
|
|
86
86
|
'@sabertazimi/typescript',
|
|
87
87
|
'--scripts-version',
|
|
@@ -93,7 +93,7 @@ CreateCommand.TemplateActions = [
|
|
|
93
93
|
value: 'framework',
|
|
94
94
|
command: 'npx',
|
|
95
95
|
args: [
|
|
96
|
-
'create-react-app',
|
|
96
|
+
'create-react-app@latest',
|
|
97
97
|
'--template',
|
|
98
98
|
'bod',
|
|
99
99
|
'--scripts-version',
|
package/package.json
CHANGED
|
@@ -1,33 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bod",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.1",
|
|
4
4
|
"description": "Boilerplate CLI App",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"compile": "tsc",
|
|
9
|
-
"dev": "ts-node ./src/bod.ts",
|
|
10
|
-
"format": "prettier --write src/**/*.ts",
|
|
11
|
-
"lint": "yarn lint:style && yarn lint:type-check",
|
|
12
|
-
"lint:style": "eslint --ext .ts ./src",
|
|
13
|
-
"lint:type-check": "tsc --noEmit",
|
|
14
|
-
"start": "yarn dev"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"bin/bod.js",
|
|
18
|
-
"dist/**/*.js",
|
|
19
|
-
"dist/**/*.d.ts",
|
|
20
|
-
"!dist/**/*.test.js",
|
|
21
|
-
"!dist/**/*.test.d.ts"
|
|
22
|
-
],
|
|
23
|
-
"bin": "bin/bod.js",
|
|
24
|
-
"main": "dist/index.js",
|
|
25
|
-
"types": "dist/index.d.ts",
|
|
5
|
+
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://sabertazimi.github.io/bod",
|
|
26
8
|
"repository": {
|
|
27
9
|
"type": "git",
|
|
28
10
|
"url": "git+https://github.com/sabertazimi/bod.git",
|
|
29
11
|
"directory": "packages/bod"
|
|
30
12
|
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/sabertazimi/bod/issues"
|
|
15
|
+
},
|
|
31
16
|
"keywords": [
|
|
32
17
|
"bod",
|
|
33
18
|
"bod-cli",
|
|
@@ -41,30 +26,46 @@
|
|
|
41
26
|
"template",
|
|
42
27
|
"typescript"
|
|
43
28
|
],
|
|
44
|
-
"
|
|
45
|
-
"
|
|
29
|
+
"main": "dist/index.js",
|
|
30
|
+
"types": "dist/index.d.ts",
|
|
31
|
+
"bin": "bin/bod.js",
|
|
32
|
+
"files": [
|
|
33
|
+
"bin/bod.js",
|
|
34
|
+
"dist/**/*.js",
|
|
35
|
+
"dist/**/*.d.ts",
|
|
36
|
+
"!dist/**/*.test.js",
|
|
37
|
+
"!dist/**/*.test.d.ts"
|
|
38
|
+
],
|
|
46
39
|
"engines": {
|
|
47
40
|
"node": ">=14.0.0"
|
|
48
41
|
},
|
|
49
|
-
"
|
|
50
|
-
"
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "yarn clean && yarn compile",
|
|
44
|
+
"clean": "rimraf ./dist/",
|
|
45
|
+
"compile": "tsc",
|
|
46
|
+
"dev": "ts-node ./src/bod.ts",
|
|
47
|
+
"format": "prettier --write src/**/*.ts",
|
|
48
|
+
"lint": "yarn lint:style && yarn lint:type-check",
|
|
49
|
+
"lint:style": "eslint --ext .ts ./src",
|
|
50
|
+
"lint:type-check": "tsc --noEmit",
|
|
51
|
+
"start": "yarn dev"
|
|
51
52
|
},
|
|
52
|
-
"homepage": "https://sabertazimi.github.io/bod",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"chalk": "^4.1.2",
|
|
55
|
-
"commander": "^
|
|
55
|
+
"commander": "^10.0.0",
|
|
56
56
|
"consola": "^2.15.3",
|
|
57
57
|
"cross-spawn": "^7.0.3",
|
|
58
58
|
"envinfo": "^7.8.1",
|
|
59
|
-
"inquirer": "^8.2.
|
|
59
|
+
"inquirer": "^8.2.5",
|
|
60
|
+
"tslib": "^2.5.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@types/cross-spawn": "^6.0.2",
|
|
63
64
|
"@types/envinfo": "^7.8.1",
|
|
64
|
-
"@types/inquirer": "^8.2.
|
|
65
|
+
"@types/inquirer": "^8.2.5",
|
|
65
66
|
"@types/rimraf": "^3.0.2",
|
|
66
|
-
"ci-info": "^3.
|
|
67
|
-
"rimraf": "^
|
|
67
|
+
"ci-info": "^3.8.0",
|
|
68
|
+
"rimraf": "^4.1.2"
|
|
68
69
|
},
|
|
69
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "c51347e5dec52035165a81f0045ab719046e7e2e"
|
|
70
71
|
}
|