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
|
@@ -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
|
-
|
|
142
|
-
|
|
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':
|
|
150
|
-
',',
|
|
151
|
-
)}${publishWithOtp ? ' --otp true' : ''}`,
|
|
153
|
+
'z:publish:npm-all': publishItemScript.join(' && '),
|
|
152
154
|
},
|
|
153
155
|
globalScript,
|
|
154
156
|
originalScript || {},
|