ProjectEvergreen / project-evergreen

Wiki and high level "feature" tracker for Project Evergreen
https://projectevergreen.github.io/
Apache License 2.0
11 stars 1 forks source link

As a developer I would like documentation for publishing a component to npm #47

Open thescientist13 opened 6 years ago

thescientist13 commented 6 years ago

Type of Change

Summary

Some documentation on how to publish a reusable component to npm. Topics to cover:

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.

thescientist13 commented 5 years ago

this project from @hutchgrant has been working on some good documentation https://github.com/hutchgrant/evergreen-web-components

hutchgrant commented 5 years ago

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.