@modern-js/repo-generator 0.0.0-next-1686108801650 → 0.0.0-next-1686121516109

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 +3 -2
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -124799,9 +124799,10 @@ var require_prettyInstructions = __commonJS({
124799
124799
  }, []);
124800
124800
  };
124801
124801
  var prettyInstructions = (appContext, config) => {
124802
- var _config_dev;
124802
+ var _appContext_builder_context_devServer, _appContext_builder, _config_dev;
124803
124803
  const { entrypoints, serverRoutes, port, apiOnly, checkedEntries } = appContext;
124804
- const urls = getAddressUrls(config.dev.https && (0, _is.isDev)() ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
124804
+ const isHttps = (0, _is.isDev)() && ((_appContext_builder_context_devServer = (_appContext_builder = appContext.builder) === null || _appContext_builder === void 0 ? void 0 : _appContext_builder.context.devServer) === null || _appContext_builder_context_devServer === void 0 ? void 0 : _appContext_builder_context_devServer.https);
124805
+ const urls = getAddressUrls(isHttps ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
124805
124806
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
124806
124807
  let message = "App running at:\n\n";
124807
124808
  if ((0, _is.isSingleEntry)(entrypoints) || apiOnly) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1686108801650",
18
+ "version": "0.0.0-next-1686121516109",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,17 +29,17 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/base-generator": "0.0.0-next-1686108801650",
33
- "@modern-js/generator-common": "0.0.0-next-1686108801650",
34
- "@modern-js/generator-plugin": "0.0.0-next-1686108801650",
35
- "@modern-js/generator-utils": "0.0.0-next-1686108801650",
36
- "@modern-js/module-generator": "0.0.0-next-1686108801650",
37
- "@modern-js/monorepo-generator": "0.0.0-next-1686108801650",
38
- "@modern-js/mwa-generator": "0.0.0-next-1686108801650",
39
- "@modern-js/doc-generator": "0.0.0-next-1686108801650",
40
- "@scripts/build": "0.0.0-next-1686108801650",
41
- "@scripts/jest-config": "0.0.0-next-1686108801650",
42
- "@modern-js/utils": "0.0.0-next-1686108801650"
32
+ "@modern-js/base-generator": "0.0.0-next-1686121516109",
33
+ "@modern-js/generator-common": "0.0.0-next-1686121516109",
34
+ "@modern-js/generator-plugin": "0.0.0-next-1686121516109",
35
+ "@modern-js/generator-utils": "0.0.0-next-1686121516109",
36
+ "@modern-js/module-generator": "0.0.0-next-1686121516109",
37
+ "@modern-js/monorepo-generator": "0.0.0-next-1686121516109",
38
+ "@modern-js/mwa-generator": "0.0.0-next-1686121516109",
39
+ "@modern-js/doc-generator": "0.0.0-next-1686121516109",
40
+ "@modern-js/utils": "0.0.0-next-1686121516109",
41
+ "@scripts/build": "0.0.0-next-1686121516109",
42
+ "@scripts/jest-config": "0.0.0-next-1686121516109"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {