I'm using Devbox to provision development environments, and I've noticed a potential enhancement. It would be beneficial if devbox.json allowed us to designate which dependencies are development dependencies, similar to how npm handles devDependencies. This feature would enable the installation of post-build dependencies and ensure parity between the development and runtime environments using the Devbox package manager.
What solution would you like?
To avoid breaking changes, new clients can specify the distinction between development and runtime dependencies as follows, while keeping the old configuration intact:
What problem are you trying to solve?
I'm using Devbox to provision development environments, and I've noticed a potential enhancement. It would be beneficial if devbox.json allowed us to designate which dependencies are development dependencies, similar to how npm handles devDependencies. This feature would enable the installation of post-build dependencies and ensure parity between the development and runtime environments using the Devbox package manager.
What solution would you like?
To avoid breaking changes, new clients can specify the distinction between development and runtime dependencies as follows, while keeping the old configuration intact:
New CLI Commands:
devbox install runtime: Installs only runtime dependencies. devbox install: Installs all dependencies (both development and runtime).
Alternatives you've considered
No response