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
|
- builder: custom
|
||||||
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 orders --for nodejs --production --ws-pack
|
||||||
- npx cds build ./reviews --for nodejs --production
|
- npx cds build reviews --for nodejs --production
|
||||||
- npx cds build ./bookstore --for nodejs --production --ws-pack
|
- npx cds build bookstore --for nodejs --production --ws-pack
|
||||||
modules:
|
modules:
|
||||||
- name: orders-srv
|
- name: orders-srv
|
||||||
type: nodejs
|
type: nodejs
|
||||||
@@ -88,7 +88,7 @@ modules:
|
|||||||
|
|
||||||
- name: samples
|
- name: samples
|
||||||
type: approuter.nodejs
|
type: approuter.nodejs
|
||||||
path: app-router
|
path: .deploy/app-router
|
||||||
parameters:
|
parameters:
|
||||||
keep-existing-routes: true
|
keep-existing-routes: true
|
||||||
disk-quota: 256M
|
disk-quota: 256M
|
||||||
|
|||||||
21
package-lock.json
generated
21
package-lock.json
generated
@@ -9,12 +9,7 @@
|
|||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"license": "SEE LICENSE IN LICENSE",
|
"license": "SEE LICENSE IN LICENSE",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"./bookshop",
|
"./*",
|
||||||
"./bookstore",
|
|
||||||
"./common",
|
|
||||||
"./fiori",
|
|
||||||
"./orders",
|
|
||||||
"./reviews",
|
|
||||||
"./etc/*"
|
"./etc/*"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -182,6 +177,10 @@
|
|||||||
"resolved": "reviews",
|
"resolved": "reviews",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@capire/shared-db": {
|
||||||
|
"resolved": "shared-db",
|
||||||
|
"link": true
|
||||||
|
},
|
||||||
"node_modules/@colors/colors": {
|
"node_modules/@colors/colors": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
|
||||||
@@ -367,9 +366,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@sap/xssec": {
|
"node_modules/@sap/xssec": {
|
||||||
"version": "4.4.0",
|
"version": "4.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@sap/xssec/-/xssec-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sap/xssec/-/xssec-4.5.0.tgz",
|
||||||
"integrity": "sha512-tVPyF6z6lWN2cucT38kkTu6GTmFXhqd/xa0SrExZ+j8K1cNePEIDHvx/zfibubLeb198vyoreW4QOpR9+Vaj4A==",
|
"integrity": "sha512-Mait0L7EoGYX7o6MlEqPz778pP2Z52f3EcDtEu1rKHkuJwu/mOP4rJh2ZsGVVHWrRQIKRQJCaUTSOMxuL3Txxw==",
|
||||||
"license": "SAP DEVELOPER LICENSE AGREEMENT",
|
"license": "SAP DEVELOPER LICENSE AGREEMENT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
@@ -2469,6 +2468,10 @@
|
|||||||
"@sap/xssec": "^4.2.7",
|
"@sap/xssec": "^4.2.7",
|
||||||
"express": "^4.17.1"
|
"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",
|
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
|
||||||
"author": "daniel.hutzel@sap.com",
|
"author": "daniel.hutzel@sap.com",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"./bookshop",
|
"./*",
|
||||||
"./bookstore",
|
|
||||||
"./common",
|
|
||||||
"./fiori",
|
|
||||||
"./orders",
|
|
||||||
"./reviews",
|
|
||||||
"./etc/*"
|
"./etc/*"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -38,4 +33,4 @@
|
|||||||
},
|
},
|
||||||
"license": "SEE LICENSE IN LICENSE",
|
"license": "SEE LICENSE IN LICENSE",
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/samples-shared-db",
|
"name": "@capire/shared-db",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"description": "CAP Sample CDS model deployment for shared-db scenario",
|
"description": "CAP Sample CDS model deployment for shared-db scenario",
|
||||||
"cds": {
|
"cds": {
|
||||||
|
|||||||
Reference in New Issue
Block a user