Add package-lock.json, fix readme

This commit is contained in:
Christian Georgi
2020-04-02 16:02:32 +02:00
parent b34b1b0a17
commit 9d31d66c78
5 changed files with 2070 additions and 3766 deletions

View File

@@ -11,7 +11,7 @@ In SAP Business Application Studio, open a terminal.
Then clone the repo with this specific branch:
```sh
git clone https://github.com/sap-samples/cloud-cap-samples -b OpenSAP-week3-unit5
git clone https://github.com/sap-samples/cloud-cap-samples -b openSAP-week3-unit5
cd cloud-cap-samples
```
@@ -44,7 +44,7 @@ Clean-up the CF space in your trial account if you already used it before. Make
Generation of the XSUAA service configuration file xs-security.json:
```sh
cds compile srv/ --to xsuaa > xs-security.json
cds compile srv/ --to xsuaa > xs-security.json
```
In this unit we use [MTA](https://sap.github.io/cloud-mta-build-tool/) to do the deployment to CF

3940
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,8 +11,8 @@
"bookshop": "cds watch packages/bookshop"
},
"dependencies": {
"@sap/cds": "latest",
"express": "*"
"@sap/cds": "^3",
"express": "^4"
},
"devDependencies": {
"sqlite3": "*"

File diff suppressed because it is too large Load Diff

View File

@@ -4,10 +4,10 @@
"description": "A simple bookshop application, build in a self-contained all-in-one fashion, i.e. w/o reusing other packages.",
"license": "SAP SAMPLE CODE LICENSE",
"dependencies": {
"@sap/cds": "latest",
"express": "*",
"passport": "^0.4.1",
"hdb": "^0.17.1"
"@sap/cds": "^3",
"express": "^4",
"passport": "^0.4.1",
"hdb": "^0.17.1"
},
"scripts": {
"start": "cds run --in-memory?",