Skip to content

[DO] Adding main in Wrangler config files. #21706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

Oxyjun
Copy link
Contributor

@Oxyjun Oxyjun commented Apr 15, 2025

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions github-actions bot added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Apr 15, 2025
Copy link
Contributor

hyperlint-ai bot commented Apr 15, 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

Added the 'main' entry in Wrangler configuration files across multiple examples and tutorials to specify the entry point for Durable Objects.

  • Included 'main' entry in the Wrangler configuration for various Durable Object examples.
  • Updated documentation to reflect changes in the Wrangler configuration file structure.

Modified Files

  • src/content/docs/durable-objects/examples/alarms-api.mdx
  • src/content/docs/durable-objects/examples/build-a-counter.mdx
  • src/content/docs/durable-objects/examples/build-a-rate-limiter.mdx
  • src/content/docs/durable-objects/examples/durable-object-in-memory-state.mdx
  • src/content/docs/durable-objects/examples/durable-object-ttl.mdx
  • src/content/docs/durable-objects/examples/use-kv-from-durable-objects.mdx
  • src/content/docs/durable-objects/examples/websocket-hibernation-server.mdx
  • src/content/docs/durable-objects/examples/websocket-server.mdx
  • src/content/docs/durable-objects/tutorials/build-a-seat-booking-app/index.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.

Copy link
Contributor

Preview URL: https://6258dcc9.preview.developers.cloudflare.com
Preview Branch URL: https://jun-do-jsonc-example-update.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/durable-objects/tutorials/build-a-seat-booking-app/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/tutorials/build-a-seat-booking-app/
https://developers.cloudflare.com/durable-objects/examples/alarms-api/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/alarms-api/
https://developers.cloudflare.com/durable-objects/examples/build-a-counter/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/build-a-counter/
https://developers.cloudflare.com/durable-objects/examples/build-a-rate-limiter/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/build-a-rate-limiter/
https://developers.cloudflare.com/durable-objects/examples/durable-object-in-memory-state/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/durable-object-in-memory-state/
https://developers.cloudflare.com/durable-objects/examples/durable-object-ttl/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/durable-object-ttl/
https://developers.cloudflare.com/durable-objects/examples/use-kv-from-durable-objects/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/use-kv-from-durable-objects/
https://developers.cloudflare.com/durable-objects/examples/websocket-hibernation-server/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/websocket-hibernation-server/
https://developers.cloudflare.com/durable-objects/examples/websocket-server/ https://jun-do-jsonc-example-update.preview.developers.cloudflare.com/durable-objects/examples/websocket-server/

@Oxyjun Oxyjun merged commit a575668 into production Apr 15, 2025
12 checks passed
@Oxyjun Oxyjun deleted the jun/do/jsonc-example-update branch April 15, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants