From aa15f3f1dfb0f397dac6f84136873d2939fa3531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jeglinsky?= Date: Wed, 13 Sep 2023 13:30:54 +0200 Subject: [PATCH] Update cds and use cds-serve not cds run (#577) --- bookshop/package.json | 6 +++--- fiori/package.json | 2 +- loggers/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bookshop/package.json b/bookshop/package.json index 61c52156..6c24d667 100644 --- a/bookshop/package.json +++ b/bookshop/package.json @@ -13,13 +13,13 @@ "@cap-js/sqlite": "*" }, "dependencies": { - "@sap/cds": ">=5.9", + "@sap/cds": "^7", "express": "^4.17.1", "passport": ">=0.4.1" }, "scripts": { "genres": "cds serve test/genres.cds", - "start": "cds run", + "start": "cds-serve", "watch": "cds watch" } -} \ No newline at end of file +} diff --git a/fiori/package.json b/fiori/package.json index 4ced2968..ec032b3e 100644 --- a/fiori/package.json +++ b/fiori/package.json @@ -9,7 +9,7 @@ "passport": ">=0.4.1" }, "scripts": { - "start": "cds run --in-memory?", + "start": "cds-serve", "watch": "cds watch" }, "cds": { diff --git a/loggers/package.json b/loggers/package.json index 4f76f7f2..d91b4f59 100644 --- a/loggers/package.json +++ b/loggers/package.json @@ -11,7 +11,7 @@ "express": "^4.17.1" }, "scripts": { - "start": "cds run", + "start": "cds-serve", "watch": "cds watch" }, "cds": {