Skip to content

feat(create): add React PowerSync scaffolding add-on#407

Draft
devagrawal09 wants to merge 1 commit intoTanStack:mainfrom
devagrawal09:feat/powersync-react-addon
Draft

feat(create): add React PowerSync scaffolding add-on#407
devagrawal09 wants to merge 1 commit intoTanStack:mainfrom
devagrawal09:feat/powersync-react-addon

Conversation

@devagrawal09
Copy link
Contributor

Summary

  • add a new built-in React add-on at packages/create/src/frameworks/react/add-ons/powersync
  • scaffold PowerSync metadata, env vars, package additions, provider wiring, schema/connector stubs, demo route, README, and logo
  • add vite-plugin integration (powersyncVite()) so generated apps include PowerSync-required Vite worker/dependency config

Verification

  • pnpm build
  • pnpm test:unit
  • pnpm nx affected --target=test:e2e --parallel=3
  • node packages/cli/dist/index.js create powersync-app --framework react --add-ons powersync --target-dir /tmp/powersync-ci-verify-YDFAth --no-install --no-git --examples
  • in generated app:
    • pnpm install
    • pnpm build

Notes

  • BackendConnector is intentionally scaffold-level and still requires project-specific auth + upload implementation.

@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2026

⚠️ No Changeset found

Latest commit: 69afd29

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7ee5808e-966d-45f4-8d8f-f221324fb75a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can validate your CodeRabbit configuration file in your editor.

If your editor has YAML language server, you can enable auto-completion and validation by adding # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json at the top of your CodeRabbit configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant