@widget-js/cli 1.2.9-rc.6 → 1.2.10
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/index.js
CHANGED
|
@@ -20,7 +20,7 @@ program.command("dependencies").description("Set @widget-js dependencies to loca
|
|
|
20
20
|
await dependencies.default(options);
|
|
21
21
|
});
|
|
22
22
|
program.command("init").description("Initialize widget-js project").action(async () => {
|
|
23
|
-
const init = await import("./init-
|
|
23
|
+
const init = await import("./init-MQONV3N3.js");
|
|
24
24
|
await init.init();
|
|
25
25
|
});
|
|
26
26
|
var typeOption = new Option("-t, --type <type>").choices(["ftp", "oss"]);
|
|
@@ -51,7 +51,7 @@ async function addWidgetTs() {
|
|
|
51
51
|
}
|
|
52
52
|
await addVitePlugin();
|
|
53
53
|
await createRouter();
|
|
54
|
-
spinner.succeed("\u5B8C\u6210
|
|
54
|
+
spinner.succeed("\u521D\u59CB\u5316\u5B8C\u6210\uFF0C\u8BF7\u8FD0\u884C npm install");
|
|
55
55
|
}
|
|
56
56
|
async function addDependencies() {
|
|
57
57
|
const packageJson = Utils.getPackageJson();
|
package/package.json
CHANGED