-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use normalize-package-data
instead of normalize-registry-metadata
#18
Comments
There's a backstory for this but I can't remember what it is. cc @soldair
That's because |
Found the backstory: #6
Sorry about the mismention in the readme. |
Looking back into it, I wonder if maybe we should be using both. |
I am literally laughing out loud, because I know exactly what that feels like. Conversation with my coworker, "Did I write that? Did you write that? I can't remember. Did we actually write it or just talk about writing it? Wait... are we even looking in the right repo? Well, when did we write it? That might give us a clue which repo..." Gimme a moment to re-read soldair's response a few times to process it. |
OK. So Nice-package is in a tough spot, because it doesn't know where the input came from. Using However, in I think I'm thinking you're correct, we might want to use both if the goal is ultimate niceness. Simply because I'm almost tempted to say it might make more sense to start from scratch, make a skeleton of fields for |
The main distinction would be how the code is organized. Currently the approach used by nice-package and normalize-package-data is
The alternative approach would be organized around individual fields, like
|
I don't know what's going on, but
Is straight up not true.
normalize-package-data
isn't used anywhere. It's not a dependency ofnormalize-registry-metadata
either.(and I'm a little miffed atm because nice-package threw the
author
field intoother
, whennormalize-package-data
says it neatly parses theauthor
field into an object with name, email, and url, and I had assumed based on the readme thatnice-package
was a superset ofnormalize-package-data
)The text was updated successfully, but these errors were encountered: