-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up package.json across all repositories #55
Comments
Should the |
Depends on where this is actually used - one would have to research that. |
|
We should not remove the One thing I would love to see removed are the excessively long and outdated lists of contributors in some Another thing would be consistent ordering of keys. sort-package-json can do that automatically. The ordering of the keys cannot be configured but it makes sense to me most of the time. If we assemble a list of things to change, we could tag this for |
+1 on removing the contributors section of the I am OK with resorting the keys to be in order. I am also not against defining a manual order to be consistent across repos.. Having like items grouped together and the relevant information at top, etc... But obviously sorting alphabetical would be the quickest and easiest. |
+1 on contributors, too. We should also not forget to update the URLs in the But yes, a good task for the Hacktoberfest to get an into the different Cordova repos. |
|
I've written a little script that will perform the desired changes in an automated fashion. I will still create PRs for the changes. Right now I plan on doing two PRs (since the second one could be controversial): PR 1
PR 2
If we agree on these changes up front, I could also throw these all into one PR per repo. Would be less work for everyone. Regarding the sorting: I tried Any changes that should be added to PRs 1&2? |
I'm okay with that. Those contributor lists have not been maintained since the early days, so removing them is probably best. |
Does your script also fix the URLs of the bug report and git? Some of the projects might have the JIRA URL (https://github.com/apache/cordova-plugin-battery-status/blob/master/package.json#L20) or even the old |
Yes |
Thanks for the input and reviews. Can we close this as resolved? Or are there still things that need to be addressed? Like a consistent ordering of the fields in our |
Should anyone be curious, these are the scripts I used to automate these changes. |
I think consistent ordering would be nice to have, but I don't think it is necessary to keep this ticket open anymore. |
* chore(pkg): remove field "maintainers" * chore(pkg): remove default-valued field "homepage" * fix(pkg): fix declaration for binary "create" Related to apache/cordova#55
Laborious task:
Go through all package.json files for all repositories and clean them up. Remove things like
or other unneeded entries.
Might require some discussion on what to remove and keep first.
The text was updated successfully, but these errors were encountered: