Merge branch 'main' into compose-with-cds-plugins

This commit is contained in:
Daniel Schlachter
2023-08-01 10:47:09 +02:00
committed by GitHub
2 changed files with 5 additions and 23 deletions

View File

@@ -54,24 +54,6 @@ npx jest
``` ```
> While mocha is a bit smaller and faster, jest runs tests in parallel and isolation, which allows to run all tests. > 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 included a simple npm registry mock, which allows you to do an `npm install @capire/<package>` 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, for example:
```sh
npm add @capire/common @capire/bookshop
```
## Code Tours ## Code Tours
Take one of the [guided tours](.tours) in VS Code through our CAP samples and learn which CAP features are showcased by the different parts of the repository. Just install the [CodeTour extension](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) for VS Code. We'll add more code tours in the future. Stay tuned! Take one of the [guided tours](.tours) in VS Code through our CAP samples and learn which CAP features are showcased by the different parts of the repository. Just install the [CodeTour extension](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) for VS Code. We'll add more code tours in the future. Stay tuned!

10
package-lock.json generated
View File

@@ -592,12 +592,12 @@
} }
}, },
"node_modules/@sap/cds": { "node_modules/@sap/cds": {
"version": "7.0.3", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/@sap/cds/-/cds-7.0.3.tgz", "resolved": "https://registry.npmjs.org/@sap/cds/-/cds-7.1.0.tgz",
"integrity": "sha512-tZV6ZHRm9GYycPTInqHx8DmEhIQ1d6K6aeljqE3K9jZa5rUQP3ftP5SpoIaCkr5ICtw0Jcz8wb/eeTy+rCaTkA==", "integrity": "sha512-F+C8veA7Hi+799CvCGo2hwwwnnZ+4fXetOPTYHrBAFGFMmWtWPYvbaaiy/GaF1wn9mB9btFr/asrdF805t6Umg==",
"dependencies": { "dependencies": {
"@sap/cds-compiler": ">=3.9", "@sap/cds-compiler": "^4",
"@sap/cds-fiori": "*", "@sap/cds-fiori": "^1",
"@sap/cds-foss": "^4" "@sap/cds-foss": "^4"
}, },
"bin": { "bin": {