Upgrade TanStack DB starter dependencies#4631
Open
KyleAMathews wants to merge 1 commit into
Open
Conversation
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4631 +/- ##
==========================================
+ Coverage 59.46% 59.62% +0.16%
==========================================
Files 385 385
Lines 43039 43254 +215
Branches 12383 12381 -2
==========================================
+ Hits 25591 25791 +200
- Misses 17371 17387 +16
+ Partials 77 76 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Electric Agents Mobile BuildLocal mobile checks ran for commit The EAS Android preview build was skipped because the |
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.
Summary
Upgrade the TanStack DB web and Expo starters to current Electric, TanStack DB, TanStack Start, Expo, React, Drizzle, and supporting dependency versions.
This keeps the starters installable/buildable with current package releases and updates the Expo write-path/proxy code for the newer Electric/TanStack optimistic txid contract.
Approach
examples/tanstack-db-web-starterexamples/tanstack-db-expo-starterpnpm-lock.yamlafter rebasing onto latestorigin/main.routeTree.gen.tsout of the diff because it is autogenerated and the build succeeds without committing formatter churn.drizzle-kitremains in web starterdevDependencies@types/corsand@types/expressmoved to Expo starterdevDependenciesexpo-doctor.Key invariants
expo-doctor.Non-goals
Trade-offs
expo-doctorwere removed rather than preserved in their old locations. This trusts the SDK 56 schema validation over retaining stale config.Readable.fromWebcompatibility cast remains inline; extracting a helper would add indirection for a single type mismatch.^5.9.3in the web starter to avoid unsupported TS 6 peer ranges in the eslint tooling, while the Expo starter uses Expo’s expected~6.0.3.Verification
expo-doctorpasses 21/21 checks.The web starter build still emits this warning, but succeeds:
Files changed
examples/tanstack-db-web-starter/package.jsondrizzle-kit.examples/tanstack-db-expo-starter/package.jsonexamples/tanstack-db-expo-starter/api/index.tspg_current_xact_id()::xid::text.examples/tanstack-db-expo-starter/app/index.tsxexamples/tanstack-db-expo-starter/app.jsonpnpm-lock.yaml