easy-soft-develop 2.0.194 → 2.0.196

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.194",
3
+ "version": "2.0.196",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -4,7 +4,6 @@ const folderPath = './develop/config/package';
4
4
 
5
5
  const globalChildPackageFileContent = `${fileGlobalHeader}
6
6
  const commitScript = {
7
- 'z:auto:adjust:file': 'echo can exec some file adjust command with here',
8
7
  precommit: 'npm run z:lint:staged:quiet',
9
8
  };
10
9
 
@@ -68,7 +68,8 @@ const ignoreFile = {
68
68
  fileName: 'ignore.content.js',
69
69
  coverFile: false,
70
70
  fileContent: `${fileGlobalHeader}
71
- const content = \`\`;
71
+ const content = \`# ignore dir
72
+ **/docs/**\`;
72
73
 
73
74
  module.exports = {
74
75
  content,
@@ -164,7 +164,14 @@ function adjustChildrenPackageJsonScript({ scripts }) {
164
164
  }
165
165
  });
166
166
 
167
- packageJson.scripts = assignObject(originalScript || {}, scripts);
167
+ packageJson.scripts = assignObject(
168
+ {
169
+ 'z:auto:adjust:file':
170
+ 'echo can exec some file adjust command with here',
171
+ },
172
+ originalScript || {},
173
+ scripts,
174
+ );
168
175
 
169
176
  writeJsonFileSync(childPackageJsonPath, packageJson, { coverFile: true });
170
177