Files
HugoBlox-kit/package.json
T
George Cushen 6aa2898258 chore(deps): upgrade to Hugo v0.161.0 (css.TailwindCSS Node.js sandbox)
Hugo v0.161 dropped the standalone tailwindcss binary; @tailwindcss/cli
npm package is now the only accepted transformer, invoked via
`node --permission` (Node >= 22 required).

- Bump module.hugoVersion.min to 0.161.0 in modules/blox/hugo.yaml;
  add comment explaining why security.node.permissions is left to
  Hugo's built-in defaults
- Bump hugo_version / HUGO_VERSION / devcontainer image tag to 0.161.0
  across all 9 templates (hugoblox.yaml, netlify.toml, devcontainer.json)
- Bump devcontainer base image Node 20 → 22 and default Hugo version
- Add scripts/check-template-deps.mjs to assert every template declares
  tailwindcss + @tailwindcss/cli; wire as pnpm check:template-deps
- Harden CI: new audit-template-deps job gates all build jobs; add
  `require.resolve('@tailwindcss/cli/package.json')` check after each
  pnpm install to catch the exact "binary is not a Node.js script" failure
2026-04-30 20:12:37 +01:00

49 lines
1.7 KiB
JSON

{
"name": "kit",
"version": "1.0.0",
"description": "The Page Builder for Hugo",
"author": "George Cushen",
"license": "MIT",
"packageManager": "pnpm@10.14.0",
"bugs": {
"url": "https://github.com/HugoBlox/kit/issues"
},
"homepage": "https://hugoblox.com",
"repository": {
"type": "git",
"url": "git+https://github.com/HugoBlox/kit.git"
},
"dependencies": {
"alpinejs": "^3.15.0",
"katex": "^0.16.22",
"markmap-autoloader": "^0.18.12",
"medium-zoom": "^1.0.8",
"mermaid": "^11.12.0",
"plotly.js": "^3.1.0",
"preact": "^10.27.2",
"rollup-plugin-delete": "^2.0.0",
"vite": "^7.1.2",
"vite-hugo-plugin": "^3.1.0",
"vite-plugin-static-copy": "^3.1.1"
},
"devDependencies": {
"@biomejs/biome": "^2.3.2"
},
"scripts": {
"prod": "scripts/view-starter-prod.sh",
"dev": "scripts/view-starter-dev.sh",
"dev:stop": "lsof -ti :8081 | xargs kill -9",
"test": "scripts/view-test.sh",
"lint": "biome check --reporter=summary . --linter-enabled=true --formatter-enabled=false",
"lint:fix": "biome check --write . --linter-enabled=true --formatter-enabled=false",
"format": "biome format --write .",
"update:starters": "poetry run python ./scripts/update.py",
"vendor:libs": "vite build --config vite.config.js",
"vendor:libs:watch": "vite build --config vite.config.js --watch",
"vendor:update-and-build": "pnpm up katex mermaid markmap-autoloader alpinejs plotly.js preact --latest && pnpm vendor:libs",
"test:releaser": "poetry run python scripts/test_release_modules.py",
"check:template-deps": "node scripts/check-template-deps.mjs"
},
"browserslist": "> 1%"
}