From 30e8d139fe0ba5d13692cd6e43ff734489ac4298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 14 Feb 2023 17:48:44 +0100 Subject: Remove unused partials and add some way to automatically detect it (#38004) * Add docs-check-unused-templates in npm commands and workflow * Remove unused partials icons templates --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index f5635bd5b..d09e04c93 100644 --- a/package.json +++ b/package.json @@ -74,8 +74,9 @@ "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": "npm-run-all docs-build docs-lint docs-check-unused-templates", "docs-build": "hugo --cleanDestinationDir", + "docs-check-unused-templates": "hugo --printUnusedTemplates", "docs-compile": "npm run docs-build", "docs-vnu": "node build/vnu-jar.js", "docs-lint": "npm run docs-vnu", -- cgit v1.2.3