Replies: 8 comments 10 replies
|
Yes, i think this is huge advantage to use comments in config file. We can describe keys |
|
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? |
|
Hi, But it was closed and I get following anwser from Jarred:
|
|
This would be the thing that would switch my team from nodejs to bun. |
|
resolved in v.1.1.5 |
|
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? |
|
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. |
|
Hey, for anyone excited about using comments, please note that comments in your See #11536 |
Uh oh!
There was an error while loading. Please reload this page.
A huge pain in JS world is you cannot add comments into
package.json.What if
Bunallows it? It would be fantastic (to me) and a HUGE advantage overNode:)I've tried to change
package.jsontopackage.jsoncandBunreturns an error :-(PS. Thanks for making
BunAll reactions