Open thescientist13 opened 6 years ago
this project from @hutchgrant has been working on some good documentation https://github.com/hutchgrant/evergreen-web-components
npmjs.org has excellent documentation as well.
Creating a new account About two factor auth Configure two factor auth Logging in to npm Changing package version Creating and publishing unscoped packages
I also think docs for publishing multiple components at once via lerna, as described in the link cited in (https://github.com/ProjectEvergreen/project-evergreen/issues/47#issuecomment-450580744) would be helpful.
Type of Change
Summary
Some documentation on how to publish a reusable component to npm. Topics to cover:
files
array in package.json (whitelisting what is published)npm pack
Use Case
Developers looking to publish reusable components.
Code Sample
N / A
Pros / Cons
No cons, other than the usual risk with documentation that it can get out dated easily.