easy-soft-develop 2.1.18 → 2.1.21
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
|
@@ -119,15 +119,15 @@ function adjustMainPackageJsonScript({ scripts }) {
|
|
|
119
119
|
|
|
120
120
|
const developInitialEnvironmentConfig = getDevelopInitialEnvironmentConfig();
|
|
121
121
|
|
|
122
|
-
const
|
|
123
|
-
developInitialEnvironmentConfig.
|
|
122
|
+
const publishWithOtp =
|
|
123
|
+
developInitialEnvironmentConfig.publishWithOtp || false;
|
|
124
124
|
|
|
125
125
|
packageJson.scripts = assignObject(
|
|
126
126
|
{
|
|
127
127
|
'z:build:all': 'echo please supplement build all packages commend',
|
|
128
128
|
'z:publish:npm-all': `easy-soft-develop publish --packages ${publishPackageNameList.join(
|
|
129
129
|
',',
|
|
130
|
-
)}${
|
|
130
|
+
)}${publishWithOtp ? ' --otp true' : ''}`,
|
|
131
131
|
},
|
|
132
132
|
globalScript,
|
|
133
133
|
originalScript || {},
|