@nkzw/fate-indexeddb 1.6.0 → 1.6.1
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 +6 -14
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ _[Learn more](/docs/guide/getting-started.md) about fate's core concepts or crea
|
|
|
65
65
|
Create a new fate app with Vite+:
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
vp create fate
|
|
68
|
+
vp create fate
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Explore the [fate stack](https://stack.fate.technology) to see the tools included in your new project.
|
|
@@ -128,14 +128,6 @@ yarn add @nkzw/fate
|
|
|
128
128
|
|
|
129
129
|
:::
|
|
130
130
|
|
|
131
|
-
> [!WARNING]
|
|
132
|
-
>
|
|
133
|
-
> **_fate_** is currently in alpha and not production ready. If something doesn't work for you, please open a pull request.
|
|
134
|
-
|
|
135
|
-
If you'd like to try the example app in GitHub Codespaces, click the button below:
|
|
136
|
-
|
|
137
|
-
[](https://github.com/codespaces/new?repo=nkzw-tech/fate)
|
|
138
|
-
|
|
139
131
|
## Core Concepts
|
|
140
132
|
|
|
141
133
|
**_fate_** has a minimal API surface and is aimed at reducing data fetching complexity.
|
|
@@ -1926,13 +1918,13 @@ Use the GraphQL transport when your backend already exposes GraphQL and you want
|
|
|
1926
1918
|
Create a client for an existing GraphQL server with:
|
|
1927
1919
|
|
|
1928
1920
|
```bash
|
|
1929
|
-
vp create fate
|
|
1921
|
+
vp create fate -- --template graphql-client
|
|
1930
1922
|
```
|
|
1931
1923
|
|
|
1932
1924
|
Create a full GraphQL + Prisma example app with:
|
|
1933
1925
|
|
|
1934
1926
|
```bash
|
|
1935
|
-
vp create fate
|
|
1927
|
+
vp create fate -- --template graphql
|
|
1936
1928
|
```
|
|
1937
1929
|
|
|
1938
1930
|
The client-only template is the smallest reference for the integration. It contains a `src/fate/graphql.ts` file that maps your GraphQL schema to fate views and roots.
|
|
@@ -3005,13 +2997,13 @@ setup without copying its adapter glue.
|
|
|
3005
2997
|
For a new Void app, start from the Void template. It includes the client, Void routes, Drizzle setup, live transport, auth wiring, and generated fate client setup.
|
|
3006
2998
|
|
|
3007
2999
|
```sh
|
|
3008
|
-
vp create fate
|
|
3000
|
+
vp create fate -- --template void
|
|
3009
3001
|
```
|
|
3010
3002
|
|
|
3011
3003
|
Use Vue instead of React with:
|
|
3012
3004
|
|
|
3013
3005
|
```sh
|
|
3014
|
-
vp create fate
|
|
3006
|
+
vp create fate -- --template void --framework vue
|
|
3015
3007
|
```
|
|
3016
3008
|
|
|
3017
3009
|
### Existing Project
|
|
@@ -3280,7 +3272,7 @@ Deploy fate directly to your own Cloudflare account with [Void](/docs/integratio
|
|
|
3280
3272
|
### New Project
|
|
3281
3273
|
|
|
3282
3274
|
```sh
|
|
3283
|
-
vp create fate my-app --template void
|
|
3275
|
+
vp create fate -- my-app --template void
|
|
3284
3276
|
cd my-app
|
|
3285
3277
|
vp run dev:setup
|
|
3286
3278
|
vp run dev
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nkzw/fate-indexeddb",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Optional IndexedDB persistence adapter for fate.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"idb": "^8.0.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@nkzw/fate": "1.6.
|
|
22
|
+
"@nkzw/fate": "1.6.1",
|
|
23
23
|
"fake-indexeddb": "^6.2.5",
|
|
24
24
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
|
|
25
25
|
"vite-plus": "0.3.3"
|