@modern-js/upgrade 0.0.0-next-20221129072133 → 0.0.0-next-20221129100038

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -67478,8 +67478,10 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
67478
67478
  };
67479
67479
  }
67480
67480
  async runGenerator(generator, config = {}) {
67481
- const spinner = (0, _utils.ora)("Loading...").start();
67482
- spinner.color = "yellow";
67481
+ const spinner = (0, _utils.ora)({
67482
+ text: "Load Generator...",
67483
+ spinner: "runner"
67484
+ }).start();
67483
67485
  const {
67484
67486
  materialKey,
67485
67487
  generatorPkg,
@@ -67498,8 +67500,10 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
67498
67500
  this.setCurrent(null);
67499
67501
  }
67500
67502
  async runSubGenerator(subGenerator, relativePwdPath = "", config) {
67501
- const spinner = (0, _utils.ora)("Loading...").start();
67502
- spinner.color = "yellow";
67503
+ const spinner = (0, _utils.ora)({
67504
+ text: "Load Generator...",
67505
+ spinner: "runner"
67506
+ }).start();
67503
67507
  const {
67504
67508
  materialKey,
67505
67509
  generatorPkg,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-next-20221129072133",
14
+ "version": "0.0.0-next-20221129100038",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/index.d.ts",
17
17
  "main": "./dist/index.js",
@@ -34,17 +34,17 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@babel/runtime": "^7.18.0",
37
- "@modern-js/codesmith": "2.0.0",
37
+ "@modern-js/codesmith": "2.0.1",
38
38
  "@types/jest": "^27",
39
39
  "@types/node": "^14",
40
40
  "jest": "^27",
41
41
  "ts-node": "^10.1.0",
42
42
  "typescript": "^4",
43
- "@modern-js/utils": "0.0.0-next-20221129072133",
44
- "@modern-js/plugin-i18n": "0.0.0-next-20221129072133",
45
- "@modern-js/upgrade-generator": "0.0.0-next-20221129072133",
46
- "@scripts/jest-config": "0.0.0-next-20221129072133",
47
- "@scripts/build": "0.0.0-next-20221129072133"
43
+ "@modern-js/utils": "0.0.0-next-20221129100038",
44
+ "@modern-js/plugin-i18n": "0.0.0-next-20221129100038",
45
+ "@modern-js/upgrade-generator": "0.0.0-next-20221129100038",
46
+ "@scripts/build": "0.0.0-next-20221129100038",
47
+ "@scripts/jest-config": "0.0.0-next-20221129100038"
48
48
  },
49
49
  "sideEffects": false,
50
50
  "publishConfig": {