From f1e050a99d2a975a9eb5c89f83227b4f2a97fb4e Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 3 Aug 2026 16:13:41 +0200 Subject: [PATCH] Don't mention wa-sqlite peer dependency --- client-sdks/frameworks/next-js.mdx | 8 +++----- client-sdks/frameworks/tanstack.mdx | 6 +++--- client-sdks/reference/javascript-web.mdx | 6 +++--- snippets/capacitor/installation.mdx | 6 +++--- snippets/javascript-web/installation.mdx | 24 ------------------------ 5 files changed, 12 insertions(+), 38 deletions(-) diff --git a/client-sdks/frameworks/next-js.mdx b/client-sdks/frameworks/next-js.mdx index de31f373..150cdfd0 100644 --- a/client-sdks/frameworks/next-js.mdx +++ b/client-sdks/frameworks/next-js.mdx @@ -61,21 +61,19 @@ In addition to this we'll also install [`@powersync/react`](https://www.npmjs.co ```shell npm -npm install @powersync/web @journeyapps/wa-sqlite @powersync/react +npm install @powersync/web @powersync/react ``` ```shell yarn -yarn add @powersync/web @journeyapps/wa-sqlite @powersync/react +yarn add @powersync/web @powersync/react ``` ```shell pnpm -pnpm install @powersync/web @journeyapps/wa-sqlite @powersync/react +pnpm install @powersync/web @powersync/react ``` -This SDK currently requires [@journeyapps/wa-sqlite](https://www.npmjs.com/package/@journeyapps/wa-sqlite) as a peer dependency. - ### Copy Worker Assets When using Turbopack, you need to copy the PowerSync worker files to your public directory. Add a `postinstall` script to your `package.json`: diff --git a/client-sdks/frameworks/tanstack.mdx b/client-sdks/frameworks/tanstack.mdx index 9ef1d521..0d1b4a7b 100644 --- a/client-sdks/frameworks/tanstack.mdx +++ b/client-sdks/frameworks/tanstack.mdx @@ -67,17 +67,17 @@ Install the TanStackDB-PowerSync collection package with a PowerSync SDK. Then d ```bash - npm install @tanstack/powersync-db-collection @powersync/web @journeyapps/wa-sqlite + npm install @tanstack/powersync-db-collection @powersync/web ``` ```bash - yarn add @tanstack/powersync-db-collection @powersync/web @journeyapps/wa-sqlite + yarn add @tanstack/powersync-db-collection @powersync/web ``` ```bash - pnpm install @tanstack/powersync-db-collection @powersync/web @journeyapps/wa-sqlite + pnpm install @tanstack/powersync-db-collection @powersync/web ``` diff --git a/client-sdks/reference/javascript-web.mdx b/client-sdks/reference/javascript-web.mdx index 6caeec70..e7069c25 100644 --- a/client-sdks/reference/javascript-web.mdx +++ b/client-sdks/reference/javascript-web.mdx @@ -343,17 +343,17 @@ Run the below command in your project folder: ```bash -npm upgrade @powersync/web @journeyapps/wa-sqlite +npm upgrade @powersync/web ``` ```bash -yarn upgrade @powersync/web @journeyapps/wa-sqlite +yarn upgrade @powersync/web ``` ```bash -pnpm upgrade @powersync/web @journeyapps/wa-sqlite +pnpm upgrade @powersync/web ``` diff --git a/snippets/capacitor/installation.mdx b/snippets/capacitor/installation.mdx index 12370fef..be629c04 100644 --- a/snippets/capacitor/installation.mdx +++ b/snippets/capacitor/installation.mdx @@ -33,19 +33,19 @@ You must also install the following peer dependencies: ```bash - npm install @capacitor-community/sqlite @powersync/web @journeyapps/wa-sqlite + npm install @capacitor-community/sqlite @powersync/web ``` ```bash - yarn add @capacitor-community/sqlite @powersync/web @journeyapps/wa-sqlite + yarn add @capacitor-community/sqlite @powersync/web ``` ```bash - pnpm install @capacitor-community/sqlite @powersync/web @journeyapps/wa-sqlite + pnpm install @capacitor-community/sqlite @powersync/web ``` diff --git a/snippets/javascript-web/installation.mdx b/snippets/javascript-web/installation.mdx index ca544001..a4d2e194 100644 --- a/snippets/javascript-web/installation.mdx +++ b/snippets/javascript-web/installation.mdx @@ -19,27 +19,3 @@ Add the [PowerSync Web NPM package](https://www.npmjs.com/package/@powersync/web ``` - -**Install Peer Dependencies** - -This SDK currently requires [`@journeyapps/wa-sqlite`](https://www.npmjs.com/package/@journeyapps/wa-sqlite) as a peer dependency. Install it in your app with: - - - - ```bash - npm install @journeyapps/wa-sqlite - ``` - - - - ```bash - yarn add @journeyapps/wa-sqlite - ``` - - - - ```bash - pnpm install @journeyapps/wa-sqlite - ``` - - \ No newline at end of file