easy-soft-develop 2.1.148 → 2.1.152

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