@modern-js/upgrade-generator 0.0.0-canary-20220831140540 → 2.3.1

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 +6 -6
package/dist/index.js CHANGED
@@ -139996,7 +139996,7 @@ var require_prettyInstructions2 = __commonJSMin((exports) => {
139996
139996
  return mod && mod.__esModule ? mod : { "default": mod };
139997
139997
  };
139998
139998
  Object.defineProperty(exports, "__esModule", { value: true });
139999
- exports.prettyInstructions = exports.getIpv4Interfaces = exports.isSingleEntry = void 0;
139999
+ exports.prettyInstructions = exports.getAddressUrls = exports.getIpv4Interfaces = exports.isSingleEntry = void 0;
140000
140000
  var os_1 = __importDefault(__require("os"));
140001
140001
  var compiled_1 = require_compiled2();
140002
140002
  var is_1 = require_is2();
@@ -140030,9 +140030,10 @@ var require_prettyInstructions2 = __commonJSMin((exports) => {
140030
140030
  return memo;
140031
140031
  }, []);
140032
140032
  };
140033
+ exports.getAddressUrls = getAddressUrls;
140033
140034
  var prettyInstructions = (appContext, config) => {
140034
140035
  const { entrypoints, serverRoutes, port, apiOnly, checkedEntries } = appContext;
140035
- const urls = getAddressUrls(config.dev.https && (0, is_1.isDev)() ? "https" : "http", port);
140036
+ const urls = (0, exports.getAddressUrls)(config.dev.https && (0, is_1.isDev)() ? "https" : "http", port);
140036
140037
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
140037
140038
  let message = "App running at:\n\n";
140038
140039
  if ((0, exports.isSingleEntry)(entrypoints) || apiOnly) {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20220831140540",
14
+ "version": "2.3.1",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -23,11 +23,11 @@
23
23
  "@modern-js/codesmith": "^1.5.0",
24
24
  "@modern-js/codesmith-api-app": "^1.5.0",
25
25
  "@modern-js/codesmith-api-json": "^1.5.0",
26
- "@modern-js/generator-common": "0.0.0-canary-20220831140540",
27
- "@modern-js/generator-utils": "0.0.0-canary-20220831140540",
28
- "@modern-js/plugin-i18n": "0.0.0-canary-20220831140540",
29
- "@scripts/build": "1.15.0",
30
- "@scripts/jest-config": "1.15.0",
26
+ "@modern-js/generator-common": "2.3.1",
27
+ "@modern-js/generator-utils": "2.3.1",
28
+ "@modern-js/plugin-i18n": "1.17.0",
29
+ "@scripts/build": "1.17.0",
30
+ "@scripts/jest-config": "1.17.0",
31
31
  "@types/jest": "^27",
32
32
  "@types/node": "^14",
33
33
  "jest": "^27",