Skip to content

Commit 4246494

Browse files
just-be-devclaude
andcommitted
fix(micro): add migrations_dir and mise task for micro CLI
- Set migrations_dir = "db/migrations" in wrangler.toml so that wrangler d1 migrations apply finds the correct migrations path - Add mise run micro task to invoke packages/micro/index.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5f55520 commit 4246494

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

mise.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,8 @@ description = "Assemble changelog fragments into CHANGELOG.md"
8888
[tasks."release-notes"]
8989
run = "bun scripts/release-notes.ts"
9090
description = "Preview release notes for a package version"
91+
92+
[tasks.micro]
93+
run = "bun packages/micro/index.ts"
94+
description = "Micro blog CLI (browse posts or create new ones)"
95+
raw = true

wrangler.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ binding = "ASSETS"
1313
binding = "DB"
1414
database_name = "micro-blog"
1515
database_id = "cc5c17ec-ad2f-41b5-8d5c-cf542604c43b"
16+
migrations_dir = "db/migrations"

0 commit comments

Comments
 (0)