easy-soft-develop 2.0.154 → 2.0.155

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-develop",
3
- "version": "2.0.154",
3
+ "version": "2.0.155",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -76,8 +76,8 @@ const toolsScript = {
76
76
  'z:show:info':
77
77
  'echo node version && node --version && echo npm version && npm --version && echo ------------ && npx lerna ls -a -l',
78
78
  "z:show:package": "npx lerna ls -a -l",
79
- "z:sleep": "npx easy-soft-develop sleep --second 2 --showInfo false",
80
- "z:create:assist-scripts": "npx easy-soft-develop create-assist-scripts",
79
+ "z:sleep": "easy-soft-develop sleep --second 2 --showInfo false",
80
+ "z:create:assist-scripts": "easy-soft-develop create-assist-scripts",
81
81
  "z:update:package-from-package": "node ./develop/assists/update-package-from-package.js",
82
82
  };
83
83
 
@@ -127,7 +127,7 @@ const commitScript = {
127
127
  cz: 'cz',
128
128
  postcz: 'git push',
129
129
  precommit: 'npm run z:lint:staged:quiet',
130
- "z:commit:refresh": "npx easy-soft-develop commit-refresh",
130
+ "z:commit:refresh": "easy-soft-develop commit-refresh",
131
131
  };
132
132
 
133
133
  const prettierScript = {
@@ -138,8 +138,8 @@ const prettierScript = {
138
138
  };
139
139
 
140
140
  const ncuScript = {
141
- 'z:check:all-package-version': 'npx easy-soft-develop check-all-package-version',
142
- 'z:update:all-package-version': 'npx easy-soft-develop update-all-package-version',
141
+ 'z:check:all-package-version': 'easy-soft-develop check-all-package-version',
142
+ 'z:update:all-package-version': 'easy-soft-develop update-all-package-version',
143
143
  'postz:update:all-package-version': 'npm run z:install',
144
144
  'z:update:special-package-version': 'node ./develop/assists/package.update.special.version.js',
145
145
  'postz:update:special-package-version': 'npm run z:install',
@@ -91,7 +91,7 @@ function adjustMainPackageJsonScript({ scripts }) {
91
91
  packageJson.scripts = assignObject(
92
92
  {
93
93
  'z:build:all': 'echo please supplement build all packages commend',
94
- 'z:publish:npm-all': `npx easy-soft-develop publish --packages ${publishPackageNameList.join(
94
+ 'z:publish:npm-all': `easy-soft-develop publish --packages ${publishPackageNameList.join(
95
95
  ',',
96
96
  )}`,
97
97
  },
@@ -17,6 +17,12 @@ function adjustChildrenPackageJsonByCommand(cmd) {
17
17
  });
18
18
  }
19
19
 
20
+ function checkEasySoftDevelopVersion() {
21
+ promptInfo('check easy-soft-develop version');
22
+
23
+ exec('ncu -g easy-soft-develop');
24
+ }
25
+
20
26
  function updateSpecialPackageVersion(packageList) {
21
27
  exec('npm run z:initial:environment');
22
28
 
@@ -30,6 +36,8 @@ function updateSpecialPackageVersion(packageList) {
30
36
 
31
37
  adjustChildrenPackageJsonByCommand(ncuCommand);
32
38
 
39
+ checkEasySoftDevelopVersion();
40
+
33
41
  promptSuccess('check success');
34
42
  }
35
43
 
@@ -47,6 +55,8 @@ function updateAllPackageVersion() {
47
55
  promptSuccess('update success, exec install with z:install');
48
56
 
49
57
  exec('npm run z:install');
58
+
59
+ checkEasySoftDevelopVersion();
50
60
  }
51
61
 
52
62
  function checkAllPackageVersion() {
@@ -63,6 +73,8 @@ function checkAllPackageVersion() {
63
73
  promptSuccess('update success, exec install with z:install');
64
74
 
65
75
  exec('npm run z:install');
76
+
77
+ checkEasySoftDevelopVersion();
66
78
  }
67
79
 
68
80
  module.exports = {