Skip to content

Commit 8743ef5

Browse files
author
Splitter
committed
chore(templates): update modules to latest commits
1 parent 85ae4ce commit 8743ef5

5 files changed

Lines changed: 285 additions & 382 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@
55
"postCreateCommand": "pnpm --version && hugo version",
66
"customizations": {
77
"vscode": {
8-
"extensions": [
9-
"ownable.ownable"
10-
]
8+
"extensions": ["ownable.ownable"]
119
}
1210
},
13-
"mounts": [
14-
"source=pnpm-store,target=/home/vscode/.local/share/pnpm,type=volume"
15-
],
11+
"mounts": ["source=pnpm-store,target=/home/vscode/.local/share/pnpm,type=volume"],
1612
"remoteUser": "vscode",
17-
"forwardPorts": [
18-
1313
19-
],
13+
"forwardPorts": [1313],
2014
"portsAttributes": {
2115
"1313": {
2216
"label": "Hugo Server"

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build
22

33
env:
4-
NODE_VERSION: '20'
4+
NODE_VERSION: '22'
55

66
on:
77
# Standalone trigger for PR validation
@@ -65,7 +65,7 @@ jobs:
6565
VERSION=$(yq '.build.hugo_version // ""' hugoblox.yaml 2>/dev/null | grep -v '^null$' || true)
6666
6767
# Fallback to a known stable version if not specified
68-
DEFAULT_VERSION="0.154.5"
68+
DEFAULT_VERSION="0.161.0"
6969
VERSION=${VERSION:-$DEFAULT_VERSION}
7070
7171
# Validate version format (basic check)
@@ -85,6 +85,16 @@ jobs:
8585
pnpm install --no-frozen-lockfile || npm install
8686
fi
8787
88+
- name: Verify Tailwind CSS dependency
89+
if: hashFiles('package.json') != ''
90+
run: |
91+
if ! node -e "require.resolve('@tailwindcss/cli/package.json')" 2>/dev/null; then
92+
echo "::error title=Missing dependency '@tailwindcss/cli'::Hugo >= 0.161.0 requires the npm @tailwindcss/cli package. Add it to package.json:"
93+
echo "::error:: pnpm add @tailwindcss/cli tailwindcss"
94+
echo "::error::See https://github.com/HugoBlox/kit for upgrade instructions."
95+
exit 1
96+
fi
97+
8898
- name: Setup Hugo
8999
uses: peaceiris/actions-hugo@v3
90100
with:

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-linker=hoisted

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.19
44

55
require (
66
github.com/HugoBlox/kit/modules/integrations/netlify v0.0.0-20260327032542-ef8ed449c7e8
7-
github.com/HugoBlox/kit/modules/blox v0.0.0-20260430210141-3b70b325afed
7+
github.com/HugoBlox/kit/modules/blox v0.0.0-20260502203050-b8ad5540288a
88
github.com/HugoBlox/kit/modules/slides v0.0.0-20260330182742-6a2f1ba2aeb5
99
)

0 commit comments

Comments
 (0)