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:
2412
app-router/package-lock.json
generated
2412
app-router/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
mta.yaml
10
mta.yaml
@@ -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
21
package-lock.json
generated
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user