@modern-js/repo-generator 0.0.0-next-20241014073503 → 0.0.0-next-20241015030726
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 +24 -0
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -21851,6 +21851,16 @@ function encode_char(c) {
|
|
|
21851
21851
|
if (!alreadyRepo(cwd)) {
|
|
21852
21852
|
smith.logger.warn("not valid modern.js repo");
|
|
21853
21853
|
}
|
|
21854
|
+
const prepareGlobalPromise = smith.prepareGlobal();
|
|
21855
|
+
const prepareGeneratorPromise = smith.prepareGenerators([
|
|
21856
|
+
`@modern-js/dependence-generator@${distTag || "latest"}`,
|
|
21857
|
+
`@modern-js/bff-generator@${distTag || "latest"}`,
|
|
21858
|
+
`@modern-js/server-generator@${distTag || "latest"}`,
|
|
21859
|
+
`@modern-js/entry-generator@${distTag || "latest"}`,
|
|
21860
|
+
`@modern-js/ssg-generator@${distTag || "latest"}`,
|
|
21861
|
+
`@modern-js/storybook-next-generator@${distTag || "latest"}`,
|
|
21862
|
+
`@modern-js/tailwindcss-generator@${distTag || "latest"}`
|
|
21863
|
+
]);
|
|
21854
21864
|
const formilyAPI = new import_codesmith_formily.FormilyAPI({
|
|
21855
21865
|
materials: {},
|
|
21856
21866
|
config: {},
|
|
@@ -21916,6 +21926,10 @@ function encode_char(c) {
|
|
|
21916
21926
|
config: finalConfig
|
|
21917
21927
|
}
|
|
21918
21928
|
];
|
|
21929
|
+
yield Promise.all([
|
|
21930
|
+
prepareGlobalPromise,
|
|
21931
|
+
prepareGeneratorPromise
|
|
21932
|
+
]);
|
|
21919
21933
|
yield smith.forge({
|
|
21920
21934
|
tasks: task.map((runner)=>({
|
|
21921
21935
|
generator: runner.name,
|
|
@@ -21947,6 +21961,12 @@ function encode_char(c) {
|
|
|
21947
21961
|
if (!alreadyRepo(cwd)) {
|
|
21948
21962
|
smith.logger.warn("not valid modern.js repo");
|
|
21949
21963
|
}
|
|
21964
|
+
const prepareGlobalPromise = smith.prepareGlobal();
|
|
21965
|
+
const prepareGeneratorPromise = smith.prepareGenerators([
|
|
21966
|
+
`@modern-js/dependence-generator@${distTag || "latest"}`,
|
|
21967
|
+
`@modern-js/module-doc-generator@${distTag || "latest"}`,
|
|
21968
|
+
`@modern-js/storybook-next-generator@${distTag || "latest"}`
|
|
21969
|
+
]);
|
|
21950
21970
|
const formilyAPI = new import_codesmith_formily2.FormilyAPI({
|
|
21951
21971
|
materials: {},
|
|
21952
21972
|
config: {},
|
|
@@ -22019,6 +22039,10 @@ function encode_char(c) {
|
|
|
22019
22039
|
config: finalConfig
|
|
22020
22040
|
}
|
|
22021
22041
|
];
|
|
22042
|
+
yield Promise.all([
|
|
22043
|
+
prepareGlobalPromise,
|
|
22044
|
+
prepareGeneratorPromise
|
|
22045
|
+
]);
|
|
22022
22046
|
yield smith.forge({
|
|
22023
22047
|
tasks: task.map((runner)=>({
|
|
22024
22048
|
generator: runner.name,
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-20241015030726",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@modern-js/codesmith-utils": "2.
|
|
27
|
-
"@modern-js/codesmith": "2.
|
|
28
|
-
"@modern-js/codesmith-api-app": "2.
|
|
26
|
+
"@modern-js/codesmith-utils": "2.6.0",
|
|
27
|
+
"@modern-js/codesmith": "2.6.0",
|
|
28
|
+
"@modern-js/codesmith-api-app": "2.6.0",
|
|
29
29
|
"@types/jest": "^29",
|
|
30
30
|
"@types/node": "^14",
|
|
31
31
|
"jest": "^29",
|
|
32
32
|
"typescript": "^5",
|
|
33
|
-
"@modern-js/generator
|
|
34
|
-
"@modern-js/
|
|
35
|
-
"@modern-js/generator-
|
|
36
|
-
"@modern-js/generator-
|
|
37
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
40
|
-
"@
|
|
33
|
+
"@modern-js/base-generator": "0.0.0-next-20241015030726",
|
|
34
|
+
"@modern-js/generator-common": "0.0.0-next-20241015030726",
|
|
35
|
+
"@modern-js/generator-plugin": "0.0.0-next-20241015030726",
|
|
36
|
+
"@modern-js/generator-utils": "0.0.0-next-20241015030726",
|
|
37
|
+
"@modern-js/module-generator": "0.0.0-next-20241015030726",
|
|
38
|
+
"@scripts/build": "0.0.0-next-20241015030726",
|
|
39
|
+
"@scripts/jest-config": "0.0.0-next-20241015030726",
|
|
40
|
+
"@modern-js/mwa-generator": "0.0.0-next-20241015030726"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|