Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.14 KB

DEPLOYING.md

File metadata and controls

24 lines (19 loc) · 1.14 KB

Deploying JS Buy SDK

  1. Merge your branch into main
  2. Run npm version [patch|minor|major] which will do the following:
  • write new version to package.json
  • create a commit with a commit message matching the version number
  • create a new tag matching the version number
  1. Push the new commit and tags to main with git push && git push --tags
  2. Deploy built scripts to s3 via shipit

Updating Documentation

If your change affects how people use the project (i.e. adding or changing arguments to a function, adding a new function, changing the return value, etc), please ensure the documentation is also updated to reflect this. The docs live inside the docs/ folder and are hosted at http://shopify.github.io/js-buy-sdk.

Please update the docs in a separate PR from the code change. When the two are updated together, the diff will be huge and it will be difficult to review.

  1. Generate documentation using npm run doc:build or yarn doc:build
  2. Update the Changelog with details about the release.
  3. Merge your branch into main