@bungres/kit 1.1.0 → 1.1.2

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 CHANGED
@@ -4,7 +4,7 @@ CLI toolkit for [`@bungres/orm`](https://www.npmjs.com/package/@bungres/orm) —
4
4
 
5
5
  ## Requirements
6
6
 
7
- - **Bun ≥ 1.3** (uses `Bun.sql` which is built-in)
7
+ - **Bun ≥ 1.3** (uses `Bun.SQL` which is built-in)
8
8
  - **Postgres ≥ 16**
9
9
  - Built to work alongside `@bungres/orm`.
10
10
 
@@ -38,21 +38,21 @@ Run the CLI using Bun:
38
38
  bun run bungres --help
39
39
  ```
40
40
 
41
- | Command | Description |
42
- |---|---|
43
- | `bungres init` | Initialize bungres project with config file and db folder structure |
44
- | `bungres generate` | Write a single timestamped `.sql` migration file with UP/DOWN sections |
45
- | `bungres migrate` | Run pending `.sql` UP sections, track applied in `__bungres_migrations` |
46
- | `bungres rollback` | Automatically revert the last applied migration using its DOWN section |
47
- | `bungres push` | Apply schema directly to DB — no files (great for dev/prototyping) |
48
- | `bungres pull` | Introspect the DB and generate TypeScript schema |
49
- | `bungres status` | Show applied vs pending migrations |
50
- | `bungres fresh` | Drop all tables and re-run all migrations from scratch |
51
- | `bungres refresh` | Truncate all tables to quickly reset data without dropping schema |
52
- | `bungres seed` | Execute the seed script, or run the Auto-Seeder using `@faker-js/faker` |
53
- | `bungres studio` | Start a local web interface to browse database data |
54
- | `bungres tusky` | Boot up a Node REPL connected to the database with schema loaded |
55
- | `bungres drop` | Drop all tables, enums, and views defined in the schema (prompts for confirmation) |
41
+ | Command | Description |
42
+ | ------------------ | ---------------------------------------------------------------------------------- |
43
+ | `bungres init` | Initialize bungres project with config file and db folder structure |
44
+ | `bungres generate` | Write a single timestamped `.sql` migration file with UP/DOWN sections |
45
+ | `bungres migrate` | Run pending `.sql` UP sections, track applied in `__bungres_migrations` |
46
+ | `bungres rollback` | Automatically revert the last applied migration using its DOWN section |
47
+ | `bungres push` | Apply schema directly to DB — no files (great for dev/prototyping) |
48
+ | `bungres pull` | Introspect the DB and generate TypeScript schema |
49
+ | `bungres status` | Show applied vs pending migrations |
50
+ | `bungres fresh` | Drop all tables and re-run all migrations from scratch |
51
+ | `bungres refresh` | Truncate all tables to quickly reset data without dropping schema |
52
+ | `bungres seed` | Execute the seed script, or run the Auto-Seeder using `@faker-js/faker` |
53
+ | `bungres studio` | Start a local web interface to browse database data |
54
+ | `bungres tusky` | Boot up a Node REPL connected to the database with schema loaded |
55
+ | `bungres drop` | Drop all tables, enums, and views defined in the schema (prompts for confirmation) |
56
56
 
57
57
  ### Usage Examples
58
58
 
@@ -82,4 +82,5 @@ bun run bungres drop --force # skip confirmation
82
82
  - **Auto-Seeder**: Run `bungres seed` without a custom script to automatically generate mock data for your database using `@faker-js/faker`, resolving foreign key dependencies automatically!
83
83
 
84
84
  ## License
85
+
85
86
  MIT