@dyst-no/db
v0.1.3
Published
Database CLI and helpers for Dyst projects.
Downloads
368
Maintainers
Readme
@dyst-no/db
Database management CLI for Dyst projects. Provides commands for database initialization, migration, and seeding.
Install with:
bun add @dyst-no/dbRun the CLI with:
bunx dyst-db migrateCheck the package locally with:
bun run typecheck
bun run formatCommands
init- Initialize database directory structurecreate- Create a new databasedrop- Drop the databasemigrate- Build and apply database migrationsseed- Seed the database with initial data
Releasing
Run the Release GitHub Actions workflow and choose one of:
patchfor fixes and small non-breaking changesminorfor new backward-compatible featuresmajorfor breaking changes
The release flow builds, typechecks, updates CHANGELOG.md from commit messages since the previous tag, creates a release commit and tag, and publishes to npm.
You can also run releases locally:
bun run release:patch
bun run release:minor
bun run release:major