bun init
: ask to continue if package.json already exists and add --force
flag
#16361
Labels
enhancement
New feature or request
What is the problem this feature would solve?
Instead of the current behaviour, Bun should rather warn that package.json already exists and if the user wants to override.
Add
--force
flag so users can ignore warnings.What is the feature you are proposing to solve the problem?
When a directory is already initialized by Bun,
This message sounds weird.
What alternatives have you considered?
Don't warn at all like
npm init
does when package.json already exists.The text was updated successfully, but these errors were encountered: