0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Move --printUnusedTemplates in hugo scripts (#38227)

This commit is contained in:
XhmikosR 2023-03-14 09:09:48 +02:00 committed by GitHub
parent 3b632cdee6
commit ca6dfad43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -41,9 +41,6 @@ jobs:
- name: Validate HTML
run: npm run docs-vnu
- name: Check for unused templates
run: npm run docs-check-unused-templates
- name: Run linkinator
uses: JustinBeckwith/linkinator-action@v1
with:

View File

@ -74,13 +74,12 @@
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
"docs": "npm-run-all docs-build docs-lint docs-check-unused-templates",
"docs-build": "hugo --cleanDestinationDir",
"docs-check-unused-templates": "hugo --printUnusedTemplates",
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
"docs-compile": "npm run docs-build",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm run docs-vnu",
"docs-serve": "hugo server --port 9001 --disableFastRender",
"docs-serve": "hugo server --port 9001 --disableFastRender --printUnusedTemplates",
"docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x globby,karma-browserstack-launcher,karma-rollup-preprocessor,terser && echo Manually update site/assets/js/vendor",