@modern-js/repo-generator 3.4.14 → 3.4.16
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 +35909 -35626
- package/package.json +12 -12
- package/src/index.ts +2 -4
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.4.
|
18
|
+
"version": "3.4.16",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -23,23 +23,23 @@
|
|
23
23
|
"/dist/index.js"
|
24
24
|
],
|
25
25
|
"dependencies": {
|
26
|
-
"@modern-js/utils": "2.58.
|
26
|
+
"@modern-js/utils": "2.58.2"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
|
-
"@modern-js/codesmith": "2.
|
30
|
-
"@modern-js/codesmith-api-app": "2.
|
29
|
+
"@modern-js/codesmith": "2.4.1",
|
30
|
+
"@modern-js/codesmith-api-app": "2.4.1",
|
31
31
|
"@types/jest": "^29",
|
32
32
|
"@types/node": "^14",
|
33
33
|
"jest": "^29",
|
34
34
|
"typescript": "^5",
|
35
|
-
"@modern-js/base-generator": "3.4.
|
36
|
-
"@modern-js/generator-
|
37
|
-
"@modern-js/generator-
|
38
|
-
"@modern-js/generator
|
39
|
-
"@modern-js/
|
40
|
-
"@modern-js/mwa-generator": "3.4.
|
41
|
-
"@scripts/build": "2.58.
|
42
|
-
"@scripts/jest-config": "2.58.
|
35
|
+
"@modern-js/base-generator": "3.4.16",
|
36
|
+
"@modern-js/generator-common": "3.4.16",
|
37
|
+
"@modern-js/generator-plugin": "3.4.16",
|
38
|
+
"@modern-js/module-generator": "3.4.16",
|
39
|
+
"@modern-js/generator-utils": "3.4.16",
|
40
|
+
"@modern-js/mwa-generator": "3.4.16",
|
41
|
+
"@scripts/build": "2.58.2",
|
42
|
+
"@scripts/jest-config": "2.58.2"
|
43
43
|
},
|
44
44
|
"sideEffects": false,
|
45
45
|
"publishConfig": {
|
package/src/index.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { merge } from '@modern-js/utils/lodash';
|
2
|
-
import { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
2
|
+
import type { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
3
3
|
import { AppAPI } from '@modern-js/codesmith-api-app';
|
4
4
|
import {
|
5
5
|
i18n,
|
6
6
|
getSolutionSchema,
|
7
7
|
SolutionGenerator,
|
8
|
-
Solution,
|
8
|
+
type Solution,
|
9
9
|
SolutionDefaultConfig,
|
10
10
|
BaseGenerator,
|
11
11
|
getScenesSchema,
|
@@ -97,7 +97,6 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
97
97
|
appApi.i18n.changeLanguage({ locale });
|
98
98
|
|
99
99
|
if (!(await appApi.checkEnvironment())) {
|
100
|
-
// eslint-disable-next-line no-process-exit
|
101
100
|
process.exit(1);
|
102
101
|
}
|
103
102
|
|
@@ -116,7 +115,6 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
116
115
|
await handleTemplateFile(context, generator, appApi, generatorPlugin);
|
117
116
|
} catch (e) {
|
118
117
|
generator.logger.error(e);
|
119
|
-
// eslint-disable-next-line no-process-exit
|
120
118
|
process.exit(1);
|
121
119
|
}
|
122
120
|
|