[CI] Adjust fix:all and test-and-fix to omit fix:i18n (#6896)
This commit is contained in:
parent
d7a61cc489
commit
0abe3844ae
|
@ -30,10 +30,10 @@
|
|||
"_install:dict": "npm install -D $(npm run -s _list:dict)",
|
||||
"_install:netlify-cli": "npm list netlify-cli || npm install -O netlify-cli",
|
||||
"_list:check:*": "npm run --loglevel=warn | grep -Ee '^\\s*check:[^:]+$'",
|
||||
"_list:check:for-test-and-fix": "npm -s run _list:check:* | grep -Ev \"${CMD_SKIP:-noop}\"",
|
||||
"_list:check:for-test-and-fix": "npm -s run _list:check:* | grep -Ev \"i18n|${CMD_SKIP:-noop}\"",
|
||||
"_list:dict": "grep '^\\s*\"@cspell' package.json | awk -F: '{print $1}' | tr -d '\"'",
|
||||
"_list:fix:*": "npm run --loglevel=warn | grep -Ee '^\\s*fix:[^:]+$' | grep -v 'fix:all'",
|
||||
"_list:fix:for-test-and-fix": "npm -s run _list:fix:* | grep -Ev \"refcache|submodule|${CMD_SKIP:-noop}\"",
|
||||
"_list:fix:for-test-and-fix": "npm -s run _list:fix:* | grep -Ev \"i18n|refcache|submodule|${CMD_SKIP:-noop}\"",
|
||||
"_ls-bad-filenames": "find assets content static -name '*_*' ! -name '[_.]*'",
|
||||
"_pin:submodule": "scripts/pin-submodules.pl",
|
||||
"_prebuild": "npm run seq -- get:submodule cp:spec",
|
||||
|
@ -67,7 +67,7 @@
|
|||
"cp:spec": "scripts/content-modules/cp-pages.sh",
|
||||
"diff:check": "npm run _diff:check || (echo; echo 'WARNING: the files above have not been committed'; echo)",
|
||||
"diff:fail": "npm run _diff:check || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test-and-fix` and commit changes'; echo; exit 1)",
|
||||
"fix:all": "npm run all -- $(npm -s run _list:fix:*)",
|
||||
"fix:all": "npm run all -- $(npm -s run _list:fix:* | grep -Ev \"i18n|${CMD_SKIP:-noop}\")",
|
||||
"fix:dict": "find content layouts -name \"*.md\" -print0 | xargs -0 scripts/normalize-cspell-front-matter.pl",
|
||||
"fix:expired": "npm run -s check:expired -- -q | xargs -r -I {} sh -c 'echo \"Deleting expired file: {}\" && rm {}'",
|
||||
"fix:filenames": "npm run _rename-to-kebab-case",
|
||||
|
@ -81,7 +81,7 @@
|
|||
"fix:refcache": "npm run check:links",
|
||||
"fix:submodule": "npm run pin:submodule",
|
||||
"fix:text": "npm run check:text -- --fix",
|
||||
"fix": "npm run fix:all",
|
||||
"fix": "npm run all -- $(npm -s run _list:fix:*)",
|
||||
"format": "npm run _check:format -- --write && npm run _check:format:ja+zh -- --write",
|
||||
"get:submodule": "npm run _get:${GET:-submodule} --",
|
||||
"log:check:links": "npm run check:links 2>&1 | tee tmp/build-log.txt",
|
||||
|
|
Loading…
Reference in New Issue