bumpp icon indicating copy to clipboard operation
bumpp copied to clipboard

jsonc (and yaml/toml) configuration file support

Open csjewell opened this issue 8 months ago • 1 comments

Clear and concise description of the problem

I like being able to put comments in my json files. I understand that (updated versions of) c12 support those file formats, so it SHOULD be as easy as changing the line I linked in the "Suggested solution" area. If I get time soon, and you'd like, I'll create a PR (cannot do it until Saturday at least, sorry!)

Suggested solution

This should be the line to change, if I'm understanding your code correctly:

https://github.com/antfu-collective/bumpp/blob/6887d418b35df2d2c2afc1e351b10a75ad385f5a/src/config.ts#L42

Alternative

No response

Additional context

No response

Validations

  • [x] Follow our Code of Conduct
  • [x] Read the Contributing Guide.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

csjewell avatar Apr 17 '25 15:04 csjewell

Sure, PR welcome!

antfu avatar May 20 '25 03:05 antfu