easy-soft-develop 2.0.148 → 2.0.150

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.148",
3
+ "version": "2.0.150",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -23,6 +23,7 @@ rollup.config-*.cjs
23
23
  .eslintrc.js
24
24
  .prettierrc.js
25
25
  .stylelintrc.js
26
+ .lintstagedrc
26
27
  \`;
27
28
 
28
29
  module.exports = {
@@ -4,7 +4,7 @@ const folderPath = './develop/config/package';
4
4
 
5
5
  const globalChildPackageFileContent = `${fileGlobalHeader}
6
6
  const commitScript = {
7
- precommit: 'npm run z:lint:staged',
7
+ precommit: 'npm run z:lint:staged:quiet',
8
8
  };
9
9
 
10
10
  const documentationScript = {
@@ -24,7 +24,8 @@ const lintScript = {
24
24
  'z:lint:script:change': 'npx eslint --cache --ext .js,.jsx,.ts,.tsx ./src',
25
25
  'z:lint:script:change:fix': 'npx eslint --fix --cache --ext .js,.jsx,.ts,.tsx ./src',
26
26
  'postz:lint:script:change:fix': 'npm run z:prettier:format:change',
27
- 'z:lint:staged': 'npx lint-staged --quiet',
27
+ 'z:lint:staged': 'npx lint-staged',
28
+ 'z:lint:staged:quiet': 'npx lint-staged --quiet',
28
29
  'z:lint:style:all': 'npx stylelint --allow-empty-input "./src/**/*.{css,scss,less}"',
29
30
  'z:lint:style:all:fix': 'npx stylelint --allow-empty-input --fix "./src/**/*.{css,scss,less}"',
30
31
  'postz:lint:style:all:fix': 'npm run z:prettier:format:all',
@@ -61,7 +62,8 @@ const globalChildPackageFile = {
61
62
 
62
63
  const globalMainPackageFileContent = `${fileGlobalHeader}
63
64
  const lintScript = {
64
- 'z:lint:staged': 'npx lint-staged --quiet',
65
+ 'z:lint:staged': 'npx lint-staged',
66
+ 'z:lint:staged:quiet': 'npx lint-staged --quiet',
65
67
  };
66
68
 
67
69
  const prepareScript = {
@@ -124,7 +126,7 @@ const commitScript = {
124
126
  precz: 'npm run z:commit:refresh && git stage -A',
125
127
  cz: 'cz',
126
128
  postcz: 'git push',
127
- precommit: 'npm run z:lint:staged',
129
+ precommit: 'npm run z:lint:staged:quiet',
128
130
  "z:commit:refresh": "npx easy-soft-develop commit-refresh",
129
131
  };
130
132