close

Search whole Azing

check_circle

This assumes you have a working setup.

Instructions for publishing the latest NPM package

Since this work is released on NPM, this is how you should work once a new release is ready:

  1. Navigate to [2sxc-ui Path]/projects/dnn-sxc-angular
  2. Update the version number in the package.json - node version.
  3. Run npm run build to rebuild -> you should see files in the dist folder being replaced
  4. Check-in and make sure you are on master branch; if not, merge.
  5. Make sure you are logged into npm (you can do this by running npm whoami), if you are not logged in, use npm adduser to create a user or npm login to log in with your credentials.
  6. Navigate to dist/dnn-sxc-angular
  7. In that folder, run npm publish - you will shortly receive an email which confirms the publication.

Note that this will only work if you have an npm-account with the correct permissions, mapped to this project.