@modern-js/repo-generator 0.0.0-next-20230918091920 → 0.0.0-next-20230919043238
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/dist/index.js +7 -2
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -125296,6 +125296,11 @@ 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
|
+
},
|
|
125299
125304
|
success: {
|
|
125300
125305
|
color: "green",
|
|
125301
125306
|
label: "success",
|
|
@@ -125890,7 +125895,7 @@ var require_port2 = __commonJS({
|
|
|
125890
125895
|
if (strictPort) {
|
|
125891
125896
|
throw new Error(`Port "${original}" is occupied, please choose another one.`);
|
|
125892
125897
|
} else if (!slient) {
|
|
125893
|
-
_logger.logger.info(`
|
|
125898
|
+
_logger.logger.info(`Port ${original} is in use. ${_compiled.chalk.yellow(`using port ${port}.`)}`);
|
|
125894
125899
|
}
|
|
125895
125900
|
}
|
|
125896
125901
|
return port;
|
|
@@ -125976,7 +125981,7 @@ var require_prettyInstructions2 = __commonJS({
|
|
|
125976
125981
|
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);
|
|
125977
125982
|
const urls = getAddressUrls(isHttps ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
|
|
125978
125983
|
const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
|
|
125979
|
-
let message = "
|
|
125984
|
+
let message = "\n";
|
|
125980
125985
|
if ((0, _is.isSingleEntry)(entrypoints, (_config_source = config.source) === null || _config_source === void 0 ? void 0 : _config_source.mainEntryName) || apiOnly) {
|
|
125981
125986
|
message += urls.map(({ label, url }) => ` ${_compiled.chalk.bold(`> ${label.padEnd(10)}`)}${_compiled.chalk.cyanBright(normalizeUrl(`${url}/${routes[0].urlPath}`))}
|
|
125982
125987
|
`).join("");
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-20230919043238",
|
|
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-
|
|
33
|
-
"@modern-js/
|
|
34
|
-
"@modern-js/generator-
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@modern-js/generator
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
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"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
44
|
"publishConfig": {
|