Sync from docs: remove @journeyapps/wa-sqlite peer dep from web install (powersync-docs #550) - #64
Open
bean1352 wants to merge 1 commit into
Open
Sync from docs: remove @journeyapps/wa-sqlite peer dep from web install (powersync-docs #550)#64bean1352 wants to merge 1 commit into
bean1352 wants to merge 1 commit into
Conversation
@powersync/web v2.1.0 bundles wa-sqlite internally; it is no longer a required peer dependency. Update install commands across js, react, vue, and tanstack skill files to match. Source: powersync-docs#550
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.
Source docs PR: powersync-ja/powersync-docs#550
What changed in docs
With
@powersync/webv2.1.0,@journeyapps/wa-sqliteis no longer a peer dependency and does not need to be installed manually. The docs PR removed it from all install commands across Next.js, TanStack, Capacitor, and the core web snippet.Skill updates in this PR
skills/powersync/references/sdks/powersync-js.md: Removed@journeyapps/wa-sqlite@latestfrom the web install block in the Quick Setup section.skills/powersync/references/sdks/powersync-js-tanstack.md: Removed@journeyapps/wa-sqlite@latestfrom the TanStack DB web install command.skills/powersync/references/sdks/powersync-js-react.md: Removed@journeyapps/wa-sqlite@latestfrom the Next.js install command.skills/powersync/references/sdks/powersync-js-vue.md: Removed@journeyapps/wa-sqlite@latestfrom the Vue pnpm install command.Notes for reviewer
The Vite
optimizeDeps.excludeconfig inpowersync-js-react.mdstill lists@journeyapps/wa-sqlite. The docs PR did not change any Vite configuration, so this was left untouched. If the package is now bundled inside@powersync/weband is never a direct dependency, keeping it inexcludeis harmless but potentially misleading. A reviewer familiar with the Vite build behavior should decide whether to remove it.The Nuxt pnpm install in
powersync-js-vue.mddid not include@journeyapps/wa-sqlitebefore this PR, so no change was needed there.Generated by Claude Code