easy-soft-develop 2.1.142 → 2.1.144
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
|
@@ -135,7 +135,15 @@ function adjustMainPackageJsonScript({ scripts }) {
|
|
|
135
135
|
const publishWithOtp =
|
|
136
136
|
developInitialEnvironmentConfig.publishWithOtp || false;
|
|
137
137
|
|
|
138
|
+
const publishItemCollection = {};
|
|
139
|
+
|
|
140
|
+
publishPackageNameList.map((o) => {
|
|
141
|
+
publishItemCollection[`z:publish:npm-${o}`] =
|
|
142
|
+
`npx easy-soft-develop publish --packages ${o}${publishWithOtp ? ' --otp true' : ''}`;
|
|
143
|
+
});
|
|
144
|
+
|
|
138
145
|
packageJson.scripts = assignObject(
|
|
146
|
+
...publishItemCollection,
|
|
139
147
|
{
|
|
140
148
|
'z:build:all': 'echo please supplement build all packages commend',
|
|
141
149
|
'z:publish:npm-all': `npx easy-soft-develop publish --packages ${publishPackageNameList.join(
|