Skip to content

Commit eee39b9

Browse files
committed
Review feedback
1 parent 664cd27 commit eee39b9

5 files changed

Lines changed: 14 additions & 11 deletions

File tree

demos/tauri-app/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ It is designed to run with a [self-hosted instance](https://github.com/powersync
66

77
1. Clone the [self-host-demo](https://github.com/powersync-ja/self-host-demo/) repository.
88
2. Change `config/sync-config.yaml` to the Sync Config from this readme.
9-
3. Run `pnpm install && pnpm dev` to start the UI server.
10-
4. Run `cargo run` to start the app!
9+
3. Run `pnpm tauri dev` to start the app.
1110

1211
```yaml
1312
# config/sync-config.yaml

demos/tauri-app/vite.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ export default defineConfig({
1616
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1717
// prevent Vite from obscuring rust errors
1818
clearScreen: false,
19-
optimizeDeps: {
20-
// Don't optimize these packages as they contain web workers and WASM files.
21-
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
22-
exclude: ['@powersync/tauri-plugin', '']
23-
},
2419
// tauri expects a fixed port, fail if that port is not available
2520
server: {
2621
host: host || false,

packages/tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tauri-plugin-powersync"
33
version = "0.1.0"
4-
authors = [ "You" ]
4+
authors = [ "JOURNEYAPPS" ]
55
description = ""
66
edition = "2021"
77
rust-version = "1.77.2"

packages/tauri/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For a simple example app using Tauri, check out the [demos/tauri-app](../../demo
9090

9191
- Connecting to the PowerSync service is only possible from Rust.
9292
Calling `connect()` from JavaScript will throw.
93-
- For sync status updates, `lastSyncedAt`, `hasSynced` and `priorityStatusEntrie` are unavailable. Use the status from Sync Streams instead.
93+
- For sync status updates, `lastSyncedAt`, `hasSynced` and `priorityStatusEntries` are unavailable. Use the status from Sync Streams instead.
9494

9595
## Found a bug or need help?
9696

packages/tauri/package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55
"registry": "https://registry.npmjs.org/",
66
"access": "public"
77
},
8-
"author": "You",
9-
"description": "",
8+
"repository": {
9+
"type": "git",
10+
"url": "git+https://github.com/powersync-ja/powersync-js.git"
11+
},
12+
"author": "JOURNEYAPPS",
13+
"license": "Apache-2.0",
14+
"bugs": {
15+
"url": "https://github.com/powersync-ja/powersync-js/issues"
16+
},
17+
"homepage": "https://docs.powersync.com",
18+
"description": "PowerSync plugin for Tauri applications.",
1019
"type": "module",
1120
"exports": {
1221
"types": "./lib/index.d.ts",

0 commit comments

Comments
 (0)