@modern-js/core 2.34.0 → 2.35.0

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/runBin.js +4 -1
  2. package/package.json +8 -8
package/dist/runBin.js CHANGED
@@ -9,12 +9,15 @@ Object.defineProperty(exports, "run", {
9
9
  return run;
10
10
  }
11
11
  });
12
+ const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
12
13
  const _utils = require("@modern-js/utils");
14
+ const _gradientstring = /* @__PURE__ */ _interop_require_default._(require("@modern-js/utils/gradient-string"));
13
15
  const _ = require(".");
14
16
  const run = async (otherCoreOptions = {}, options = {}) => {
15
17
  var _options;
16
18
  if (otherCoreOptions.initialLog) {
17
- _utils.logger.info(`${_utils.chalk.green.bold(otherCoreOptions.initialLog)}`);
19
+ _utils.logger.log(` ${_gradientstring.default.cristal(otherCoreOptions.initialLog)}
20
+ `);
18
21
  }
19
22
  const command = process.argv[2];
20
23
  if (!process.env.NODE_ENV) {
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "modern",
15
15
  "modern.js"
16
16
  ],
17
- "version": "2.34.0",
17
+ "version": "2.35.0",
18
18
  "jsnext:source": "./src/index.ts",
19
19
  "types": "./dist/index.d.ts",
20
20
  "main": "./dist/index.js",
@@ -71,9 +71,9 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@swc/helpers": "0.5.1",
74
- "@modern-js/node-bundle-require": "2.34.0",
75
- "@modern-js/plugin": "2.34.0",
76
- "@modern-js/utils": "2.34.0"
74
+ "@modern-js/node-bundle-require": "2.35.0",
75
+ "@modern-js/plugin": "2.35.0",
76
+ "@modern-js/utils": "2.35.0"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@types/jest": "^29",
@@ -81,10 +81,10 @@
81
81
  "tsm": "2.3.0",
82
82
  "jest": "^29",
83
83
  "typescript": "^5",
84
- "@modern-js/builder-shared": "2.34.0",
85
- "@modern-js/types": "2.34.0",
86
- "@scripts/build": "2.34.0",
87
- "@scripts/jest-config": "2.34.0"
84
+ "@modern-js/builder-shared": "2.35.0",
85
+ "@modern-js/types": "2.35.0",
86
+ "@scripts/build": "2.35.0",
87
+ "@scripts/jest-config": "2.35.0"
88
88
  },
89
89
  "sideEffects": false,
90
90
  "publishConfig": {