rush-sort-package-jsonRush plugin for sort package.json file in the project.
- Enabling this rush plugin
What is the plugin for?We have noticed that:
- There is some feedback about the package.json file under the rush repository being out of order.
rush addonly puts the added dependencies at the end of the deps field.
Q: Why not modify theA: Because many other commands may also change package.json, such as
rush addcommand to keep it in order?
rush version --bumpor manually modify dependencies.
Related issuesrushstack #2496