Stable emit of plugins.json, so diffs are more readable #404
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Disclaimer: I haven't tested this locally, but the change was so tiny, figured I should propose it as-is.
I noticed that the diffs on plugins.json are unreadable because the ordering of plugins changes every time.
As a plugin author, it would be nice to "git blame" the version number of my plugins to see when they were updated automatically by the script. By ensuring the plugins.json always emit in the same order, we clean up the diffs.
Example:
Before, HelloWorldNodeJS is on line 2768. After it's on line 2.
7e5550f#diff-18d7f9b905f83805c42db6d239a7fb0207d4b32193202eb13ba077caed424c3cR395