@modern-js/repo-generator 0.0.0-next-20241012034757 → 0.0.0-next-20241012094817
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 +39121 -90707
- package/package.json +10 -12
- package/src/index.ts +2 -1
package/package.json
CHANGED
|
@@ -15,31 +15,29 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-20241012094817",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
22
22
|
"/templates",
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@modern-js/utils": "0.0.0-next-20241012034757"
|
|
27
|
-
},
|
|
28
25
|
"devDependencies": {
|
|
26
|
+
"@modern-js/codesmith-utils": "2.5.1",
|
|
29
27
|
"@modern-js/codesmith": "2.5.2",
|
|
30
28
|
"@modern-js/codesmith-api-app": "2.5.2",
|
|
31
29
|
"@types/jest": "^29",
|
|
32
30
|
"@types/node": "^14",
|
|
33
31
|
"jest": "^29",
|
|
34
32
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
36
|
-
"@modern-js/generator-
|
|
37
|
-
"@modern-js/generator
|
|
38
|
-
"@modern-js/generator-
|
|
39
|
-
"@modern-js/
|
|
40
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
41
|
-
"@scripts/build": "0.0.0-next-
|
|
42
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
33
|
+
"@modern-js/base-generator": "0.0.0-next-20241012094817",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-20241012094817",
|
|
35
|
+
"@modern-js/module-generator": "0.0.0-next-20241012094817",
|
|
36
|
+
"@modern-js/generator-common": "0.0.0-next-20241012094817",
|
|
37
|
+
"@modern-js/generator-utils": "0.0.0-next-20241012094817",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-20241012094817",
|
|
39
|
+
"@scripts/build": "0.0.0-next-20241012094817",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-next-20241012094817"
|
|
43
41
|
},
|
|
44
42
|
"sideEffects": false,
|
|
45
43
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
|
2
2
|
import { AppAPI } from '@modern-js/codesmith-api-app';
|
|
3
|
+
import { merge } from '@modern-js/codesmith-utils/lodash';
|
|
3
4
|
import {
|
|
4
5
|
BaseGenerator,
|
|
5
6
|
type Solution,
|
|
@@ -11,7 +12,6 @@ import {
|
|
|
11
12
|
} from '@modern-js/generator-common';
|
|
12
13
|
import { GeneratorPlugin } from '@modern-js/generator-plugin';
|
|
13
14
|
import { getGeneratorPath } from '@modern-js/generator-utils';
|
|
14
|
-
import { merge } from '@modern-js/utils/lodash';
|
|
15
15
|
|
|
16
16
|
const mergeDefaultConfig = (context: GeneratorContext) => {
|
|
17
17
|
const { defaultSolution } = context.config;
|
|
@@ -99,6 +99,7 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
|
99
99
|
if (!(await appApi.checkEnvironment())) {
|
|
100
100
|
process.exit(1);
|
|
101
101
|
}
|
|
102
|
+
|
|
102
103
|
generator.logger.debug(`🚀 [Start Run Repo Generator]`);
|
|
103
104
|
generator.logger.debug(
|
|
104
105
|
'💡 [Current Config]:',
|