feat(npm): add .npmrc for @sap-scope

- `npm set @sap...` is unnecessary
- update README.md accordingly
This commit is contained in:
Volker Buzek
2020-01-14 14:38:14 +01:00
committed by Christian Georgi
parent 6a9a1bc4d6
commit a04755efed
2 changed files with 2 additions and 3 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
@sap:registry=https://npm.sap.com

View File

@@ -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
```