Repository navigation
Record the live Cloudflare CLI deployment configuration - #5
Merged
Merged
Conversation
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.
Records the typed Worker configuration and pinned CF CLI used for the live CardCap deployment. Updates the build output paths used by browser tests and the deployment instructions. The production Worker is already serving this release.
Note
Medium Risk
Changes the production deploy toolchain and commits live Worker binding IDs and public config; misconfiguration could affect the already-deployed Worker even though application runtime code is largely unchanged.
Overview
This PR moves CardCap’s live deployment from Wrangler to the pinned
cfCLI and checks in a typedcloudflare.config.tsthat records the production Worker (bindings, D1/R2, rate limits, and public env vars).The
deployscript now runsbuildthencf deploy --prebuilt --no-provision; build artifacts and cleanup target.cloudflare/outputinstead ofdist/client. Browser e2e serving, ESLint ignores, andremove-dist-secretsfollow that path. Docs (README, DEPLOYMENT) and verification steps usenpm run deploy -- --dry-runandnpx cf authinstead of Wrangler deploy/login.Also bumps
@cloudflare/vite-pluginto2.0.0-rc.1and addscf1.0.0-rc.1 as a dev dependency.Reviewed by Cursor Bugbot for commit 32e2073. Bugbot is set up for automated code reviews on this repo. Configure here.