Update cds and use cds-serve not cds run (#577)

This commit is contained in:
René Jeglinsky
2023-09-13 13:30:54 +02:00
committed by GitHub
parent 88a4de168d
commit aa15f3f1df
3 changed files with 5 additions and 5 deletions

View File

@@ -13,13 +13,13 @@
"@cap-js/sqlite": "*" "@cap-js/sqlite": "*"
}, },
"dependencies": { "dependencies": {
"@sap/cds": ">=5.9", "@sap/cds": "^7",
"express": "^4.17.1", "express": "^4.17.1",
"passport": ">=0.4.1" "passport": ">=0.4.1"
}, },
"scripts": { "scripts": {
"genres": "cds serve test/genres.cds", "genres": "cds serve test/genres.cds",
"start": "cds run", "start": "cds-serve",
"watch": "cds watch" "watch": "cds watch"
} }
} }

View File

@@ -9,7 +9,7 @@
"passport": ">=0.4.1" "passport": ">=0.4.1"
}, },
"scripts": { "scripts": {
"start": "cds run --in-memory?", "start": "cds-serve",
"watch": "cds watch" "watch": "cds watch"
}, },
"cds": { "cds": {

View File

@@ -11,7 +11,7 @@
"express": "^4.17.1" "express": "^4.17.1"
}, },
"scripts": { "scripts": {
"start": "cds run", "start": "cds-serve",
"watch": "cds watch" "watch": "cds watch"
}, },
"cds": { "cds": {