@modern-js/repo-generator 0.0.0-next-1687716454057 → 0.0.0-next-1687763260175

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 (2) hide show
  1. package/dist/index.js +2 -23
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -147159,15 +147159,6 @@ function getGeneratorPath(generator, distTag) {
147159
147159
  }
147160
147160
  return generator;
147161
147161
  }
147162
- function usePluginNameExport(solution, options) {
147163
- return __async(this, null, function* () {
147164
- const solutionVersion = yield getModernPluginVersion(solution, SolutionToolsMap[Solution.MWA], options);
147165
- if (import_utils30.semver.valid(solutionVersion) && import_utils30.semver.gte(solutionVersion, "2.0.0")) {
147166
- return import_utils30.semver.gt(solutionVersion, "2.24.0");
147167
- }
147168
- return true;
147169
- });
147170
- }
147171
147162
 
147172
147163
  // ../../new-action/dist/esm/mwa.js
147173
147164
  var import_lodash11 = __toESM(require_lodash2());
@@ -147224,11 +147215,6 @@ var MWANewAction = (options) => __async(void 0, null, function* () {
147224
147215
  };
147225
147216
  const devDependency = MWAActionFunctionsDevDependencies[action2];
147226
147217
  const dependency = MWAActionFunctionsDependencies[action2] || MWAActionRefactorDependencies[action2];
147227
- const shouldUsePluginNameExport = yield usePluginNameExport(Solution.MWA, {
147228
- registry: registry2,
147229
- distTag,
147230
- cwd
147231
- });
147232
147218
  const finalConfig = (0, import_lodash11.merge)(UserConfig, ans, {
147233
147219
  locale: UserConfig.locale || locale,
147234
147220
  packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
@@ -147242,8 +147228,7 @@ var MWANewAction = (options) => __async(void 0, null, function* () {
147242
147228
  } : {},
147243
147229
  appendTypeContent: MWAActionFunctionsAppendTypeContent[action2] || MWAActionReactorAppendTypeContent[action2],
147244
147230
  pluginName: MWANewActionPluginName[actionType][action2],
147245
- pluginDependence: MWANewActionPluginDependence[actionType][action2],
147246
- shouldUsePluginNameExport
147231
+ pluginDependence: MWANewActionPluginDependence[actionType][action2]
147247
147232
  });
147248
147233
  const task = [
147249
147234
  {
@@ -147318,11 +147303,6 @@ var ModuleNewAction = (options) => __async(void 0, null, function* () {
147318
147303
  cwd
147319
147304
  });
147320
147305
  };
147321
- const shouldUsePluginNameExport = yield usePluginNameExport(Solution.Module, {
147322
- registry: registry2,
147323
- distTag,
147324
- cwd
147325
- });
147326
147306
  const finalConfig = (0, import_lodash12.merge)(UserConfig, ans, {
147327
147307
  locale: UserConfig.locale || locale,
147328
147308
  packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
@@ -147338,8 +147318,7 @@ var ModuleNewAction = (options) => __async(void 0, null, function* () {
147338
147318
  [peerDependency]: `${yield getModulePluginVersion(peerDependency)}`
147339
147319
  } : {},
147340
147320
  pluginName: ModuleNewActionPluginName[actionType][action2],
147341
- pluginDependence: ModuleNewActionPluginDependence[actionType][action2],
147342
- shouldUsePluginNameExport
147321
+ pluginDependence: ModuleNewActionPluginDependence[actionType][action2]
147343
147322
  });
147344
147323
  const task = [
147345
147324
  {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1687716454057",
18
+ "version": "0.0.0-next-1687763260175",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,17 +29,17 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/base-generator": "0.0.0-next-1687716454057",
33
- "@modern-js/generator-common": "0.0.0-next-1687716454057",
34
- "@modern-js/generator-plugin": "0.0.0-next-1687716454057",
35
- "@modern-js/generator-utils": "0.0.0-next-1687716454057",
36
- "@modern-js/module-generator": "0.0.0-next-1687716454057",
37
- "@modern-js/monorepo-generator": "0.0.0-next-1687716454057",
38
- "@modern-js/mwa-generator": "0.0.0-next-1687716454057",
39
- "@modern-js/doc-generator": "0.0.0-next-1687716454057",
40
- "@scripts/build": "0.0.0-next-1687716454057",
41
- "@scripts/jest-config": "0.0.0-next-1687716454057",
42
- "@modern-js/utils": "0.0.0-next-1687716454057"
32
+ "@modern-js/base-generator": "0.0.0-next-1687763260175",
33
+ "@modern-js/generator-common": "0.0.0-next-1687763260175",
34
+ "@modern-js/generator-plugin": "0.0.0-next-1687763260175",
35
+ "@modern-js/generator-utils": "0.0.0-next-1687763260175",
36
+ "@modern-js/module-generator": "0.0.0-next-1687763260175",
37
+ "@modern-js/monorepo-generator": "0.0.0-next-1687763260175",
38
+ "@modern-js/mwa-generator": "0.0.0-next-1687763260175",
39
+ "@modern-js/doc-generator": "0.0.0-next-1687763260175",
40
+ "@modern-js/utils": "0.0.0-next-1687763260175",
41
+ "@scripts/build": "0.0.0-next-1687763260175",
42
+ "@scripts/jest-config": "0.0.0-next-1687763260175"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {