@beignet/provider-db-drizzle 0.0.9 → 0.0.10
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/CHANGELOG.md +6 -0
- package/README.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @beignet/provider-db-drizzle
|
|
2
2
|
|
|
3
|
+
## 0.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2972ee4: `beignet create` supports `--db sqlite|postgres|mysql` (default `sqlite`), with a matching database prompt in interactive setup. Each backend scaffolds end to end: provider wiring, an idiomatic Drizzle schema, the vendored initial migration, env examples (`POSTGRES_DB_URL`, `MYSQL_DB_URL`), and a dialect-matched test database — in-memory libSQL for SQLite, in-process PGlite for Postgres, and a real server via `MYSQL_TEST_URL` for MySQL. `make resource` and `make feature` detect the app's database and generate dialect-correct schema and repository code, and `beignet db generate|migrate` work unchanged for every dialect.
|
|
8
|
+
|
|
3
9
|
## 0.0.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -42,9 +42,9 @@ install, the subpath import, and the connection env var. Contracts, use cases,
|
|
|
42
42
|
policies, and routes keep depending on ports; only the infra adapter changes.
|
|
43
43
|
|
|
44
44
|
The walkthrough below uses SQLite. The [Postgres](#postgres) and
|
|
45
|
-
[MySQL](#mysql) sections cover what changes per backend. The CLI
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
[MySQL](#mysql) sections cover what changes per backend. The CLI scaffolds
|
|
46
|
+
any of the three: `bun create beignet my-app --db sqlite|postgres|mysql`
|
|
47
|
+
(default `sqlite`).
|
|
48
48
|
|
|
49
49
|
## Install
|
|
50
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beignet/provider-db-drizzle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Drizzle ORM database providers for Beignet — typed DbPort, unit of work, outbox, and idempotency for SQLite (libSQL/Turso), Postgres, and MySQL.",
|
|
6
6
|
"exports": {
|