From 48781c6b34d0d43cbc6e4c0966bbb13b8a130b48 Mon Sep 17 00:00:00 2001 From: sbenmoussati <51402489+sbenmoussati@users.noreply.github.com> Date: Tue, 8 Jun 2021 18:41:59 +0200 Subject: [PATCH] Updating DEV Setup with .npmrc --- docs/development/DEV_SETUP.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/development/DEV_SETUP.md b/docs/development/DEV_SETUP.md index 3ed6408b..bc6e1e5d 100644 --- a/docs/development/DEV_SETUP.md +++ b/docs/development/DEV_SETUP.md @@ -72,6 +72,20 @@ npm run test:spectron -- --match=spell* ## Packaging: +- Add Artifactory credentials to your home directory `.npmrc` file + +1. Login to https://repo.symphony.com/ in your browser +2. Open https://repo.symphony.com/artifactory/webapp/#/profile +3. Click generate token +4. Execute `curl --location --request GET 'https://repo.symphony.com/artifactory/api/npm/auth' --header 'X-JFrog-Art-Api: '` +5. Update ~/.npmrc with: + +``` +registry = https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ +_auth = +always-auth = true +``` + ### Mac 🖥 - npm install - npm run dev (to run locally)