@modern-js/base-generator 3.7.2 → 3.7.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/index.js +0 -33
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -106,21 +106,6 @@
|
|
|
106
106
|
var import_plugin_i18n = __toESM(require_plugin_i18n());
|
|
107
107
|
// ../../generator-common/dist/esm-node/locale/en.js
|
|
108
108
|
var EN_LOCALE = {
|
|
109
|
-
solution: {
|
|
110
|
-
self: "Please select the type of project you want to create:",
|
|
111
|
-
mwa: "Web App",
|
|
112
|
-
module: "Npm Module",
|
|
113
|
-
custom: "Custom Solution",
|
|
114
|
-
default: "Default"
|
|
115
|
-
},
|
|
116
|
-
scenes: {
|
|
117
|
-
self: "Please select the project scenario:"
|
|
118
|
-
},
|
|
119
|
-
sub_solution: {
|
|
120
|
-
self: "Please select the type of project you want to create:",
|
|
121
|
-
mwa: "Web App",
|
|
122
|
-
module: "Npm Module"
|
|
123
|
-
},
|
|
124
109
|
action: {
|
|
125
110
|
self: "Please select the operation you want:",
|
|
126
111
|
function: {
|
|
@@ -192,21 +177,6 @@
|
|
|
192
177
|
};
|
|
193
178
|
// ../../generator-common/dist/esm-node/locale/zh.js
|
|
194
179
|
var ZH_LOCALE = {
|
|
195
|
-
solution: {
|
|
196
|
-
self: "请选择你想创建的工程类型",
|
|
197
|
-
mwa: "Web 应用",
|
|
198
|
-
module: "Npm 模块",
|
|
199
|
-
custom: "自定义",
|
|
200
|
-
default: "默认"
|
|
201
|
-
},
|
|
202
|
-
scenes: {
|
|
203
|
-
self: "请选择项目场景"
|
|
204
|
-
},
|
|
205
|
-
sub_solution: {
|
|
206
|
-
self: "请选择你想创建的工程类型",
|
|
207
|
-
mwa: "Web 应用",
|
|
208
|
-
module: "Npm 模块"
|
|
209
|
-
},
|
|
210
180
|
action: {
|
|
211
181
|
self: "请选择你想要的操作",
|
|
212
182
|
function: {
|
|
@@ -360,9 +330,6 @@
|
|
|
360
330
|
generator.logger.debug(`🚀 [Start Run Base Generator]`);
|
|
361
331
|
generator.logger.debug("💡 [Current Config]:", JSON.stringify(context.config));
|
|
362
332
|
yield handleTemplateFile(context, generator, appApi);
|
|
363
|
-
if (context.handleForged) {
|
|
364
|
-
yield context.handleForged("custom", context, context.config.hasPlugin);
|
|
365
|
-
}
|
|
366
333
|
generator.logger.debug(`🌟 [End Run Base Generator]`);
|
|
367
334
|
});
|
|
368
335
|
});
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.7.
|
|
18
|
+
"version": "3.7.4",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./src/index.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@types/node": "^14",
|
|
32
32
|
"jest": "^29",
|
|
33
33
|
"typescript": "^5",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
34
|
+
"@scripts/build": "2.62.0",
|
|
35
|
+
"@modern-js/generator-utils": "3.7.4",
|
|
36
|
+
"@modern-js/generator-common": "3.7.4",
|
|
37
|
+
"@scripts/jest-config": "2.62.0"
|
|
38
38
|
},
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"publishConfig": {
|