@powersync/nuxt 0.0.3 → 0.0.5
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 +8 -8
- package/dist/module.json +1 -1
- package/package.json +20 -21
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="
|
|
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>
|
|
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
|
|
|
8
7
|
> [!NOTE]
|
|
@@ -17,14 +16,15 @@
|
|
|
17
16
|
|
|
18
17
|
PowerSync Nuxt module integrated with the [Nuxt Devtools](https://github.com/nuxt/devtools).
|
|
19
18
|
|
|
20
|
-
- [
|
|
19
|
+
- [Changelog](https://github.com/powersync-ja/powersync-js/blob/main/packages/nuxt/CHANGELOG.md)
|
|
21
20
|
|
|
22
21
|
## Features
|
|
23
22
|
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
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.
|
|
28
28
|
|
|
29
29
|
## Installation
|
|
30
30
|
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/nuxt",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
],
|
|
36
36
|
"homepage": "https://docs.powersync.com",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@iconify-json/carbon": "^1.2.
|
|
39
|
-
"@nuxt/devtools-kit": "^2.
|
|
40
|
-
"@nuxt/devtools-ui-kit": "^2.
|
|
41
|
-
"@nuxt/kit": "^4.
|
|
38
|
+
"@iconify-json/carbon": "^1.2.19",
|
|
39
|
+
"@nuxt/devtools-kit": "^3.2.3",
|
|
40
|
+
"@nuxt/devtools-ui-kit": "^3.2.3",
|
|
41
|
+
"@nuxt/kit": "^4.3.1",
|
|
42
42
|
"@tanstack/vue-table": "^8.21.3",
|
|
43
|
-
"@vueuse/core": "^14.
|
|
44
|
-
"@vueuse/nuxt": "^14.1
|
|
43
|
+
"@vueuse/core": "^14.2.1",
|
|
44
|
+
"@vueuse/nuxt": "^14.2.1",
|
|
45
45
|
"defu": "^6.1.4",
|
|
46
46
|
"fuse.js": "^7.1.0",
|
|
47
47
|
"mitt": "^3.0.1",
|
|
48
|
-
"reka-ui": "^2.
|
|
49
|
-
"shiki": "^3.
|
|
50
|
-
"unocss": "^66.
|
|
51
|
-
"unstorage": "^1.17.
|
|
48
|
+
"reka-ui": "^2.9.1",
|
|
49
|
+
"shiki": "^3.23.0",
|
|
50
|
+
"unocss": "^66.6.6",
|
|
51
|
+
"unstorage": "^1.17.4"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
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.
|
|
57
|
+
"@powersync/web": "^1.37.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependenciesMeta": {
|
|
60
60
|
"@powersync/kysely-driver": {
|
|
@@ -62,20 +62,19 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@journeyapps/wa-sqlite": "^1.
|
|
65
|
+
"@journeyapps/wa-sqlite": "^1.5.0",
|
|
66
66
|
"@nuxt/module-builder": "^1.0.2",
|
|
67
|
-
"@nuxt/schema": "^4.1
|
|
68
|
-
"@nuxt/test-utils": "^
|
|
69
|
-
"async-mutex": "^0.5.0",
|
|
67
|
+
"@nuxt/schema": "^4.3.1",
|
|
68
|
+
"@nuxt/test-utils": "^4.0.0",
|
|
70
69
|
"bson": "^6.10.4",
|
|
71
70
|
"comlink": "^4.4.2",
|
|
72
|
-
"nuxt": "^4.1
|
|
71
|
+
"nuxt": "^4.3.1",
|
|
73
72
|
"vitest": "^3.2.4",
|
|
74
|
-
"vue": "^3.5.
|
|
75
|
-
"vue-tsc": "^3.
|
|
73
|
+
"vue": "^3.5.30",
|
|
74
|
+
"vue-tsc": "^3.2.5",
|
|
76
75
|
"@powersync/kysely-driver": "1.3.3",
|
|
77
|
-
"@powersync/
|
|
78
|
-
"@powersync/
|
|
76
|
+
"@powersync/vue": "0.5.0",
|
|
77
|
+
"@powersync/web": "1.37.0"
|
|
79
78
|
},
|
|
80
79
|
"scripts": {
|
|
81
80
|
"prebuild": "nuxt-module-build prepare",
|