easy-soft-develop 2.0.192 → 2.0.193

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.0.192",
3
+ "version": "2.0.193",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -4,7 +4,7 @@ const folderPath = './develop/config/package';
4
4
 
5
5
  const globalChildPackageFileContent = `${fileGlobalHeader}
6
6
  const commitScript = {
7
- 'z:adjust:file': 'exec some file adjust command',
7
+ 'z:auto:adjust:file': 'exec some file adjust command',
8
8
  precommit: 'npm run z:lint:staged:quiet',
9
9
  };
10
10
 
@@ -129,7 +129,7 @@ const nrmScript = {
129
129
 
130
130
  const commitScript = {
131
131
  commitlint: 'npx commitlint --edit',
132
- precz: 'npm run z:prettier:format:change && npm run z:commit:refresh && git stage -A',
132
+ precz: 'npm run z:auto:adjust:file:all && npm run z:prettier:format:change && npm run z:commit:refresh && git stage -A',
133
133
  cz: 'cz',
134
134
  postcz: 'git push && npm run z:test',
135
135
  precommit: 'npm run z:lint:staged:quiet',
@@ -104,10 +104,10 @@ function adjustMainPackageJsonScript({ scripts }) {
104
104
  publishPackageNameList.push(name);
105
105
 
106
106
  autoAdjustFileScript[
107
- `z:adjust:file:${name}`
108
- ] = `cd packages/${name} && npm run z:adjust:file`;
107
+ `z:auto:adjust:file:${name}`
108
+ ] = `cd packages/${name} && npm run z:auto:adjust:file`;
109
109
 
110
- autoAdjustFileAllProjects.push(`npm run z:adjust:file:${name}`);
110
+ autoAdjustFileAllProjects.push(`npm run z:auto:adjust:file:${name}`);
111
111
 
112
112
  testScript[`test:${name}`] = `cd packages/${name} && npm run z:test`;
113
113
 
@@ -127,7 +127,7 @@ function adjustMainPackageJsonScript({ scripts }) {
127
127
  testScript,
128
128
  autoAdjustFileScript,
129
129
  {
130
- 'z:adjust:file:all': autoAdjustFileAllProjects.join(' && '),
130
+ 'z:auto:adjust:file:all': autoAdjustFileAllProjects.join(' && '),
131
131
  'z:test': testAllProjects.join(' && '),
132
132
  },
133
133
  );
@@ -148,7 +148,7 @@ function adjustChildrenPackageJsonScript({ scripts }) {
148
148
 
149
149
  const originalScript = packageJson.scripts;
150
150
 
151
- const ignoreDeleteScript = ['z:adjust:file'];
151
+ const ignoreDeleteScript = ['z:auto:adjust:file'];
152
152
 
153
153
  Object.keys(originalScript).forEach((o) => {
154
154
  if (checkInCollection(ignoreDeleteScript, o)) {