kysely-org / kysely-ctl

Command-line tool for Kysely
MIT License
50 stars 2 forks source link

Running `migrate` commands causes package manager to install #7

Closed jkonowitch closed 2 months ago

jkonowitch commented 2 months ago

Notice that when running migrate:latest, as an example (but this also happens with most of the other migrate commands, it causes my package manager (pnpm in this case) to run an install, which significantly slows down the operation. Is this expected behavior?

➜  pnpm kysely migrate:latest           
> dotenv -e .env.local -- kysely "migrate:latest"

../../..                                 | Progress: resolved 796, reused 718, downloaded 0, added 0, done
Done in 2.5s
◐ Starting migration to latest                                                                                                                      
ℹ Migration skipped: no new migrations found
igalklebanov commented 2 months ago

Hey 👋

Thanks for the feedback. This behavior is removed in https://github.com/kysely-org/kysely-ctl/releases/tag/v0.5.0.

jkonowitch commented 2 months ago

Tested - looks good!