easy-soft-develop 2.1.146 → 2.1.150

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.1.146",
3
+ "version": "2.1.150",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -136,19 +136,21 @@ function adjustMainPackageJsonScript({ scripts }) {
136
136
  developInitialEnvironmentConfig.publishWithOtp || false;
137
137
 
138
138
  const publishItemCollection = {};
139
+ let publishItemScript = [];
139
140
 
140
141
  publishPackageNameList.map((o) => {
141
- publishItemCollection[`z:publish:npm-${o}`] =
142
- `npx easy-soft-develop publish --packages ${o}${publishWithOtp ? ' --otp true' : ''}`;
142
+ const scriptItem = `npx easy-soft-develop publish --packages ${o}${publishWithOtp ? ' --otp true' : ''}`;
143
+
144
+ publishItemScript = [...publishItemScript, scriptItem];
145
+
146
+ publishItemCollection[`z:publish:npm-${o}`] = scriptItem;
143
147
  });
144
148
 
145
149
  packageJson.scripts = assignObject(
146
150
  publishItemCollection,
147
151
  {
148
152
  'z:build:all': 'echo please supplement build all packages commend',
149
- 'z:publish:npm-all': `npx easy-soft-develop publish --packages ${publishPackageNameList.join(
150
- ',',
151
- )}${publishWithOtp ? ' --otp true' : ''}`,
153
+ 'z:publish:npm-all': publishItemScript.join(' && '),
152
154
  },
153
155
  globalScript,
154
156
  originalScript || {},