From 6d872fd292656bfba8acafebce8ffeab907d6054 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Sat, 11 Feb 2023 08:15:19 -0500 Subject: [PATCH] Upgrade to Hugo 0.110.0 and normalize script names (#1402) --- package.json | 6 +++--- userguide/package.json | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 33f3360098..eb02e96f4c 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "build:production": "npm run cd:docs build:production", "build": "npm run cd:docs build", "cd:docs": "npm run _cd:docs -- npm run", - "check-links:all": "npm run cd:docs check-links:all", - "check-links": "npm run cd:docs check-links", + "check:links:all": "npm run cd:docs check:links:all", + "check:links": "npm run cd:docs check:links", "docs-install": "npm run _cd:docs -- npm install", "get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}", "serve": "npm run cd:docs serve", @@ -25,6 +25,6 @@ "bootstrap": "5.2.3" }, "devDependencies": { - "hugo-extended": "0.107.0" + "hugo-extended": "0.110.0" } } diff --git a/userguide/package.json b/userguide/package.json index be2e8ff019..0959ac1948 100644 --- a/userguide/package.json +++ b/userguide/package.json @@ -2,21 +2,21 @@ "name": "docsy-user-guide", "scripts": { "_build": "npm run _hugo-dev", - "_check-links": "make check-links", + "_check:links": "make check-links", "_hugo": "hugo --cleanDestinationDir --themesDir ../..", "_hugo-dev": "npm run _hugo -- -e dev -DFE", "_serve": "npm run _hugo-dev -- serve", "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", "build:production": "npm run _hugo -- --minify", "build": "npm run _build", - "check-links:all": "HTMLTEST_ARGS= npm run _check-links", - "check-links": "npm run _check-links", + "check:links:all": "HTMLTEST_ARGS= npm run _check:links", + "check:links": "npm run _check:links", "clean": "rm -Rf public", "make:public": "git init -b main public", - "precheck-links:all": "npm run build", - "precheck-links": "npm run build", - "postbuild:preview": "npm run _check-links", - "postbuild:production": "npm run _check-links", + "precheck:links:all": "npm run build", + "precheck:links": "npm run build", + "postbuild:preview": "npm run _check:links", + "postbuild:production": "npm run _check:links", "prepare": "cd .. && npm install", "serve": "npm run _serve" },