From ca5395513fcab5e89b676103039a6260ddd34a1a Mon Sep 17 00:00:00 2001 From: Stefanos Mousafeiris Date: Mon, 29 Apr 2024 15:43:06 +0300 Subject: [PATCH] chore(client): Add missing optional flag for peer dpeendencies (#1205) Adds peer dependency optional flags that are missing (also reordered to match peer dep order). Relevant PR: https://github.com/electric-sql/electric/pull/1187 --- .changeset/five-humans-ring.md | 5 +++++ clients/typescript/package.json | 14 ++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .changeset/five-humans-ring.md diff --git a/.changeset/five-humans-ring.md b/.changeset/five-humans-ring.md new file mode 100644 index 0000000000..9901aa07f0 --- /dev/null +++ b/.changeset/five-humans-ring.md @@ -0,0 +1,5 @@ +--- +"electric-sql": patch +--- + +Add `react-dom` and `@tauri-apps/plugin-sql` as optiomal peer dependencies. diff --git a/clients/typescript/package.json b/clients/typescript/package.json index a6af38d527..f5d322ba31 100644 --- a/clients/typescript/package.json +++ b/clients/typescript/package.json @@ -272,23 +272,29 @@ "@capacitor-community/sqlite": { "optional": true }, - "expo-sqlite": { + "@tauri-apps/plugin-sql": { "optional": true }, - "vue": { + "expo-sqlite": { "optional": true }, "react": { "optional": true }, - "react-native": { + "react-dom": { "optional": true }, - "wa-sqlite": { + "react-native": { "optional": true }, "typeorm": { "optional": true + }, + "vue": { + "optional": true + }, + "wa-sqlite": { + "optional": true } } }