@modern-js/repo-generator 1.2.3 → 1.2.4
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 +17 -17
- package/package.json +4 -5
package/dist/js/node/main.js
CHANGED
@@ -5604,7 +5604,7 @@ exports.pointer = pointer;
|
|
5604
5604
|
|
5605
5605
|
/***/ }),
|
5606
5606
|
|
5607
|
-
/***/
|
5607
|
+
/***/ 57119:
|
5608
5608
|
/***/ ((module) => {
|
5609
5609
|
|
5610
5610
|
function webpackEmptyContext(req) {
|
@@ -5614,7 +5614,7 @@ function webpackEmptyContext(req) {
|
|
5614
5614
|
}
|
5615
5615
|
webpackEmptyContext.keys = () => ([]);
|
5616
5616
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
5617
|
-
webpackEmptyContext.id =
|
5617
|
+
webpackEmptyContext.id = 57119;
|
5618
5618
|
module.exports = webpackEmptyContext;
|
5619
5619
|
|
5620
5620
|
/***/ }),
|
@@ -100380,7 +100380,7 @@ const SubSolutionSchema = {
|
|
100380
100380
|
if (data.solution && data.solution !== 'custom') {
|
100381
100381
|
items.push({
|
100382
100382
|
key: data.solution,
|
100383
|
-
label: `${
|
100383
|
+
label: `${SubSolutionText[data.solution]()}(${_locale.i18n.t(_locale.localeKeys.solution.default)})`
|
100384
100384
|
});
|
100385
100385
|
}
|
100386
100386
|
|
@@ -101946,7 +101946,7 @@ exports.MWANewActionGenerators = MWANewActionGenerators;
|
|
101946
101946
|
|
101947
101947
|
/***/ }),
|
101948
101948
|
|
101949
|
-
/***/
|
101949
|
+
/***/ 51832:
|
101950
101950
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
101951
101951
|
|
101952
101952
|
"use strict";
|
@@ -102545,7 +102545,7 @@ const SubSolutionSchema = {
|
|
102545
102545
|
if (data.solution && data.solution !== 'custom') {
|
102546
102546
|
items.push({
|
102547
102547
|
key: data.solution,
|
102548
|
-
label: `${
|
102548
|
+
label: `${SubSolutionText[data.solution]()}(${modern_locale_i18n.t(modern_locale_localeKeys.solution["default"])})`
|
102549
102549
|
});
|
102550
102550
|
}
|
102551
102551
|
|
@@ -108003,7 +108003,7 @@ class AppAPI {
|
|
108003
108003
|
}
|
108004
108004
|
|
108005
108005
|
}
|
108006
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
108006
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/locale/zh.js
|
108007
108007
|
const modern_locale_zh_ZH_LOCALE = {
|
108008
108008
|
solution: {
|
108009
108009
|
self: '请选择你想创建的工程类型',
|
@@ -108129,7 +108129,7 @@ const modern_locale_zh_ZH_LOCALE = {
|
|
108129
108129
|
}
|
108130
108130
|
}
|
108131
108131
|
};
|
108132
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
108132
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/locale/en.js
|
108133
108133
|
const modern_locale_en_EN_LOCALE = {
|
108134
108134
|
solution: {
|
108135
108135
|
self: 'Please select the solution you want to create',
|
@@ -108255,7 +108255,7 @@ const modern_locale_en_EN_LOCALE = {
|
|
108255
108255
|
}
|
108256
108256
|
}
|
108257
108257
|
};
|
108258
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
108258
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/locale/index.js
|
108259
108259
|
|
108260
108260
|
|
108261
108261
|
|
@@ -108265,7 +108265,7 @@ const dist_js_modern_locale_localeKeys = dist_js_modern_locale_i18n.init('zh', {
|
|
108265
108265
|
en: modern_locale_en_EN_LOCALE
|
108266
108266
|
});
|
108267
108267
|
|
108268
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
108268
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/newAction/common/index.js
|
108269
108269
|
|
108270
108270
|
let common_ActionType;
|
108271
108271
|
|
@@ -108342,7 +108342,7 @@ const common_ActionTypeTextMap = {
|
|
108342
108342
|
[common_ActionType.Function]: common_ActionFunctionText,
|
108343
108343
|
[common_ActionType.Refactor]: common_ActionRefactorText
|
108344
108344
|
};
|
108345
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
108345
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/newAction/mwa/index.js
|
108346
108346
|
|
108347
108347
|
|
108348
108348
|
const mwa_MWAActionTypes = [common_ActionType.Element, common_ActionType.Function // ActionType.Refactor,
|
@@ -110030,7 +110030,7 @@ var dist_lib = JSON5;
|
|
110030
110030
|
|
110031
110031
|
/* harmony default export */ const json5_dist = (dist_lib);
|
110032
110032
|
|
110033
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.
|
110033
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.1_typescript@4.5.4/node_modules/@modern-js/new-action/dist/js/modern/utils/index.js
|
110034
110034
|
|
110035
110035
|
|
110036
110036
|
|
@@ -110079,7 +110079,7 @@ function hasEnabledFunction(action, dependencies, devDependencies, peerDependenc
|
|
110079
110079
|
|
110080
110080
|
return false;
|
110081
110081
|
}
|
110082
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.
|
110082
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.1_typescript@4.5.4/node_modules/@modern-js/new-action/dist/js/modern/mwa.js
|
110083
110083
|
|
110084
110084
|
|
110085
110085
|
|
@@ -110176,7 +110176,7 @@ const MWANewAction = async options => {
|
|
110176
110176
|
pwd: cwd
|
110177
110177
|
});
|
110178
110178
|
};
|
110179
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.
|
110179
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+generator-common@1.2.1/node_modules/@modern-js/generator-common/dist/js/modern/newAction/module/index.js
|
110180
110180
|
|
110181
110181
|
|
110182
110182
|
const module_ModuleActionTypes = [common_ActionType.Function];
|
@@ -110235,7 +110235,7 @@ const module_ModuleNewActionGenerators = {
|
|
110235
110235
|
[common_ActionFunction.RuntimeApi]: '@modern-js/dependence-generator'
|
110236
110236
|
}
|
110237
110237
|
};
|
110238
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.
|
110238
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.1_typescript@4.5.4/node_modules/@modern-js/new-action/dist/js/modern/module.js
|
110239
110239
|
|
110240
110240
|
|
110241
110241
|
|
@@ -110348,7 +110348,7 @@ const ModuleNewAction = async options => {
|
|
110348
110348
|
pwd: cwd
|
110349
110349
|
});
|
110350
110350
|
};
|
110351
|
-
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.
|
110351
|
+
;// CONCATENATED MODULE: ../../../../node_modules/.pnpm/@modern-js+new-action@1.2.1_typescript@4.5.4/node_modules/@modern-js/new-action/dist/js/modern/monorepo.js
|
110352
110352
|
|
110353
110353
|
|
110354
110354
|
|
@@ -110396,7 +110396,7 @@ const MonorepoNewAction = async options => {
|
|
110396
110396
|
let generator = REPO_GENERAROE;
|
110397
110397
|
|
110398
110398
|
if (process.env.CODESMITH_ENV === 'development') {
|
110399
|
-
generator = /*require.resolve*/(__webpack_require__(
|
110399
|
+
generator = /*require.resolve*/(__webpack_require__(57119).resolve(generator));
|
110400
110400
|
} else if (distTag) {
|
110401
110401
|
generator = `${generator}@${distTag}`;
|
110402
110402
|
}
|
@@ -111671,7 +111671,7 @@ var _codesmithApiApp = __webpack_require__(83028);
|
|
111671
111671
|
|
111672
111672
|
var _generatorCommon = __webpack_require__(50828);
|
111673
111673
|
|
111674
|
-
var _generatorPlugin = __webpack_require__(
|
111674
|
+
var _generatorPlugin = __webpack_require__(51832);
|
111675
111675
|
|
111676
111676
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
111677
111677
|
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.2.
|
14
|
+
"version": "1.2.4",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"main": "./dist/js/node/main.js",
|
17
17
|
"files": [
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"@modern-js/codesmith": "^1.0.7",
|
27
27
|
"@modern-js/codesmith-api-app": "^1.0.7",
|
28
28
|
"@modern-js/codesmith-tools": "^1.0.8",
|
29
|
-
"@modern-js/generator-common": "^1.2.
|
29
|
+
"@modern-js/generator-common": "^1.2.2",
|
30
30
|
"@modern-js/generator-utils": "^1.1.1",
|
31
31
|
"@modern-js/module-generator": "^1.2.2",
|
32
32
|
"@modern-js/monorepo-generator": "^1.2.2",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"lodash": "^4.17.21",
|
40
40
|
"typescript": "^4",
|
41
41
|
"@modern-js/module-tools": "^1.1.3",
|
42
|
-
"@modern-js/plugin-testing": "^1.2.
|
42
|
+
"@modern-js/plugin-testing": "^1.2.0"
|
43
43
|
},
|
44
44
|
"sideEffects": false,
|
45
45
|
"modernConfig": {
|
@@ -57,6 +57,5 @@
|
|
57
57
|
"build": "modern build",
|
58
58
|
"build:csmith": "csmith-tools build",
|
59
59
|
"test": "modern test --passWithNoTests"
|
60
|
-
}
|
61
|
-
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
60
|
+
}
|
62
61
|
}
|