Skip to content

Commit

Permalink
updating log:check:links
Browse files Browse the repository at this point in the history
Signed-off-by: Nate W <[email protected]>
  • Loading branch information
nate-double-u committed Sep 11, 2024
1 parent 624cdfc commit 73ed21d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"scripts": {
"_build": "hugo --cleanDestinationDir -e dev -DFE",
"_check-links": "make check-links",
"_check-links--warn": "npm run _check-links || (echo; echo 'WARNING: see link-checker output for issues.'; echo)",
"_diff:check": "git diff --name-only --exit-code",
"_serve:hugo": "hugo serve -DFE --minify",
"_serve": "netlify dev -c \"npm run _serve:hugo\" --framework hugo",
Expand All @@ -13,9 +14,9 @@
"clean": "make clean",
"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)",
"log:check:links": "npm run check-links | tee tmp/build-log.txt",
"postbuild:preview": "npm run _check-links",
"postbuild:production": "npm run _check-links",
"log:check:links": "npm run check-links--warn | tee tmp/build-log.txt",
"postbuild:preview": "npm run _check-links--warn",
"postbuild:production": "npm run _check-links--warn",
"precheck-links:all": "npm run build",
"precheck-links": "npm run build",
"serve:hugo": "npm run _serve:hugo",
Expand Down

0 comments on commit 73ed21d

Please sign in to comment.