create-beignet 0.0.9 → 0.0.11

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +10 -4
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # create-beignet
2
2
 
3
+ ## 0.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 72601c8: Generated apps now include an AGENTS.md agent guide (registration checklist, validation loop, placement rules) and a .mcp.json registering the beignet mcp server, so coding agents get the non-obvious conventions and structured tools out of the box.
8
+ - Updated dependencies [72601c8]
9
+ - Updated dependencies [72601c8]
10
+ - @beignet/cli@0.0.11
11
+
12
+ ## 0.0.10
13
+
14
+ ### Patch Changes
15
+
16
+ - 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.
17
+ - Updated dependencies [2972ee4]
18
+ - @beignet/cli@0.0.10
19
+
3
20
  ## 0.0.9
4
21
 
5
22
  ### Patch Changes
package/README.md CHANGED
@@ -34,10 +34,11 @@ bun run dev
34
34
 
35
35
  Running bare `bun create beignet` in an interactive terminal opens a
36
36
  prompt-based setup that asks for the project directory, whether to scaffold
37
- an API-only app, and which provider integrations to add. Passing any
38
- selection flag (`--api`, `--integrations`, or `--package-manager`) skips the
39
- prompts, and `--yes` forces the non-interactive defaults (the full-stack
40
- starter with `bun`) even on a terminal:
37
+ an API-only app, which database to use, and which provider integrations to
38
+ add. Passing any selection flag (`--api`, `--db`, `--integrations`, or
39
+ `--package-manager`) skips the prompts, and `--yes` forces the
40
+ non-interactive defaults (the full-stack SQLite starter with `bun`) even on a
41
+ terminal:
41
42
 
42
43
  ```bash
43
44
  bun create beignet my-app --yes
@@ -50,8 +51,13 @@ passes through unchanged:
50
51
 
51
52
  ```bash
52
53
  bun create beignet my-app --api --integrations inngest,resend
54
+ bun create beignet my-app --db postgres
53
55
  ```
54
56
 
57
+ `--db` picks the database backend: `sqlite` (the default), `postgres`, or
58
+ `mysql`. Every backend scaffolds provider wiring, schema, the vendored initial
59
+ migration, env examples, and tests for that database.
60
+
55
61
  See the
56
62
  [`@beignet/cli` README](https://github.com/taylorbryant/beignet/tree/main/packages/cli#readme)
57
63
  for the full list of flags and integrations, plus the `beignet` commands
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-beignet",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "description": "Create a new Beignet app with one command.",
6
6
  "main": "./dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "node": ">=18.0.0"
59
59
  },
60
60
  "dependencies": {
61
- "@beignet/cli": "^0.0.9"
61
+ "@beignet/cli": "^0.0.11"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/bun": "^1.3.13",