@modern-js/generator-utils 2.4.4 → 2.4.6

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,31 @@
1
1
  # @modern-js/generator-utils
2
2
 
3
+ ## 2.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/generator-common@2.4.6
8
+ - @modern-js/plugin-i18n@1.21.1
9
+ - @modern-js/utils@1.21.1
10
+
11
+ ## 2.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - 4ac9a0e: fix: new action version when new electron
16
+
17
+ fix: 修复启用 Electron 时版本报错
18
+
19
+ - cfd8557: feat: new command install not run prepare scripts
20
+
21
+ feat: new 命令安装依赖时不执行 prepare 脚本
22
+
23
+ - Updated dependencies [cf1a2b1]
24
+ - Updated dependencies [cfd8557]
25
+ - @modern-js/generator-common@2.4.5
26
+ - @modern-js/utils@1.21.0
27
+ - @modern-js/plugin-i18n@1.21.0
28
+
3
29
  ## 2.4.4
4
30
 
5
31
  ### 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.6",
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.1",
32
+ "@modern-js/generator-common": "2.4.6",
33
+ "@modern-js/utils": "1.21.1"
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.1",
38
+ "@scripts/jest-config": "1.21.1",
39
39
  "@types/jest": "^27",
40
40
  "@types/node": "^14",
41
41
  "jest": "^27",