From dd955cf921ba7913bffa93c1fbe7c0f343c4b3ee Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Mon, 11 May 2026 11:03:58 -0600 Subject: [PATCH] chore: add changeset for PowerSync add-on (#407) Minor bump for @tanstack/cli and @tanstack/create to release the React PowerSync scaffolding add-on merged in 8f24af5f. --- .changeset/powersync-addon.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .changeset/powersync-addon.md diff --git a/.changeset/powersync-addon.md b/.changeset/powersync-addon.md new file mode 100644 index 00000000..e6081c3b --- /dev/null +++ b/.changeset/powersync-addon.md @@ -0,0 +1,24 @@ +--- +'@tanstack/cli': minor +'@tanstack/create': minor +--- + +feat(create): add React PowerSync scaffolding add-on + +`tanstack add powersync` (or `--add-ons powersync` on `tanstack create`) +wires the PowerSync Web SDK into a React TanStack Start app: + +- `@powersync/web` + `@powersync/react` + `@journeyapps/wa-sqlite` + dependencies and a Vite plugin that excludes `@powersync/web` from + `optimizeDeps` and emits ES-module workers (required for the + WA-SQLite VFS). +- A `PowerSyncProvider` integration that opens a WA-SQLite database + and connects with `disableSSRWarning` so SSR doesn't warn. +- A sample `AppSchema` (todos table) and `BackendConnector` with + `fetchCredentials` reading `VITE_POWERSYNC_URL` / `VITE_POWERSYNC_TOKEN` + from `.env.local` and a stubbed `uploadData()` ready for the user's + upstream write logic. +- A `/demo/powersync` route that inserts rows locally and renders + live `useQuery` results plus connection status, so the scaffold + works zero-config and shows the SDK is wired up before any + PowerSync instance is configured.