Skip to content
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

define build process for deploying to npm #4

Open
ckundo opened this issue Nov 29, 2016 · 1 comment
Open

define build process for deploying to npm #4

ckundo opened this issue Nov 29, 2016 · 1 comment

Comments

@ckundo
Copy link

ckundo commented Nov 29, 2016

Open questions:

  • Do we have a release branch with the build artifacts?
  • When/where do we deploy to npm registry? Locally? From CI?

@addyosmani you've been managing the a11y node module I believe. Any thoughts or recommendations based on your experience? cc @alice

@jessebeach
Copy link
Member

Up to this point I've run these two commands to release to NPM:

  1. npm version patch
  2. npm publish

I've never worked on an NPM project with multiple authors. Do we just add usernames to the package.json so other folks can publish to the package endpoint as well?

Also, @ckundo I'm just relying on npm publish to create the lib/ dir in the package straight off the master branch. My preference is to avoid complex release models i.e. with a release branch. All work goes right into master; we use semver to and npm version to indicate release milestones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants