|
8 | 8 | "_check:links": "make --keep-going check-links", |
9 | 9 | "_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit -m \"Site at $HASH\"", |
10 | 10 | "_diff:check": "git diff --name-only --exit-code", |
11 | | - "_ensure:docsy-hugo-modules": "test -d node_modules/github.com || npm --prefix node_modules/docsy run postinstall", |
12 | 11 | "_filename-error": "echo 'ERROR: the following files violate naming conventions; fix using: `npm run fix:filenames`'; echo; npm run -s _ls-bad-filenames; exit 1", |
13 | 12 | "_filenames-to-kebab-case": "find assets content -name '*_*' ! -name '[_.]*' -exec sh -c 'mv \"$1\" \"${1//_/-}\"' _ {} \\;", |
14 | 13 | "_hugo-dev": "npm run _hugo -- -e dev -DFE", |
|
30 | 29 | "make:public": "git init public", |
31 | 30 | "postbuild:preview": "npm run _check:links--warn", |
32 | 31 | "postbuild:production": "npm run _check:links--warn", |
33 | | - "postinstall": "test ! -d node_modules/docsy || npm run _ensure:docsy-hugo-modules", |
| 32 | + "postinstall": "npm --prefix node_modules/docsy run postinstall", |
34 | 33 | "precheck:links:all": "npm run build", |
35 | 34 | "precheck:links": "npm run build", |
| 35 | + "random:text": "node scripts/random-text.js", |
36 | 36 | "seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ", |
37 | 37 | "serve": "npm run _serve", |
38 | | - "test": "npm run check:format && npm run check:links", |
| 38 | + "test": "npm list docsy && npm run check:format && npm run check:links", |
| 39 | + "update:docsy:local": "npm install -D file:../docsy/docsy && npm list docsy", |
| 40 | + "update:docsy:main": "npm install -D google/docsy#main && npm list docsy", |
| 41 | + "update:hugo": "npm install --save-exact -D hugo-extended@latest", |
39 | 42 | "update:packages": "npx npm-check-updates --dep 'prod,dev,optional,peer' -u" |
40 | 43 | }, |
41 | 44 | "devDependencies": { |
42 | 45 | "autoprefixer": "^10.4.21", |
43 | 46 | "cspell": "^9.0.2", |
44 | | - "docsy": "google/docsy#semver:0.13.0", |
45 | | - "hugo-extended": "^0.152.2", |
| 47 | + "docsy": "github:google/docsy#main", |
| 48 | + "hugo-extended": "0.155.3", |
46 | 49 | "postcss-cli": "^11.0.1", |
47 | 50 | "prettier": "^3.5.3" |
48 | 51 | }, |
|
54 | 57 | "engines": { |
55 | 58 | "node": ">=24" |
56 | 59 | }, |
57 | | - "gitHubActionCacheKey": "2026-02-06 - refresh cache for Docsy 0.13.0 and Hugo 0.152.2", |
| 60 | + "gitHubActionCacheKey": "2026-02-09 - refresh cache for Docsy and latest hugo-extended", |
58 | 61 | "private": true, |
59 | 62 | "prettier": { |
60 | 63 | "proseWrap": "always", |
|
0 commit comments