-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(cli): scaffold wrangler.jsonc in astro add #14564
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
Conversation
🦋 Changeset detectedLatest commit: 895153f 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 |
|
So this makes it so astro add cloudflare assumes Cloudflare works projects instead of Cloudflare pages projects and workers projects also need the public/.assetsignore workaround mentioned here https://docs.astro.build/en/guides/integrations-guide/cloudflare/#routing-on-cloudflare-workers Can we add this too? |
CodSpeed Performance ReportMerging #14564 will not alter performanceComparing Summary
|
|
Shouldn't this be a |
|
I don't think it needs to be a minor but we could talk about it in 5.15 either way. No strong opinion on this! |
sarah11918
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for docs, FWIW!
The title of the PR is definitely misleading then |
|
@florian-lefebvre If this changes the behaviour of |
|
2 things:
|
|
Regarding docs I think now we have https://docs.astro.build/en/guides/deploy/cloudflare/#cloudflare-workers and https://docs.astro.build/en/guides/deploy/cloudflare/#cloudflare-pages which will sort of need to be inverted and https://docs.astro.build/en/guides/integrations-guide/cloudflare/#preview-with-wrangler can change to https://docs.astro.build/en/guides/integrations-guide/cloudflare/#sessions has mention to |
Co-authored-by: Oliver Speir <[email protected]>
|
@OliverSpeir @florian-lefebvre Are one of you able to make a docs PR with the suggested/necessary changes? I am not really familiar with Cloudflare, but can certainly grok proposed changes in a PR! |
|
I am not very familiar with it either unfortunately, so @OliverSpeir if you don't mind I think it'd be better if you took this! At least as a first step. EDIT: I'll open a PR to at least have something to get started |
|
Will note, maybe we can nerd snipe @Adammatthiesen here, too! Calling in all Cloudflare reinforcements! |
Co-authored-by: Oliver Speir <[email protected]>
Co-authored-by: Oliver Speir <[email protected]>
Changes
Testing
Manual
Docs
Changeset, withastro/docs#12603