Skip to content

Cloudflare wizard support #1131

@JPeer264

Description

@JPeer264

Description

Currently we let users manually update the wrangler config, as stated here. This creates more manual work for the users, which we actually want to avoid.

There seems to be a way to update the wrangler config automatically, which we need to investigate on how we can make use of that. Nitro is already doing it automatically. Here's how nitro is doing it: https://github.com/nitrojs/nitro/blob/0316c6c681ae1abc570f73b0e8ba901638dfbe5a/src/presets/cloudflare/utils.ts#L314

  • -i cloudflare is supported by the Wizard
  • Wrangler files with the .toml, .json and .jsonc extensions are adapted
  • Cloudflare Workers are wrapped by the wizard
  • Cloudflare DurableObjects, Workflows and other supported services are wrapped by the wizard

Not in scope:

  • Supporting frameworks within Cloudflare (for now we do have support in the docs directly)

Sub-issues

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions