rush-sort-package-json
Rush plugin for sort package.json file in the project.
Quick Start
- Enabling this rush plugin
- Running
sort-package-json
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 add
only puts the added dependencies at the end of the deps field.
Q: Why not modify the
A: Because many other commands may also change package.json, such as rush add
command to keep it in order?rush version --bump
or manually modify dependencies.
Related issues
rushstack #2496
LICENSE
MIT