easy-soft-develop 2.0.149 → 2.0.151
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
|
@@ -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
|
|
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
|
|
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
|
|
|
@@ -281,7 +281,7 @@ const { clean } = require('easy-soft-develop');
|
|
|
281
281
|
|
|
282
282
|
const { cleanCommand, cleanCollection } = require('./config');
|
|
283
283
|
|
|
284
|
-
clean(cleanCommand, cleanCollection);
|
|
284
|
+
clean(cleanCommand, ...cleanCollection);
|
|
285
285
|
`;
|
|
286
286
|
|
|
287
287
|
return createScriptFile('./develop/assists', 'clean.js', content, true);
|