@modern-js/repo-generator 0.0.0-next-20230914071641 → 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 +12 -9
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -124142,8 +124142,6 @@ var require_chainId2 = __commonJS({
|
|
|
124142
124142
|
STYLE: "style-loader",
|
|
124143
124143
|
/** postcss-loader */
|
|
124144
124144
|
POSTCSS: "postcss",
|
|
124145
|
-
/** markdown-loader */
|
|
124146
|
-
MARKDOWN: "markdown",
|
|
124147
124145
|
/** ignore-css-loader */
|
|
124148
124146
|
IGNORE_CSS: "ignore-css",
|
|
124149
124147
|
/** css-modules-typescript-loader */
|
|
@@ -124157,9 +124155,7 @@ var require_chainId2 = __commonJS({
|
|
|
124157
124155
|
/** builder-plugin-image-compress svgo-loader */
|
|
124158
124156
|
SVGO: "svgo",
|
|
124159
124157
|
/** builder-plugin-imagex */
|
|
124160
|
-
IMAGEX: "imagex"
|
|
124161
|
-
/** storybook-react-docgen */
|
|
124162
|
-
REACT_DOCGEN: "react-docgen"
|
|
124158
|
+
IMAGEX: "imagex"
|
|
124163
124159
|
},
|
|
124164
124160
|
/** Predefined plugins */
|
|
124165
124161
|
PLUGIN: {
|
|
@@ -124226,7 +124222,9 @@ var require_chainId2 = __commonJS({
|
|
|
124226
124222
|
/** HtmlAsyncChunkPlugin */
|
|
124227
124223
|
HTML_ASYNC_CHUNK: "html-async-chunk",
|
|
124228
124224
|
/** SWC_POLYFILL_CHECKER */
|
|
124229
|
-
SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
|
|
124225
|
+
SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
|
|
124226
|
+
/** RouterPlugin */
|
|
124227
|
+
ROUTER_MANIFEST: "route-plugin"
|
|
124230
124228
|
},
|
|
124231
124229
|
/** Predefined minimizers */
|
|
124232
124230
|
MINIMIZER: {
|
|
@@ -125298,9 +125296,14 @@ var require_logger3 = __commonJS({
|
|
|
125298
125296
|
label: "info",
|
|
125299
125297
|
level: "info"
|
|
125300
125298
|
},
|
|
125299
|
+
ready: {
|
|
125300
|
+
color: "green",
|
|
125301
|
+
label: "ready",
|
|
125302
|
+
level: "info"
|
|
125303
|
+
},
|
|
125301
125304
|
success: {
|
|
125302
125305
|
color: "green",
|
|
125303
|
-
label: "
|
|
125306
|
+
label: "success",
|
|
125304
125307
|
level: "info"
|
|
125305
125308
|
},
|
|
125306
125309
|
warn: {
|
|
@@ -125892,7 +125895,7 @@ var require_port2 = __commonJS({
|
|
|
125892
125895
|
if (strictPort) {
|
|
125893
125896
|
throw new Error(`Port "${original}" is occupied, please choose another one.`);
|
|
125894
125897
|
} else if (!slient) {
|
|
125895
|
-
_logger.logger.info(`
|
|
125898
|
+
_logger.logger.info(`Port ${original} is in use. ${_compiled.chalk.yellow(`using port ${port}.`)}`);
|
|
125896
125899
|
}
|
|
125897
125900
|
}
|
|
125898
125901
|
return port;
|
|
@@ -125978,7 +125981,7 @@ var require_prettyInstructions2 = __commonJS({
|
|
|
125978
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);
|
|
125979
125982
|
const urls = getAddressUrls(isHttps ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
|
|
125980
125983
|
const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
|
|
125981
|
-
let message = "
|
|
125984
|
+
let message = "\n";
|
|
125982
125985
|
if ((0, _is.isSingleEntry)(entrypoints, (_config_source = config.source) === null || _config_source === void 0 ? void 0 : _config_source.mainEntryName) || apiOnly) {
|
|
125983
125986
|
message += urls.map(({ label, url }) => ` ${_compiled.chalk.bold(`> ${label.padEnd(10)}`)}${_compiled.chalk.cyanBright(normalizeUrl(`${url}/${routes[0].urlPath}`))}
|
|
125984
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/generator-common": "0.0.0-next-
|
|
34
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
35
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
36
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
37
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
38
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
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": {
|