chore: moving app-router to .deploy folder (#822)

* chore: moving app-router and mta.yaml to .deploy folder?

* reverted mta.yaml in .deploy

* chore: update package-lock.json

* Added guide about Micro Services with CAP

* updated package-lock.json

* Leaving mta.yaml in root

* .

* .

* .

* Remove Micro Services with CAP documentation
This commit is contained in:
Daniel Hutzel
2025-03-28 11:46:19 +01:00
committed by GitHub
parent 81557d5ad7
commit 4232ab1d3a
10 changed files with 20 additions and 2434 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,10 @@ build-parameters:
- builder: custom
commands:
- npm ci
- npx cds build ./shared-db --for hana --production
- npx cds build ./orders --for nodejs --production --ws-pack
- npx cds build ./reviews --for nodejs --production
- npx cds build ./bookstore --for nodejs --production --ws-pack
- npx cds build shared-db --for hana --production
- npx cds build orders --for nodejs --production --ws-pack
- npx cds build reviews --for nodejs --production
- npx cds build bookstore --for nodejs --production --ws-pack
modules:
- name: orders-srv
type: nodejs
@@ -88,7 +88,7 @@ modules:
- name: samples
type: approuter.nodejs
path: app-router
path: .deploy/app-router
parameters:
keep-existing-routes: true
disk-quota: 256M

21
package-lock.json generated
View File

@@ -9,12 +9,7 @@
"version": "3.0.0",
"license": "SEE LICENSE IN LICENSE",
"workspaces": [
"./bookshop",
"./bookstore",
"./common",
"./fiori",
"./orders",
"./reviews",
"./*",
"./etc/*"
],
"devDependencies": {
@@ -182,6 +177,10 @@
"resolved": "reviews",
"link": true
},
"node_modules/@capire/shared-db": {
"resolved": "shared-db",
"link": true
},
"node_modules/@colors/colors": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
@@ -367,9 +366,9 @@
"license": "MIT"
},
"node_modules/@sap/xssec": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@sap/xssec/-/xssec-4.4.0.tgz",
"integrity": "sha512-tVPyF6z6lWN2cucT38kkTu6GTmFXhqd/xa0SrExZ+j8K1cNePEIDHvx/zfibubLeb198vyoreW4QOpR9+Vaj4A==",
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/@sap/xssec/-/xssec-4.5.0.tgz",
"integrity": "sha512-Mait0L7EoGYX7o6MlEqPz778pP2Z52f3EcDtEu1rKHkuJwu/mOP4rJh2ZsGVVHWrRQIKRQJCaUTSOMxuL3Txxw==",
"license": "SAP DEVELOPER LICENSE AGREEMENT",
"dependencies": {
"debug": "^4.3.4",
@@ -2469,6 +2468,10 @@
"@sap/xssec": "^4.2.7",
"express": "^4.17.1"
}
},
"shared-db": {
"name": "@capire/shared-db",
"version": "3.0.0"
}
}
}

View File

@@ -5,12 +5,7 @@
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
"author": "daniel.hutzel@sap.com",
"workspaces": [
"./bookshop",
"./bookstore",
"./common",
"./fiori",
"./orders",
"./reviews",
"./*",
"./etc/*"
],
"devDependencies": {
@@ -38,4 +33,4 @@
},
"license": "SEE LICENSE IN LICENSE",
"private": true
}
}

View File

@@ -1,5 +1,5 @@
{
"name": "@capire/samples-shared-db",
"name": "@capire/shared-db",
"version": "3.0.0",
"description": "CAP Sample CDS model deployment for shared-db scenario",
"cds": {