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