@wagq/wa-cli 0.3.1 → 0.3.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/lib/init/index.js +2 -2
- package/package.json +3 -3
package/lib/init/index.js
CHANGED
|
@@ -29,7 +29,7 @@ const initQuestions = () => [
|
|
|
29
29
|
{
|
|
30
30
|
type: "input",
|
|
31
31
|
name: "name",
|
|
32
|
-
message:
|
|
32
|
+
message: `请输入项目名(uni-app请忽略)`,
|
|
33
33
|
choices: modeOptions,
|
|
34
34
|
},
|
|
35
35
|
];
|
|
@@ -53,7 +53,7 @@ const init = async () => {
|
|
|
53
53
|
});
|
|
54
54
|
} else if (initByUniApp) {
|
|
55
55
|
log.info("准备从snail-uni创建");
|
|
56
|
-
execSync(
|
|
56
|
+
execSync(bin, {
|
|
57
57
|
stdio: "inherit",
|
|
58
58
|
cwd: process.cwd(),
|
|
59
59
|
shell: true,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wagq/wa-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "wa的脚手架",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"pub": "npm publish --access public"
|
|
8
|
+
"pub": "npm publish --access public --registry=https://registry.npmjs.org"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"wa的脚手架"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public",
|
|
20
|
-
"registry": "https://registry.npmjs.org
|
|
20
|
+
"registry": "https://registry.npmjs.org"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"chalk": "^3.0.0",
|