@cossackframework/database 0.7.4 → 0.7.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 +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,11 +7,14 @@ Database support for the [Cossack Framework](https://github.com/cossackframework
|
|
|
7
7
|
- Per-request client via Hono middleware **and** a global `db()` helper (AsyncLocalStorage).
|
|
8
8
|
- Kysely migrator + seeder runners, driven by the `cossack` CLI.
|
|
9
9
|
|
|
10
|
-
> Database support is
|
|
10
|
+
> Database support is included by the Database, Auth, and Full Stack recipes.
|
|
11
|
+
> Those recipes ship migrations, wire `dbMiddleware`, and register the database
|
|
12
|
+
> cache driver. The framework itself stays decoupled (no hard dependency).
|
|
11
13
|
|
|
12
14
|
## Install
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
Select the Database or Full Stack preset with `cossack create`, or add database
|
|
17
|
+
support to an existing project:
|
|
15
18
|
|
|
16
19
|
```bash
|
|
17
20
|
npx cossack add database
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cossackframework/database",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Database support for the Cossack Framework — Kysely-based query builder with D1 and Turso dialects, migrations, and seeders",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@libsql/client": "^0.14.0",
|
|
38
38
|
"@types/node": "^22.19.0",
|
|
39
39
|
"hono": "^4.12.31",
|
|
40
|
-
"miniflare": "^4.
|
|
40
|
+
"miniflare": "^4.20260722.0",
|
|
41
41
|
"typescript": "^7.0.2",
|
|
42
42
|
"vitest": "^4.1.10"
|
|
43
43
|
},
|