@modern-js/generator-utils 2.4.4 → 2.4.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @modern-js/generator-utils
2
2
 
3
+ ## 2.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 4ac9a0e: fix: new action version when new electron
8
+
9
+ fix: 修复启用 Electron 时版本报错
10
+
11
+ - cfd8557: feat: new command install not run prepare scripts
12
+
13
+ feat: new 命令安装依赖时不执行 prepare 脚本
14
+
15
+ - Updated dependencies [cf1a2b1]
16
+ - Updated dependencies [cfd8557]
17
+ - @modern-js/generator-common@2.4.5
18
+ - @modern-js/utils@1.21.0
19
+ - @modern-js/plugin-i18n@1.21.0
20
+
3
21
  ## 2.4.4
4
22
 
5
23
  ### Patch Changes
@@ -66,7 +66,7 @@ export async function getModernPluginVersion(solution, packageName, options = {}
66
66
  return version;
67
67
  };
68
68
 
69
- if (!packageName.startsWith('@modern-js')) {
69
+ if (!packageName.startsWith('@modern-js') || packageName.includes('electron') || packageName.includes('codesmith') || packageName.includes('easy-form') || packageName.startsWith('@modern-js-reduck')) {
70
70
  return getLatetPluginVersion();
71
71
  } // get project solution version
72
72
 
@@ -194,7 +194,7 @@ async function getModernPluginVersion(solution, packageName, options = {}) {
194
194
  return version;
195
195
  };
196
196
 
197
- if (!packageName.startsWith('@modern-js')) {
197
+ if (!packageName.startsWith('@modern-js') || packageName.includes('electron') || packageName.includes('codesmith') || packageName.includes('easy-form') || packageName.startsWith('@modern-js-reduck')) {
198
198
  return getLatetPluginVersion();
199
199
  } // get project solution version
200
200
 
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.4.4",
14
+ "version": "2.4.5",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.18.0",
31
- "@modern-js/plugin-i18n": "1.20.1",
32
- "@modern-js/generator-common": "2.4.4",
33
- "@modern-js/utils": "1.20.1"
31
+ "@modern-js/plugin-i18n": "1.21.0",
32
+ "@modern-js/generator-common": "2.4.5",
33
+ "@modern-js/utils": "1.21.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@modern-js/codesmith": "1.6.1",
37
- "@scripts/build": "1.20.1",
38
- "@scripts/jest-config": "1.20.1",
36
+ "@modern-js/codesmith": "1.6.3",
37
+ "@scripts/build": "1.21.0",
38
+ "@scripts/jest-config": "1.21.0",
39
39
  "@types/jest": "^27",
40
40
  "@types/node": "^14",
41
41
  "jest": "^27",