Fix autoconfig failing on waku projects that use hono#13112
Fix autoconfig failing on waku projects that use hono#13112petebacondarwin merged 1 commit intomainfrom
waku projects that use hono#13112Conversation
🦋 Changeset detectedLatest commit: 82ab129 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
✅ All changesets look good |
|
Let me do a final review of the logic. The code change adds a new branch inside the if (frameworkIdsFound.has("waku") && frameworkIdsFound.has("hono")) {
return settingsForOnlyKnownFrameworks.find(
({ framework }) => framework.id === "waku"
);
}One concern: Actually wait - there's a subtle issue. This is a clean, well-targeted fix. The changeset is properly formatted. The code follows the existing pattern for framework disambiguation (same approach as the vite handling). No logic bugs, no security issues, no backward compatibility concerns. LGTM |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
Waku has a tight integration with Hono, causing both to be detected simultaneously and triggering a "multiple frameworks found" error. Hono is now filtered out when Waku is also detected.
Note
#13113 also adds a unit test for the changes in this PR
(see: https://github.com/cloudflare/workers-sdk/pull/13113/changes#r3006383619)
A picture of a cute animal (not mandatory, but encouraged)