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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-develop",
3
- "version": "2.1.18",
3
+ "version": "2.1.21",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -6,7 +6,7 @@ const {
6
6
  } = require('../tools/meta');
7
7
 
8
8
  const developInitialEnvironment = {
9
- publishWithOpt: false,
9
+ publishWithOtp: false,
10
10
  };
11
11
 
12
12
  const developInitialEnvironmentConfigFilePath =
@@ -86,7 +86,6 @@ function createLernaConfigFile(packageName) {
86
86
  const content = `{
87
87
  "packages": ["packages/*"],
88
88
  "version": "independent",
89
- "useWorkspaces": true,
90
89
  "npmClient": "pnpm",
91
90
  "command": {
92
91
  "updated": {
@@ -119,15 +119,15 @@ function adjustMainPackageJsonScript({ scripts }) {
119
119
 
120
120
  const developInitialEnvironmentConfig = getDevelopInitialEnvironmentConfig();
121
121
 
122
- const publishWithOpt =
123
- developInitialEnvironmentConfig.publishWithOpt || false;
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
- )}${publishWithOpt ? ' --otp true' : ''}`,
130
+ )}${publishWithOtp ? ' --otp true' : ''}`,
131
131
  },
132
132
  globalScript,
133
133
  originalScript || {},