mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 03:12:56 +00:00
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
26 lines
561 B
JSON
26 lines
561 B
JSON
{
|
|
"name": "HugoBlox Codespace",
|
|
"image": "ghcr.io/HugoBlox/hugo-blox-dev:hugo0.161.0",
|
|
"updateContentCommand": "pnpm install --frozen-lockfile --prefer-offline",
|
|
"postCreateCommand": "pnpm --version && hugo version",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ownable.ownable"
|
|
]
|
|
}
|
|
},
|
|
"mounts": [
|
|
"source=pnpm-store,target=/home/vscode/.local/share/pnpm,type=volume"
|
|
],
|
|
"remoteUser": "vscode",
|
|
"forwardPorts": [
|
|
1313
|
|
],
|
|
"portsAttributes": {
|
|
"1313": {
|
|
"label": "Hugo Server"
|
|
}
|
|
}
|
|
}
|