Skip to content

CE-1779: add org scope, pin jfrog cli version

Christina Jenks requested to merge CE-1779-add-org-scope into main

This should publish the package under @ess-ics/ce-ui-common, which can then be aliased in your .npmrc file to install it:

_auth = <REDACTED>
email = YOUR-EMAIL@ess.eu
always-auth = true
@ess-ics:registry = https://artifactory.esss.lu.se/artifactory/api/npm/ics-npm/

The _auth is your base64 encoded credentials. You can get this easily by going to the package at https://artifactory.esss.lu.se/ui/repos/tree/General/ics-npm/ce-ui-common/- , clicking "Set Me Up", and then entering your credentials in the window; it'll basically generate output like above for you.

For reference, I updated the package name (and apparently version, which was out of date) in the lock file by making the changes in package.json and then running npm i --package-lock-only

I've also pinned the version of the jfrog cli since the @latest version literally has a broken change at the time of this PR. I put it in a variable so we can change it to latest later if we change our minds...but at least it's more obvious that this is a dependency of the CICD now.

Closes CE-1779

Edited by Christina Jenks

Merge request reports