Adobe Campaign JavaScript SDK

Releasing a new version

Then, make sure that the Commit Checklist is fullfiled.

In a nutshell

npm i
npm run unit-tests
npm audit
node_modules/jshint/bin/jshint src/
npm run jsdoc
open ./docs/jsdoc/index.html
node ./compile.js

To release and deploy to npm

Push a commit with message Release 1.2.3 in master

git commit -m "Release 1.2.3"
git push origin

There's a publication action that will publish released automatically when there's a commit named "Release ..." in master AND the version matches the one in package.json Do not create a git tag for this version, the publication hook will take care of it. If you have created a tag with the release name, the publication will fail

You can follow the results of the actions here

It usually takes a few hours for the package to show up in the NPM UI but you can still use the package by using npm