Replies: 7 comments 5 replies
-
Yes, i think this is huge advantage to use comments in config file. We can describe keys |
Beta Was this translation helpful? Give feedback.
-
A very common use case for me is the need to comment why dependencies are pinned to a specific version e.g. due to a bug or dependency of some other package. For this reason alone I would really enjoy this feature. I would assume that implementing this feature is going to be rather tricky because so much tooling is using the package.json convention. Maybe we can have an additional step which just generates a pckage.json on the fly?, is the impact of the startup time to severe? |
Beta Was this translation helpful? Give feedback.
-
Hi, But it was closed and I get following anwser from Jarred:
|
Beta Was this translation helpful? Give feedback.
-
This would be the thing that would switch my team from nodejs to bun. |
Beta Was this translation helpful? Give feedback.
-
resolved in v.1.1.5
|
Beta Was this translation helpful? Give feedback.
-
Agree! Rly want comments in the package.json But devs have been asking about it for probably a decade already. The future devs should laugh at us not having comment support :P Isn't this how software evolves? |
Beta Was this translation helpful? Give feedback.
-
You can add comments and trailing commas to package.json in Bun. We have test coverage for this. The filename continues to be package.json. |
Beta Was this translation helpful? Give feedback.
-
A huge pain in JS world is you cannot add comments into
package.json
.What if
Bun
allows it? It would be fantastic (to me) and a HUGE advantage overNode
:)I've tried to change
package.json
topackage.jsonc
andBun
returns an error :-(PS. Thanks for making
Bun
Beta Was this translation helpful? Give feedback.
All reactions