Skip to content

Conversation

@emily-shen
Copy link
Contributor

@emily-shen emily-shen commented May 8, 2025

Summary

cloudflare/workers-sdk#8794 allows providing multiple config flags with wrangler types to generate better types for service bindings and DOs

also updates wrangler dev to mention multiple config flags can be used to run multiple workers together.

fixes #22139

@emily-shen emily-shen requested review from a team, ToriLindsay and irvinebroque as code owners May 8, 2025 09:06
@github-actions github-actions bot added size/s product:workers Related to Workers product labels May 8, 2025
@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented May 8, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Enhanced documentation for multiple configuration flags in wrangler dev and wrangler types commands.

  • Updated wrangler dev documentation to include support for multiple configuration files.
  • Enhanced wrangler types command to generate better types for service bindings and Durable Objects.
  • Provided examples for using multiple config files in both commands.

Modified Files

  • src/content/docs/workers/wrangler/commands.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2025

@emily-shen emily-shen merged commit b5a3743 into production May 13, 2025
12 checks passed
@emily-shen emily-shen deleted the emily/types-config-flag branch May 13, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document multiple --config args to wrangler types

4 participants