fix: track wrangler.jsonc in git and suppress Hono auto-detection - #14
Merged
Conversation
tbjers
force-pushed
the
fix/track-wrangler-config
branch
from
June 25, 2026 22:17
273d217 to
410780c
Compare
wrangler.jsonc was gitignored (leftover from when only wrangler pages deploy was used in CI, which took CLI flags instead). Now that CI runs wrangler deploy, the config must be in the repo — without it, wrangler falls back to framework auto-detection and fails on Hono 4.105. Also adds build.command to wrangler.jsonc pointing at the dashboard SvelteKit build, which suppresses wrangler 4.105 auto-detection (Hono is the Worker router, not a front-end framework). The separate "Build dashboard" CI step is removed since wrangler now invokes the build itself; dashboard npm ci still runs first so deps are in place. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause
wrangler.jsoncwas in.gitignore— a leftover from when CI only usedwrangler pages deploy(which takes CLI flags, no config file needed). The newwrangler deployrequireswrangler.jsoncto exist. Without it, wrangler 4.105 falls back to framework auto-detection, detectshonoinpackage.json, and fails:Changes
.gitignore— removewrangler.jsonc(and the now-irrelevant!dashboard/wrangler.jsoncnegation for the deleted file)wrangler.jsonc— now tracked in git; also addsbuild.commandpointing at the SvelteKit dashboard build, which gives wrangler an explicit build step and suppresses auto-detection.github/workflows/deploy-dashboard.yml— remove the separate "Build dashboard" step; wrangler now invokes it viabuild.command; dashboardnpm cistill runs first so deps are availableTest plan
🤖 Generated with Claude Code