@powersync/nuxt 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,14 @@
1
1
  <div align="center">
2
- <img src="./src/runtime/assets/powersync-icon.svg" alt="PowerSync Logo" width="64" height="64" />
2
+ <img src="https://github.com/powersync-ja/powersync-js/raw/main/packages/nuxt/src/runtime/assets/powersync-icon.svg" alt="PowerSync Logo" width="64" height="64" />
3
3
  <h1>PowerSync Nuxt</h1>
4
- <p>Local-first apps made simple</p>
5
- <p>Effortless offline-first development with PowerSync integration for Nuxt applications.</p>
4
+ <p>PowerSync for Nuxt: offline-first sync with native Nuxt integration</p>
6
5
  </div>
7
6
 
7
+ > [!NOTE]
8
+ > The Nuxt package is currently in an **alpha** state, intended strictly for testing. Expect breaking changes and instability as development continues.
9
+ >
10
+ > Do not rely on this package for production use.
11
+
8
12
  [![npm version][npm-version-src]][npm-version-href]
9
13
  [![npm downloads][npm-downloads-src]][npm-downloads-href]
10
14
  [![License][license-src]][license-href]
@@ -12,14 +16,15 @@
12
16
 
13
17
  PowerSync Nuxt module integrated with the [Nuxt Devtools](https://github.com/nuxt/devtools).
14
18
 
15
- - [✨ &nbsp;Release Notes](/CHANGELOG.md)
19
+ - [Changelog](https://github.com/powersync-ja/powersync-js/blob/main/packages/nuxt/CHANGELOG.md)
16
20
 
17
21
  ## Features
18
22
 
19
- - 🔍 **Built-in Diagnostics** - Direct access to PowerSync instance monitoring and real-time connection insights
20
- - 🗄️ **Data Inspection** - Seamless local data browsing with powerful debugging and troubleshooting tools
21
- - **Useful Composables** - Ready-to-use Vue composables for rapid offline-first application development
22
- - 📦 **All-in-One** - Exposes all `@powersync/vue` composables, making this the only required dependency
23
+ - **Real-time offline-first sync** PowerSync keeps a local SQLite database in sync with your backend (Postgres, MongoDB, MySQL, or SQL Server). Your app reads from local SQLite and works offline; changes sync automatically when the connection is restored.
24
+ - **Auto-imported composables** `usePowerSync()`, `useQuery()`, and `usePowerSyncKysely()` are available in every component without explicit imports.
25
+ - **Built-in diagnostics** View connection and sync status, inspect sync buckets and config, and tail real-time logs via the PowerSync Inspector — accessible at `/__powersync-inspector` or through Nuxt Devtools.
26
+ - **Data inspection** Browse your local SQLite database in the browser without external tools — useful for verifying what data has synced and debugging data issues during development.
27
+ - **Kysely support** — Opt-in type-safe queries via `@powersync/kysely-driver`, enabled with `kysely: true` in your PowerSync config.
23
28
 
24
29
  ## Installation
25
30
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "powersync-nuxt",
3
3
  "configKey": "powersync",
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powersync/nuxt",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -54,7 +54,7 @@
54
54
  "@journeyapps/wa-sqlite": "^1.2.6",
55
55
  "@powersync/kysely-driver": "^1.3.3",
56
56
  "@powersync/vue": "^0.5.0",
57
- "@powersync/web": "^1.34.0"
57
+ "@powersync/web": "^1.35.0"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "@powersync/kysely-driver": {
@@ -74,8 +74,8 @@
74
74
  "vue": "^3.5.20",
75
75
  "vue-tsc": "^3.0.8",
76
76
  "@powersync/kysely-driver": "1.3.3",
77
- "@powersync/web": "1.34.0",
78
- "@powersync/vue": "0.5.0"
77
+ "@powersync/vue": "0.5.0",
78
+ "@powersync/web": "1.35.0"
79
79
  },
80
80
  "scripts": {
81
81
  "prebuild": "nuxt-module-build prepare",