bun
bun copied to clipboard
init command configures & creates package.json
#381 This is a starting point for the init command. The main code is found inside src/cli/init_command.zig.
There are issues that needs to be address with the code in this pull request.
Issues
- Will not work on Windows because it doesn't recognize '\r\n' line break. It's not an issue now, but keep it in mind.
- Maybe some options are missing like package version or adding script command.
- Haven't been able to test it with bun (can't compile bun as of now).
Thank you for this. Bun definitely needs a bun init
command
bun init is already here, can we close this?
cc @Jarred-Sumner