chinapopin-frontend-cli 1.0.1 → 1.0.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/README.md +8 -1
- package/bin/index.js +1 -1
- package/lib/generator.js +2 -2
- package/package.json +8 -8
package/README.md
CHANGED
package/bin/index.js
CHANGED
package/lib/generator.js
CHANGED
|
@@ -48,8 +48,8 @@ class Generator {
|
|
|
48
48
|
async download(type) {
|
|
49
49
|
const spinner = ora("下载模板中,请稍后").start();
|
|
50
50
|
const GITADDRESS = {
|
|
51
|
-
pc: "http://100.98.100.194/frontend/frontend-engineer/chinapopin-admin-pro.git
|
|
52
|
-
h5: "http://100.98.100.194/frontend/frontend-engineer/chinapopin-h5-demo-frontend.git
|
|
51
|
+
pc: "http://100.98.100.194/frontend/frontend-engineer/chinapopin-admin-pro.git",
|
|
52
|
+
h5: "http://100.98.100.194/frontend/frontend-engineer/chinapopin-h5-demo-frontend.git",
|
|
53
53
|
};
|
|
54
54
|
return new Promise((resolve, reject) => {
|
|
55
55
|
downloadGitRepo(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chinapopin-frontend-cli",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "前端脚手架",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"author": "weixiaoru (514753680@qq.com)",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"commander": "
|
|
23
|
+
"commander": "~8.3.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"axios": "
|
|
27
|
-
"download-git-repo": "
|
|
28
|
-
"figlet": "
|
|
29
|
-
"fs-extra": "
|
|
30
|
-
"inquirer": "
|
|
31
|
-
"ora": "
|
|
26
|
+
"axios": "~0.24.0",
|
|
27
|
+
"download-git-repo": "~3.0.2",
|
|
28
|
+
"figlet": "~1.5.2",
|
|
29
|
+
"fs-extra": "~10.0.0",
|
|
30
|
+
"inquirer": "~8.2.0",
|
|
31
|
+
"ora": "~5.4.1"
|
|
32
32
|
}
|
|
33
33
|
}
|