Bun supports this if your dependencies are npm packages: https://bun.sh/docs/runtime/auto-install
It is also a single self-contained binary and has a self-updater.