feat(wrangler): Add type generation support to wrangler dev#11616
Merged
feat(wrangler): Add type generation support to wrangler dev#11616
wrangler dev#11616Conversation
🦋 Changeset detectedLatest commit: 6a07dcb 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 |
wrangler devwrangler dev
ascorbic
reviewed
Dec 12, 2025
emily-shen
reviewed
Dec 12, 2025
1 task
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
Member
dario-piotrowicz
left a comment
There was a problem hiding this comment.
Looks almost ready to me, I just think that there are a few bits off with tests maybe 🙂
Merged
dario-piotrowicz
pushed a commit
that referenced
this pull request
Dec 19, 2025
* Added initial `wrangler dev` type generation support * Minor `wrangler dev` type generation refactoring * Add initial `wrangler dev` type generation tests * Improved dev code generation tests * Fixed worker utils package validation tests * Minor `wrangler dev` type generation test fixes * Fixed unsupported fields validation test fixture * Added changeset * Minor type generation property casing fixes * Improved changelog details * Fixed `wrangler dev` tests for type generation * Minor `checkTypesDiff` refactoring * Minor `wrangler dev` type generation test refactoring * Fixed `dev.generate_types` default value * Moved `resolveConfig` comment inside of `checkTypesDiff` * Updated `wrangler dev --types` doc comment description * Fixed `wrangler dev --types` "file is up to date" test
AmirSa12
pushed a commit
to AmirSa12/workers-sdk
that referenced
this pull request
Jan 5, 2026
…lare#11616) * Added initial `wrangler dev` type generation support * Minor `wrangler dev` type generation refactoring * Add initial `wrangler dev` type generation tests * Improved dev code generation tests * Fixed worker utils package validation tests * Minor `wrangler dev` type generation test fixes * Fixed unsupported fields validation test fixture * Added changeset * Minor type generation property casing fixes * Improved changelog details * Fixed `wrangler dev` tests for type generation * Minor `checkTypesDiff` refactoring * Minor `wrangler dev` type generation test refactoring * Fixed `dev.generate_types` default value * Moved `resolveConfig` comment inside of `checkTypesDiff` * Updated `wrangler dev --types` doc comment description * Fixed `wrangler dev --types` "file is up to date" test
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.
Fixes https://jira.cfdata.org/browse/DEVX-2342
{ "$schema": "node_modules/wrangler/config-schema.json", "name": "example", "main": "src/index.ts", "compatibility_date": "2025-12-12", "dev": { "generate_types": true } }wrangler devcloudflare-docs#27088A picture of a cute animal (not mandatory, but encouraged)