You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make drizzle-kit and better-sqlite3 optional peers in the next major #969
Installing only void with npm on Linux x64 puts 412 MiB in node_modules, and 58 MiB of that comes from drizzle-kit and better-sqlite3.
Void uses them only for void db commands, the deploy schema-drift check and local D1 migrations.
They can't become optional peers in 1.x, because upgrading void would remove them from existing projects and break their database commands.
Two steps can land in 1.x:
The CLI looks up drizzle-kit in the commands that use it, not when it starts.
void init and create-void add drizzle-kit, and better-sqlite3 for D1, to the app's devDependencies when a database is chosen, so new apps keep working after the upgrade.
In the next major, both become optional peers, a command missing one names the package to install, and on D1 void db reset and void db seed check for the driver before deleting the local database.
pg and mysql2 add under 5 MiB together, so they can stay.
Activity