mirror of
https://github.com/lima-vm/lima.git
synced 2026-10-28 11:44:35 +08:00
- hugo-extended 0.133.1 -> 0.164.0 (via `npm run update:pkg:hugo`;
0.164.0 is the latest on npm)
- docsy 0.11.0 -> 0.17.0, as docsy 0.11.0 is incompatible with
Hugo >= 0.141 (Resource.Err removal):
- The Hugo module path is now `github.com/google/docsy/theme`; the
`github.com/google/docsy/dependencies` module is retired.
Bootstrap and Font Awesome (now v7) come from npm instead, via
`hugo mod npm pack` (packages/hugoautogen)
- docsy 0.17 requires Dart Sass >= 1.95 (LibSass is no longer
supported); add `sass-embedded` to devDependencies, which `npm run`
puts on PATH for hugo (locally, on Netlify, and in CI)
- hugo.toml: allow HTML content files (`security.allowContent`,
default-deny since Hugo 0.162) and Node.js parent-directory reads
for PostCSS/browserslist (`security.node.permissions.allowRead`,
sandboxed since Hugo 0.161)
- hugo.toml: rename deprecated `includeFiles` -> `files`,
`languageName` -> `label`; bump min Hugo version to 0.162.0
- Refresh caniuse-lite via `npx update-browserslist-db`
Assisted-by: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
43 lines
1.6 KiB
JSON
43 lines
1.6 KiB
JSON
{
|
|
"name": "lima-site",
|
|
"version": "1.0",
|
|
"description": "Lima website that uses Docsy theme for technical documentation.",
|
|
"repository": "github:lima-vm/lima",
|
|
"homepage": "https://lima-vm.io",
|
|
"author": "Lima",
|
|
"license": "Apache-2.0",
|
|
"bugs": "https://github.com/lima-vm/lima/issues",
|
|
"spelling": "cSpell:ignore HTMLTEST precheck postbuild -",
|
|
"scripts": {
|
|
"_build": "npm run _hugo-dev",
|
|
"_check:links": "echo IMPLEMENTATION PENDING for check-links; echo",
|
|
"_hugo": "hugo --cleanDestinationDir",
|
|
"_hugo-dev": "npm run _hugo -- -e dev -DFE",
|
|
"_serve": "npm run _hugo-dev -- --minify 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",
|
|
"clean": "rm -Rf public/* resources",
|
|
"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",
|
|
"serve": "npm run _serve",
|
|
"test": "npm run check:links",
|
|
"update:pkg:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest",
|
|
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.21",
|
|
"hugo-extended": "0.164.0",
|
|
"postcss-cli": "^11.0.1",
|
|
"sass-embedded": "^1.104.0"
|
|
},
|
|
"workspaces": [
|
|
"packages/hugoautogen"
|
|
]
|
|
}
|