@modern-js/mwa-generator 3.1.13 → 3.1.15

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.
Files changed (3) hide show
  1. package/dist/index.js +4482 -5614
  2. package/package.json +14 -14
  3. package/src/index.ts +8 -7
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.13",
18
+ "version": "3.1.15",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -24,23 +24,23 @@
24
24
  ],
25
25
  "devDependencies": {
26
26
  "@babel/runtime": "^7.18.0",
27
- "@modern-js/codesmith": "2.1.0",
28
- "@modern-js/codesmith-api-app": "2.1.0",
29
- "@modern-js/codesmith-api-json": "2.1.0",
27
+ "@modern-js/codesmith": "2.2.0",
28
+ "@modern-js/codesmith-api-app": "2.2.0",
29
+ "@modern-js/codesmith-api-json": "2.2.0",
30
30
  "@types/jest": "^29",
31
31
  "@types/node": "^14",
32
32
  "jest": "^29",
33
33
  "typescript": "^4",
34
- "@modern-js/base-generator": "3.1.13",
35
- "@modern-js/dependence-generator": "3.1.13",
36
- "@modern-js/entry-generator": "3.1.13",
37
- "@modern-js/generator-common": "3.1.13",
38
- "@modern-js/generator-utils": "3.1.13",
39
- "@modern-js/packages-generator": "3.1.13",
40
- "@modern-js/rspack-generator": "3.1.13",
41
- "@modern-js/plugin-i18n": "2.18.0",
42
- "@scripts/build": "2.18.0",
43
- "@scripts/jest-config": "2.18.0"
34
+ "@modern-js/base-generator": "3.1.15",
35
+ "@modern-js/dependence-generator": "3.1.15",
36
+ "@modern-js/entry-generator": "3.1.15",
37
+ "@modern-js/generator-common": "3.1.15",
38
+ "@modern-js/generator-utils": "3.1.15",
39
+ "@modern-js/packages-generator": "3.1.15",
40
+ "@modern-js/rspack-generator": "3.1.15",
41
+ "@modern-js/plugin-i18n": "2.19.0",
42
+ "@scripts/build": "2.19.0",
43
+ "@scripts/jest-config": "2.19.0"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "publishConfig": {
package/src/index.ts CHANGED
@@ -204,13 +204,6 @@ export const handleTemplateFile = async (
204
204
  }
205
205
 
206
206
  const { packagesInfo, buildTools } = context.config;
207
- if (packagesInfo && Object.keys(packagesInfo).length > 0) {
208
- await appApi.runSubGenerator(
209
- getGeneratorPath(PackagesGenerator, context.config.distTag),
210
- undefined,
211
- context.config,
212
- );
213
- }
214
207
 
215
208
  if (buildTools === BuildTools.Rspack) {
216
209
  await appApi.runSubGenerator(
@@ -225,6 +218,14 @@ export const handleTemplateFile = async (
225
218
  );
226
219
  }
227
220
 
221
+ if (packagesInfo && Object.keys(packagesInfo).length > 0) {
222
+ await appApi.runSubGenerator(
223
+ getGeneratorPath(PackagesGenerator, context.config.distTag),
224
+ undefined,
225
+ context.config,
226
+ );
227
+ }
228
+
228
229
  return { projectPath };
229
230
  };
230
231