@wagq/wa-cli 0.3.0 → 0.3.2
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 +1 -1
- package/pnpm-lock.yaml +0 -2161
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,
|