From 848e68bcb7f4665656222fb9f0c898d14a95f47e Mon Sep 17 00:00:00 2001 From: Adam Rutland Date: Thu, 20 Oct 2022 15:37:52 -0700 Subject: [PATCH] Update readme instructions --skip-ci --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cf60ef1..2d53bdea 100644 --- a/README.md +++ b/README.md @@ -413,8 +413,18 @@ If you do not have credentials Request an NPM repository access key from your Vl The easiest way to set it up is to add the credentials to an `.npmrc` file in the User's home directory of your machine. Run the following: ``` npm config set @omnistudio:registry https://repo.vlocity.com/repository/vlocity-public/ -npm config set _auth --registry https://repo.vlocity.com/repository/vlocity-public/ +npm config set _auth ``` + +The file should then look like: +``` +@omnistudio:registry=https://repo.vlocity.com/repository/vlocity-public/ +//repo.vlocity.com/repository/vlocity-public/:username=USERNAME +//repo.vlocity.com/repository/vlocity-public/:_password="PASSWORD" +``` + +The other namespaces for the compiler are `@vlocity-ins` and `@vlocity-cme`. + If setup correctly then the following should work: `npm install @omnistudio/omniscript-lwc-compiler`