@modern-js/upgrade 0.0.0-canary-20220831140540 → 1.17.0
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 +3 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -35669,7 +35669,7 @@ var require_prettyInstructions = __commonJSMin((exports) => {
|
|
35669
35669
|
return mod && mod.__esModule ? mod : { "default": mod };
|
35670
35670
|
};
|
35671
35671
|
Object.defineProperty(exports, "__esModule", { value: true });
|
35672
|
-
exports.prettyInstructions = exports.getIpv4Interfaces = exports.isSingleEntry = void 0;
|
35672
|
+
exports.prettyInstructions = exports.getAddressUrls = exports.getIpv4Interfaces = exports.isSingleEntry = void 0;
|
35673
35673
|
var os_1 = __importDefault(__require("os"));
|
35674
35674
|
var compiled_1 = require_compiled();
|
35675
35675
|
var is_1 = require_is();
|
@@ -35703,9 +35703,10 @@ var require_prettyInstructions = __commonJSMin((exports) => {
|
|
35703
35703
|
return memo;
|
35704
35704
|
}, []);
|
35705
35705
|
};
|
35706
|
+
exports.getAddressUrls = getAddressUrls;
|
35706
35707
|
var prettyInstructions = (appContext, config) => {
|
35707
35708
|
const { entrypoints, serverRoutes, port, apiOnly, checkedEntries } = appContext;
|
35708
|
-
const urls = getAddressUrls(config.dev.https && (0, is_1.isDev)() ? "https" : "http", port);
|
35709
|
+
const urls = (0, exports.getAddressUrls)(config.dev.https && (0, is_1.isDev)() ? "https" : "http", port);
|
35709
35710
|
const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
|
35710
35711
|
let message = "App running at:\n\n";
|
35711
35712
|
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": "
|
14
|
+
"version": "1.17.0",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/index.d.ts",
|
17
17
|
"main": "./dist/index.js",
|
@@ -34,12 +34,12 @@
|
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@babel/runtime": "^7.18.0",
|
37
|
-
"@modern-js/utils": "
|
37
|
+
"@modern-js/utils": "1.17.0",
|
38
38
|
"@modern-js/codesmith": "^1.5.0",
|
39
|
-
"@modern-js/plugin-i18n": "
|
40
|
-
"@modern-js/upgrade-generator": "
|
41
|
-
"@scripts/build": "1.
|
42
|
-
"@scripts/jest-config": "1.
|
39
|
+
"@modern-js/plugin-i18n": "1.17.0",
|
40
|
+
"@modern-js/upgrade-generator": "2.3.1",
|
41
|
+
"@scripts/build": "1.17.0",
|
42
|
+
"@scripts/jest-config": "1.17.0",
|
43
43
|
"@types/jest": "^27",
|
44
44
|
"@types/node": "^14",
|
45
45
|
"jest": "^27",
|