@modern-js/new-action 2.39.2 → 2.41.0

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.
@@ -107,7 +107,8 @@ const ModuleNewAction = async (options) => {
107
107
  } : {},
108
108
  pluginName: import_generator_common.ModuleNewActionPluginName[actionType][action],
109
109
  pluginDependence: import_generator_common.ModuleNewActionPluginDependence[actionType][action],
110
- shouldUsePluginNameExport
110
+ shouldUsePluginNameExport,
111
+ isModuleProject: true
111
112
  });
112
113
  const task = [
113
114
  {
@@ -84,7 +84,8 @@ const ModuleNewAction = async (options) => {
84
84
  } : {},
85
85
  pluginName: ModuleNewActionPluginName[actionType][action],
86
86
  pluginDependence: ModuleNewActionPluginDependence[actionType][action],
87
- shouldUsePluginNameExport
87
+ shouldUsePluginNameExport,
88
+ isModuleProject: true
88
89
  });
89
90
  const task = [
90
91
  {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.39.2",
18
+ "version": "2.41.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -32,18 +32,18 @@
32
32
  "dependencies": {
33
33
  "@modern-js/codesmith": "2.3.0",
34
34
  "@modern-js/codesmith-formily": "2.3.0",
35
- "@swc/helpers": "0.5.1",
36
- "@modern-js/generator-common": "3.2.10",
37
- "@modern-js/generator-utils": "3.2.10",
38
- "@modern-js/utils": "2.39.2"
35
+ "@swc/helpers": "0.5.3",
36
+ "@modern-js/generator-utils": "3.3.0",
37
+ "@modern-js/utils": "2.41.0",
38
+ "@modern-js/generator-common": "3.3.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/jest": "^29",
42
42
  "@types/node": "^14",
43
43
  "jest": "^29",
44
44
  "typescript": "^5",
45
- "@scripts/jest-config": "2.39.2",
46
- "@scripts/build": "2.39.2"
45
+ "@scripts/build": "2.41.0",
46
+ "@scripts/jest-config": "2.41.0"
47
47
  },
48
48
  "sideEffects": false,
49
49
  "publishConfig": {