@withjoy/sdk-js

Joy Javascript SDK ==================

Usage no npm install needed!

<script type="module">
  import withjoySdkJs from 'https://cdn.skypack.dev/@withjoy/sdk-js';
</script>

README

Joy Javascript SDK

Installing or Upgrading Packages

Please follow the Best Practices for Care & Feeding of 'npm-shrinkwrap.json'.

Presently, the 'npm-shrinkwrap.json' can be successfully re-generated using Node 6 + npm@3. There is no need to switch to Node 10 + npm@6, as the Wiki above suggests.

Publishing

To publish a new version of this module,

  • do not up-version on your development branch
  • merge your fixes into master
  • from the master branch,
npm version patch  # or whatever is suitable

As a verification step (via 'preversion'),

  • a fresh (local) build is produced
  • the Test Suite must pass

As a follow-up,

  • package.json is up-versioned
  • a semver-ish tag is pushed to Git
  • CircleCI will perform the npm publish operation when it detects the tag
  • it's ready once the 'versions' in npm info @withjoy/sdk-js have been updated

CircleCI

Its Project uses the following Environment Variables:

  • NPM_TOKEN, which must have Publish rights