Skip to content

Commit fb85105

Browse files
HeyItsGilbertclaude
andcommitted
Bump hugo-extended to ^0.155.1 (fixes warnidf compatibility)
The npm hugo-extended devDependency was pinned at ^0.121.0, so Netlify's auto npm install was putting Hugo 0.121.x on the PATH ahead of any HUGO_VERSION-resolved binary. That's why HUGO_VERSION appeared to be ignored — it wasn't, the npm-installed Hugo just took precedence. Bumping to ^0.155.1 brings npm-installed Hugo above the 0.123 cutoff where warnidf landed, so the hugo-theme-component-ical module builds. Also reverts the wget+dpkg workaround from netlify.toml — no longer needed now that the npm-installed Hugo is current. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2ea231c commit fb85105

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
command = "wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb && sudo dpkg -i /tmp/hugo.deb && hugo --minify"
2+
command = "hugo --minify"
33
publish = "public"
44

55
[build.environment]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "hugo server --environment production"
1010
},
1111
"devDependencies": {
12-
"hugo-extended": "^0.121.0",
12+
"hugo-extended": "^0.155.1",
1313
"node-fetch": "^3.3.2"
1414
}
1515
}

0 commit comments

Comments
 (0)