@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-6W6CZMIZ.js");
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! \u8BB0\u5F97\u4FEE\u6539widget.package.ts\u3002");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widget-js/cli",
3
- "version": "1.2.9-rc.6",
3
+ "version": "1.2.10",
4
4
  "main": "lib/index.js",
5
5
  "author": "Neo Fu",
6
6
  "license": "MIT",
package/src/init/init.ts CHANGED
@@ -48,7 +48,7 @@ async function addWidgetTs() {
48
48
  await addVitePlugin()
49
49
  await createRouter()
50
50
 
51
- spinner.succeed('完成! 记得修改widget.package.ts。')
51
+ spinner.succeed('初始化完成,请运行 npm install')
52
52
  }
53
53
 
54
54
  /**