Project legacy simplification#35
Merged
Merged
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
Cursor Agent can help with this pull request. Just |
kentcdodds
marked this pull request as ready for review
February 18, 2026 23:48
kentcdodds
temporarily deployed
to
preview-35
February 18, 2026 23:48 — with
GitHub Actions
Inactive
|
🔎 Preview deployed: https://epicflare-pr-35.kentcdodds.workers.dev Worker: Mocks:
|
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.
Simplify the project generator by removing all legacy code paths, squashing D1 migrations, and updating documentation.
As this is a project generator, backwards compatibility is not a concern. This PR removes all historical and legacy code, including older D1 migrations, password hash compatibility, and unused build configurations, to ensure the generated project starts from a clean, current baseline. Documentation and CI are updated to reflect only the current practices.
Note
Medium Risk
Touches authentication verification code paths and database migration history; mistakes could break logins or fresh/remote migration application. Changes are otherwise straightforward deletions/simplification with limited runtime surface area.
Overview
Simplifies the generated project baseline by removing legacy/unused tooling and compatibility paths.
D1 migrations are squashed by folding
password_resetsandmock_resend_messagesintomigrations/0001-init.sqland deleting0002/0003, and the production deploy workflow now applies migrations against theAPP_DBbinding.Legacy password-hash support is removed:
verifyPasswordnow returns a boolean only and login/OAuth handlers no longer attempt on-login hash upgrades. Client bundling support via Vite is dropped by deletingvite.config.ts, removing@cloudflare/vite-plugin/cross-envfrom deps, and updating TS/docs to stop referencing the Vite config.Written by Cursor Bugbot for commit 72155f1. This will update automatically on new commits. Configure here.