npm scripts and finalize

This commit is contained in:
Johannes Vogt
2025-03-21 17:24:07 +01:00
parent a657be4adc
commit d79fbde2de
2 changed files with 6 additions and 2 deletions

View File

@@ -10,8 +10,9 @@ build-parameters:
commands: commands:
- npm ci - npm ci
- npx cds build ./shared-db --for hana --production - npx cds build ./shared-db --for hana --production
- npx cds build ./orders --for nodejs --production --ws-pack
- npx cds build --production - npx cds build ./reviews --for nodejs --production
- npx cds build ./bookstore --for nodejs --production --ws-pack
modules: modules:
- name: bookstore-srv - name: bookstore-srv
type: nodejs type: nodejs

View File

@@ -28,6 +28,9 @@
"semver": "^7" "semver": "^7"
}, },
"scripts": { "scripts": {
"build": "mbt build -t gen --mtar mta.tar",
"deploy": "cf deploy gen/mta.tar",
"undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys",
"bookshop": "cds watch bookshop", "bookshop": "cds watch bookshop",
"fiori": "cds watch fiori", "fiori": "cds watch fiori",
"lint": "eslint", "lint": "eslint",