From a04755efedc4adce3757b002de65ac7f5f78c0b5 Mon Sep 17 00:00:00 2001 From: Volker Buzek Date: Tue, 14 Jan 2020 14:38:14 +0100 Subject: [PATCH] feat(npm): add .npmrc for @sap-scope - `npm set @sap...` is unnecessary - update README.md accordingly --- .npmrc | 1 + README.md | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..6041b7e8 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@sap:registry=https://npm.sap.com \ No newline at end of file diff --git a/README.md b/README.md index 86aea7e2..035f076c 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,7 @@ The samples provided can be run in a local setup on SQLite Database. #### Install `cds` development kit ```sh -# sets the registry for `@sap` packages -npm set @sap:registry=https://npm.sap.com - +# `@sap`-scoped packages are set via .npmrc npm install -g @sap/cds-dk cds #> test-run it ```