Added @capire:registry

This commit is contained in:
Daniel
2020-11-17 17:41:55 +01:00
committed by Daniel Hutzel
parent f2c37ec162
commit d80084bfb7
3 changed files with 88 additions and 0 deletions

View File

@@ -48,6 +48,22 @@ npx jest
> While mocha is a bit smaller and faster, jest runs tests in parallel and isolation, which allows to run all tests.
### Serve `npm`
We've simple npm registry mock included which allows you to do an `npm install @capire/<package>` anywhere locally. Use it as follows:
1. Start the @capire registry:
```sh
npm run registry
```
> While running this will have `@capire:registry=http://localhost:4444` set with npmrc.
2. Install one of the @capire packages wherever you like, e.g.:
```sh
npm add @capire/common @capire/bookshop
```
## Get Support
Check out the documentation at [https://cap.cloud.sap](https://cap.cloud.sap). <br>