easy-soft-develop 2.0.157 → 2.0.158

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.157",
3
+ "version": "2.0.158",
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": "easy-soft-develop sleep --second 2 --showInfo false",
80
- "z:create:assist-scripts": "easy-soft-develop create-assist-scripts",
79
+ "z:sleep": "npx easy-soft-develop sleep --second 2 --showInfo false",
80
+ "z:create:assist-scripts": "npx 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": "easy-soft-develop commit-refresh",
130
+ "z:commit:refresh": "npx easy-soft-develop commit-refresh",
131
131
  };
132
132
 
133
133
  const prettierScript = {
@@ -93,6 +93,7 @@ function installDevelopDependencePackages({
93
93
  mainDevelopPackageList = [],
94
94
  childrenDevelopPackageList = [],
95
95
  childrenSpecialDevelopPackageList = [],
96
+ execInstall = true,
96
97
  }) {
97
98
  const packages = getGlobalPackages().concat(globalDevelopPackageList);
98
99
 
@@ -131,9 +132,13 @@ function installDevelopDependencePackages({
131
132
 
132
133
  updateSpecialPackageVersion(packageListAll);
133
134
 
134
- exec('npm run z:install');
135
+ promptSuccess('append to dependence collection success');
135
136
 
136
- promptSuccess('install success');
137
+ if (execInstall) {
138
+ exec('npm run z:install');
139
+
140
+ promptSuccess('install success');
141
+ }
137
142
  }
138
143
 
139
144
  module.exports = {
@@ -1,6 +1,7 @@
1
- export function installDevelopDependencePackages({ globalDevelopPackageList, mainDevelopPackageList, childrenDevelopPackageList, childrenSpecialDevelopPackageList, }: {
1
+ export function installDevelopDependencePackages({ globalDevelopPackageList, mainDevelopPackageList, childrenDevelopPackageList, childrenSpecialDevelopPackageList, execInstall, }: {
2
2
  globalDevelopPackageList: any;
3
3
  mainDevelopPackageList?: any[] | undefined;
4
4
  childrenDevelopPackageList?: any[] | undefined;
5
5
  childrenSpecialDevelopPackageList?: any[] | undefined;
6
+ execInstall?: boolean | undefined;
6
7
  }): void;