@withjoy/sdk-js
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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.

If the above fails:

Switch to node 16

nvm use 16

Run yarn instead of npm

yarn install --frozen-lockfile

Switch back to node 6.9

nvm use

Test to verify an working bulid

npm test

Publishing

To publish a new version of this module,

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

See npm's examples of the different levels of versions (major, minor, patch, etc.)

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:

  • ARTIFACTORY_TOKEN
  • NPM_TOKEN

/@withjoy/sdk-js/

    Package Sidebar

    Install

    npm i @withjoy/sdk-js

    Weekly Downloads

    27

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    2.71 MB

    Total Files

    127

    Last publish

    Collaborators

    • paxtonphillips
    • rahulcwithjoy
    • onurd
    • ebriscoe-joy
    • nikolayjoy
    • dfjoy
    • gfarannawithjoy
    • justinatjoy
    • mcendrju
    • roybot
    • marinda.martin
    • katiemgray
    • d2201
    • nekoro
    • johndennismpls
    • joylife
    • knkher
    • mcorrigan89
    • ktranada
    • cantremember
    • evanbreitsch
    • amy_withjoy
    • madjos
    • kaiyuewang1998