@modern-js/create 1.0.0-rc.4 → 1.0.0-rc.5
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/js/node/main.js +4 -2
- package/package.json +8 -8
package/dist/js/node/main.js
CHANGED
|
@@ -214444,7 +214444,7 @@ var _locale = __webpack_require__(62443);
|
|
|
214444
214444
|
|
|
214445
214445
|
var _utils = __webpack_require__(70302);
|
|
214446
214446
|
|
|
214447
|
-
const REPO_GENERAROE = '@modern-js/repo-generator';
|
|
214447
|
+
const REPO_GENERAROE = '@modern-js/repo-generator'; // eslint-disable-next-line max-statements
|
|
214448
214448
|
|
|
214449
214449
|
function getDefaultConfing(options, logger) {
|
|
214450
214450
|
const {
|
|
@@ -214468,7 +214468,9 @@ function getDefaultConfing(options, logger) {
|
|
|
214468
214468
|
process.exit(1);
|
|
214469
214469
|
}
|
|
214470
214470
|
|
|
214471
|
-
initialConfig.locale
|
|
214471
|
+
if (!initialConfig.locale) {
|
|
214472
|
+
initialConfig.locale = (0, _utils.getLocaleLanguage)();
|
|
214473
|
+
}
|
|
214472
214474
|
|
|
214473
214475
|
if (mwa) {
|
|
214474
214476
|
initialConfig.solution = 'mwa';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/create",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.5",
|
|
4
4
|
"jsnext:source": "./src/index.ts",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/js/node/main.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"@babel/runtime": "^7",
|
|
27
27
|
"@modern-js/codesmith": "^1.0.0-rc.14",
|
|
28
28
|
"@modern-js/codesmith-tools": "^1.0.0-rc.14",
|
|
29
|
-
"@modern-js/module-tools": "^1.0.0-rc.
|
|
30
|
-
"@modern-js/plugin-testing": "^1.0.0-rc.
|
|
31
|
-
"@modern-js/i18n-cli-language-detector": "^1.0.0-rc.
|
|
32
|
-
"@modern-js/plugin-i18n": "^1.0.0-rc.
|
|
33
|
-
"@modern-js/repo-generator": "^1.0.0-rc.
|
|
34
|
-
"@modern-js/utils": "^1.0.0-rc.
|
|
29
|
+
"@modern-js/module-tools": "^1.0.0-rc.5",
|
|
30
|
+
"@modern-js/plugin-testing": "^1.0.0-rc.5",
|
|
31
|
+
"@modern-js/i18n-cli-language-detector": "^1.0.0-rc.5",
|
|
32
|
+
"@modern-js/plugin-i18n": "^1.0.0-rc.5",
|
|
33
|
+
"@modern-js/repo-generator": "^1.0.0-rc.5",
|
|
34
|
+
"@modern-js/utils": "^1.0.0-rc.5",
|
|
35
35
|
"@types/jest": "^26",
|
|
36
36
|
"@types/node": "^14",
|
|
37
37
|
"@types/react": "^17",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"
|
|
50
|
+
"publishConfig": {
|
|
51
51
|
"registry": "https://registry.npmjs.org/",
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|