@modern-js/mwa-generator 3.1.14 → 3.1.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 CHANGED
@@ -133764,13 +133764,6 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
133764
133764
  });
133765
133765
  }
133766
133766
  const { packagesInfo, buildTools } = context.config;
133767
- if (packagesInfo && Object.keys(packagesInfo).length > 0) {
133768
- yield appApi.runSubGenerator(
133769
- getGeneratorPath(PackagesGenerator, context.config.distTag),
133770
- void 0,
133771
- context.config
133772
- );
133773
- }
133774
133767
  if (buildTools === BuildTools.Rspack) {
133775
133768
  yield appApi.runSubGenerator(
133776
133769
  getGeneratorPath(RspackGenerator, context.config.distTag),
@@ -133782,6 +133775,13 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
133782
133775
  })
133783
133776
  );
133784
133777
  }
133778
+ if (packagesInfo && Object.keys(packagesInfo).length > 0) {
133779
+ yield appApi.runSubGenerator(
133780
+ getGeneratorPath(PackagesGenerator, context.config.distTag),
133781
+ void 0,
133782
+ context.config
133783
+ );
133784
+ }
133785
133785
  return { projectPath };
133786
133786
  });
133787
133787
  var src_default = (context, generator) => __async(void 0, null, function* () {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.14",
18
+ "version": "3.1.16",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -31,16 +31,16 @@
31
31
  "@types/node": "^14",
32
32
  "jest": "^29",
33
33
  "typescript": "^4",
34
- "@modern-js/generator-common": "3.1.14",
35
- "@modern-js/entry-generator": "3.1.14",
36
- "@modern-js/generator-utils": "3.1.14",
37
- "@modern-js/packages-generator": "3.1.14",
38
- "@modern-js/rspack-generator": "3.1.14",
39
- "@modern-js/plugin-i18n": "2.18.1",
40
- "@modern-js/dependence-generator": "3.1.14",
41
- "@modern-js/base-generator": "3.1.14",
42
- "@scripts/jest-config": "2.18.1",
43
- "@scripts/build": "2.18.1"
34
+ "@modern-js/generator-common": "3.1.16",
35
+ "@modern-js/entry-generator": "3.1.16",
36
+ "@modern-js/generator-utils": "3.1.16",
37
+ "@modern-js/packages-generator": "3.1.16",
38
+ "@modern-js/plugin-i18n": "2.19.1",
39
+ "@modern-js/rspack-generator": "3.1.16",
40
+ "@modern-js/base-generator": "3.1.16",
41
+ "@modern-js/dependence-generator": "3.1.16",
42
+ "@scripts/build": "2.19.1",
43
+ "@scripts/jest-config": "2.19.1"
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