You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will allow users and implementors to get what they want from this lib.
make the logic in normalize-pkg more granular. e.g instead of adding flags for everything we can just expose an API for, say, normalizing from a string to an object, or vice versa
move the opinions to the generator and subgenerators
out of the box, the generator can create a new package.json using yo pkg
If a package.json already exists, the generator will normalize it using some agreed upon defaults
Subgenerators
Subgenerators will make it easy to generate a package.json that follows whatever standards you want. E.g. to generate a package.json that strictly adheres to npm standards, you would use the strict subgenerator with yo pkg:strict.
The text was updated successfully, but these errors were encountered:
This will allow users and implementors to get what they want from this lib.
yo pkg
Subgenerators
Subgenerators will make it easy to generate a package.json that follows whatever standards you want. E.g. to generate a package.json that strictly adheres to npm standards, you would use the
strict
subgenerator withyo pkg:strict
.The text was updated successfully, but these errors were encountered: