@modern-js/repo-generator 0.0.0-next-20230919043238 → 0.0.0-next-20230920070140

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 +2 -7
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -125296,11 +125296,6 @@ var require_logger3 = __commonJS({
125296
125296
  label: "info",
125297
125297
  level: "info"
125298
125298
  },
125299
- ready: {
125300
- color: "green",
125301
- label: "ready",
125302
- level: "info"
125303
- },
125304
125299
  success: {
125305
125300
  color: "green",
125306
125301
  label: "success",
@@ -125895,7 +125890,7 @@ var require_port2 = __commonJS({
125895
125890
  if (strictPort) {
125896
125891
  throw new Error(`Port "${original}" is occupied, please choose another one.`);
125897
125892
  } else if (!slient) {
125898
- _logger.logger.info(`Port ${original} is in use. ${_compiled.chalk.yellow(`using port ${port}.`)}`);
125893
+ _logger.logger.info(`Something is already running on port ${original}. ${_compiled.chalk.yellow(`Use port ${port} instead.`)}`);
125899
125894
  }
125900
125895
  }
125901
125896
  return port;
@@ -125981,7 +125976,7 @@ var require_prettyInstructions2 = __commonJS({
125981
125976
  const isHttps = (0, _is.isDev)() && ((_appContext_builder = appContext.builder) === null || _appContext_builder === void 0 ? void 0 : (_appContext_builder_context_devServer = _appContext_builder.context.devServer) === null || _appContext_builder_context_devServer === void 0 ? void 0 : _appContext_builder_context_devServer.https);
125982
125977
  const urls = getAddressUrls(isHttps ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
125983
125978
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
125984
- let message = "\n";
125979
+ let message = "App running at:\n\n";
125985
125980
  if ((0, _is.isSingleEntry)(entrypoints, (_config_source = config.source) === null || _config_source === void 0 ? void 0 : _config_source.mainEntryName) || apiOnly) {
125986
125981
  message += urls.map(({ label, url }) => ` ${_compiled.chalk.bold(`> ${label.padEnd(10)}`)}${_compiled.chalk.cyanBright(normalizeUrl(`${url}/${routes[0].urlPath}`))}
125987
125982
  `).join("");
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20230919043238",
18
+ "version": "0.0.0-next-20230920070140",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,16 +29,16 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/base-generator": "0.0.0-next-20230919043238",
33
- "@modern-js/generator-common": "0.0.0-next-20230919043238",
34
- "@modern-js/generator-plugin": "0.0.0-next-20230919043238",
35
- "@modern-js/generator-utils": "0.0.0-next-20230919043238",
36
- "@modern-js/module-generator": "0.0.0-next-20230919043238",
37
- "@modern-js/monorepo-generator": "0.0.0-next-20230919043238",
38
- "@modern-js/mwa-generator": "0.0.0-next-20230919043238",
39
- "@scripts/build": "0.0.0-next-20230919043238",
40
- "@modern-js/utils": "0.0.0-next-20230919043238",
41
- "@scripts/jest-config": "0.0.0-next-20230919043238"
32
+ "@modern-js/base-generator": "0.0.0-next-20230920070140",
33
+ "@modern-js/generator-common": "0.0.0-next-20230920070140",
34
+ "@modern-js/module-generator": "0.0.0-next-20230920070140",
35
+ "@modern-js/monorepo-generator": "0.0.0-next-20230920070140",
36
+ "@modern-js/mwa-generator": "0.0.0-next-20230920070140",
37
+ "@modern-js/utils": "0.0.0-next-20230920070140",
38
+ "@modern-js/generator-plugin": "0.0.0-next-20230920070140",
39
+ "@modern-js/generator-utils": "0.0.0-next-20230920070140",
40
+ "@scripts/build": "0.0.0-next-20230920070140",
41
+ "@scripts/jest-config": "0.0.0-next-20230920070140"
42
42
  },
43
43
  "sideEffects": false,
44
44
  "publishConfig": {