@sap/cds-dk 9.4.3 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +77 -0
- package/bin/compile/index.js +1 -1
- package/bin/export.js +1 -1
- package/bin/help.js +0 -1
- package/bin/import.js +8 -3
- package/bin/repl.js +7 -11
- package/bin/up.js +150 -20
- package/bin/util/containerize.js +66 -25
- package/bin/version.js +4 -4
- package/lib/bind/k8s.js +1 -1
- package/lib/build/plugins/helm/files/templates/_deployment_helpers.tpl +1 -1
- package/lib/build/plugins/helm/index.js +1 -1
- package/lib/build/provider/hana/2migration.js +16 -24
- package/lib/build/provider/hana/index.js +1 -1
- package/lib/build/provider/hana/template/.hdiconfig-all +7 -1
- package/lib/build/provider/hana/template/package.json +1 -1
- package/lib/build/provider/internalBuildPlugin.js +15 -1
- package/lib/build/provider/java/index.js +12 -1
- package/lib/build/provider/mtx-sidecar/index.js +2 -1
- package/lib/build/provider/nodejs/index.js +2 -1
- package/lib/build/util.js +3 -3
- package/lib/compile/to_openapi.js +1 -5
- package/lib/import/common.js +2 -1
- package/lib/import/odata/ParserContext.js +1 -0
- package/lib/import/odata/v4parser.js +48 -3
- package/lib/import/openapi/importOpenAPI.js +6 -1
- package/lib/init/constants.js +1 -1
- package/lib/init/index.js +15 -6
- package/lib/init/merge.js +16 -0
- package/lib/init/projectReader.js +19 -4
- package/lib/init/registries/mta.js +2 -2
- package/lib/init/template/ams/index.js +1 -1
- package/lib/init/template/app-frontend/files/app-package.json.hbs +1 -7
- package/lib/init/template/app-frontend/files/ui5.yaml.hbs +20 -1
- package/lib/init/template/app-frontend/index.js +0 -4
- package/lib/init/template/application-logging/index.js +9 -14
- package/lib/init/template/approuter/files/mta.yaml.hbs +0 -2
- package/lib/init/template/approuter/index.js +6 -7
- package/lib/init/template/cloud-logging/index.js +2 -3
- package/lib/init/template/containerize/files/containerize.yaml.hbs +17 -2
- package/lib/init/template/containerize/index.js +0 -4
- package/lib/init/template/data/as-json.js +18 -20
- package/lib/init/template/dynatrace/index.js +0 -2
- package/lib/init/template/github-actions/files/workflows/cf.yaml.hbs +16 -1
- package/lib/init/template/github-actions/files/workflows/test.yaml.hbs +20 -0
- package/lib/init/template/github-actions/index.js +5 -8
- package/lib/init/template/hana/files/db/package.json +2 -2
- package/lib/init/template/hana/files/mta.yaml.hbs +0 -4
- package/lib/init/template/hana/index.js +3 -5
- package/lib/init/template/helm/index.js +2 -7
- package/lib/init/template/helm-unified-runtime/index.js +0 -4
- package/lib/init/template/html5-repo/files/app-package.json.hbs +1 -7
- package/lib/init/template/html5-repo/files/ui5.yaml.hbs +20 -1
- package/lib/init/template/html5-repo/index.js +6 -12
- package/lib/init/template/ias/files/values.yaml.hbs +6 -6
- package/lib/init/template/ias/index.js +12 -20
- package/lib/init/template/kyma/index.js +14 -1
- package/lib/init/template/malware-scanner/files/mta.yaml.hbs +3 -1
- package/lib/init/template/malware-scanner/files/values.yaml +3 -1
- package/lib/init/template/multitenancy/files/mta.yaml.hbs +1 -3
- package/lib/init/template/multitenancy/files/values.yaml.hbs +8 -0
- package/lib/init/template/multitenancy/index.js +8 -3
- package/lib/init/template/nodejs/files/package.json.hbs +1 -1
- package/lib/init/template/pipeline/files/app-package.json.hbs +1 -7
- package/lib/init/template/pipeline/files/ui5.yaml.hbs +20 -1
- package/lib/init/template/pipeline/index.js +1 -2
- package/lib/init/template/portal/files/mta.yaml.hbs +5 -3
- package/lib/init/template/portal/index.js +3 -6
- package/lib/init/template/sample/files/_i18n/i18n_de.properties +12 -0
- package/lib/init/template/sample/files/_i18n/i18n_en.properties +21 -0
- package/lib/init/template/sample/files/_i18n/i18n_fr.properties +20 -0
- package/lib/init/template/sample/files/_i18n/messages_de.properties +34 -0
- package/lib/init/template/sample/files/_i18n/messages_en.properties +34 -0
- package/lib/init/template/sample/files/_i18n/messages_fr.properties +34 -0
- package/lib/init/template/sample/files/app/_i18n/i18n_de.properties +0 -26
- package/lib/init/template/sample/files/app/_i18n/i18n_en.properties +8 -0
- package/lib/init/template/sample/files/app/admin-authors/fiori-service.cds +52 -0
- package/lib/init/template/sample/files/app/admin-authors/webapp/Component.js.hbs +3 -0
- package/lib/init/template/sample/files/app/admin-authors/webapp/i18n/i18n.properties +11 -0
- package/lib/init/template/sample/files/app/admin-authors/webapp/manifest.json +130 -0
- package/lib/init/template/sample/files/app/admin-books/fiori-service.cds +81 -88
- package/lib/init/template/sample/files/app/admin-books/webapp/Component.js.hbs +3 -0
- package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n.properties +10 -2
- package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +24 -48
- package/lib/init/template/sample/files/app/appconfig/fioriSandboxConfig.json +54 -3
- package/lib/init/template/sample/files/app/browse/fiori-service.cds +30 -30
- package/lib/init/template/sample/files/app/browse/webapp/Component.js.hbs +3 -0
- package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n.properties +10 -3
- package/lib/init/template/sample/files/app/browse/webapp/manifest.json +18 -23
- package/lib/init/template/sample/files/app/common.cds +126 -158
- package/lib/init/template/sample/files/app/fiori-apps.html +30 -0
- package/lib/init/template/sample/files/app/genres/fiori-service.cds +33 -0
- package/lib/init/template/sample/files/app/genres/tree-view.cds +42 -0
- package/lib/init/template/sample/files/app/genres/value-help.cds +6 -0
- package/lib/init/template/sample/files/app/genres/webapp/Component.js.hbs +3 -0
- package/lib/init/template/sample/files/app/genres/webapp/i18n/i18n.properties +4 -0
- package/lib/init/template/sample/files/app/genres/webapp/i18n/i18n_de.properties +2 -0
- package/lib/init/template/sample/files/app/genres/webapp/manifest.json +126 -0
- package/lib/init/template/sample/files/app/services.cds +6 -2
- package/lib/init/template/sample/files/db/currencies.cds +13 -0
- package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books.csv +5 -5
- package/lib/init/template/sample/files/db/data/{sap.capire.bookshop-Books_texts.csv → sap.capire.bookshop-Books.texts.csv} +4 -4
- package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Genres.csv +42 -15
- package/lib/init/template/sample/files/db/data/sap.common-Currencies.csv +12 -0
- package/lib/init/template/sample/files/db/data/sap.common-Currencies.texts.csv +15 -0
- package/lib/init/template/sample/files/db/hana/index.cds +10 -0
- package/lib/init/template/sample/files/db/schema.cds +35 -22
- package/lib/init/template/sample/files/db/sqlite/index.cds +10 -0
- package/lib/init/template/sample/files/package.json.hbs +14 -1
- package/lib/init/template/sample/files/srv/access-control.cds +3 -0
- package/lib/init/template/sample/files/srv/admin-service.cds +3 -2
- package/lib/init/template/sample/files/srv/cat-service.cds +7 -11
- package/lib/init/template/sample/index.js +26 -17
- package/lib/init/template/telemetry/index.js +1 -3
- package/lib/init/template/typescript/files/package.json +1 -1
- package/lib/init/template/workzone-standard/files/mta.yaml.hbs +0 -5
- package/lib/init/template/workzone-standard/index.js +0 -1
- package/lib/init/template/xsuaa/files/mta.yaml.hbs +4 -0
- package/lib/init/template/xsuaa/index.js +3 -5
- package/lib/lint/Linter.js +10 -4
- package/lib/lint/eslintHelp.json +1 -1
- package/lib/mtx/tenant_action.js +12 -4
- package/lib/util/checksum.js +32 -0
- package/lib/util/question.js +60 -7
- package/npm-shrinkwrap.json +59 -35
- package/package.json +2 -2
- package/lib/init/template/app-frontend/files/ui5-deploy.yaml.hbs +0 -25
- package/lib/init/template/github-actions/files/cf-setup/action.yaml +0 -53
- package/lib/init/template/html5-repo/files/ui5-deploy.yaml.hbs +0 -25
- package/lib/init/template/pipeline/files/ui5-deploy.yaml.hbs +0 -25
- package/lib/init/template/sample/files/app/_i18n/i18n.properties +0 -29
- package/lib/init/template/sample/files/app/admin-books/webapp/Component.js +0 -8
- package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_de.properties +0 -3
- package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_en.properties +0 -3
- package/lib/init/template/sample/files/app/browse/webapp/Component.js +0 -7
- package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_de.properties +0 -3
- package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_en.properties +0 -4
- package/lib/init/template/sample/files/app/index.html +0 -32
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/cds-dk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@sap/cds-dk",
|
|
9
|
-
"version": "9.
|
|
9
|
+
"version": "9.5.0",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@cap-js/asyncapi": "^1.0.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@sap/hdi-deploy": "^5",
|
|
17
17
|
"axios": "^1",
|
|
18
18
|
"express": "^4.17.3",
|
|
19
|
-
"hdb": "^0",
|
|
19
|
+
"hdb": "^2.0.0",
|
|
20
20
|
"livereload-js": "^4.0.1",
|
|
21
21
|
"mustache": "^4.0.1",
|
|
22
22
|
"node-watch": ">=0.7",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"node_modules/@cap-js/db-service": {
|
|
45
|
-
"version": "2.
|
|
46
|
-
"integrity": "sha512-
|
|
45
|
+
"version": "2.7.0",
|
|
46
|
+
"integrity": "sha512-g6LDETBPWr8LYs3emrpEA4+FdVCkGgFmKHaeMPVBFXgFTUv14uYnarqWuFubBTrp5JF6S3wgljMJujld5+DL8A==",
|
|
47
47
|
"devOptional": true,
|
|
48
48
|
"license": "Apache-2.0",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"generic-pool": "^3.9.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@sap/cds": ">=9"
|
|
53
|
+
"@sap/cds": ">=9.4.5"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"node_modules/@cap-js/openapi": {
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"node_modules/@cap-js/sqlite": {
|
|
68
|
-
"version": "2.0
|
|
69
|
-
"integrity": "sha512-
|
|
68
|
+
"version": "2.1.0",
|
|
69
|
+
"integrity": "sha512-5jz7GlsrYCd5VlFEzImz5SCBkNa6Ps1wB9+1MceGlMrQLt0lDxiK1NqA+pIrcMeGWkQIcbNLteuP26ZQkGRidw==",
|
|
70
70
|
"license": "Apache-2.0",
|
|
71
71
|
"optional": true,
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@cap-js/db-service": "^2.
|
|
73
|
+
"@cap-js/db-service": "^2.7.0",
|
|
74
74
|
"better-sqlite3": "^12.0.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"node_modules/@eslint/js": {
|
|
81
|
-
"version": "9.
|
|
82
|
-
"integrity": "sha512-
|
|
81
|
+
"version": "9.39.1",
|
|
82
|
+
"integrity": "sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==",
|
|
83
83
|
"license": "MIT",
|
|
84
84
|
"peer": true,
|
|
85
85
|
"engines": {
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"node_modules/@sap/cds": {
|
|
93
|
-
"version": "9.
|
|
94
|
-
"integrity": "sha512-
|
|
93
|
+
"version": "9.5.1",
|
|
94
|
+
"integrity": "sha512-rMvDSRytjqYQolB0pg8tiBlpS9kKGcleRhpZmBGUmSncbbwnotKYTKoDyMCWkflS8P9/Jq9YfY1qhK+fduHCVA==",
|
|
95
95
|
"license": "SEE LICENSE IN LICENSE",
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@sap/cds-compiler": "^6.3",
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"node_modules/@sap/cds-compiler": {
|
|
123
|
-
"version": "6.
|
|
124
|
-
"integrity": "sha512-
|
|
123
|
+
"version": "6.5.0",
|
|
124
|
+
"integrity": "sha512-shm2jUI7uSrDfz3aMD9JHTByypv4+jvlDBXcqPak/kX9OxIBsnpskln1MDFZ094IAWae9fJemu5jgfbIP06lVg==",
|
|
125
125
|
"license": "SEE LICENSE IN LICENSE",
|
|
126
126
|
"bin": {
|
|
127
127
|
"cdsc": "bin/cdsc.js",
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
"node_modules/@sap/cds-mtxs": {
|
|
145
|
-
"version": "3.
|
|
146
|
-
"integrity": "sha512-
|
|
145
|
+
"version": "3.5.0",
|
|
146
|
+
"integrity": "sha512-bcStMhOvn7pbseJvzjNtOagw7lmAdyPKpKr17pDuSjy5bQkTPCTdSu61ZfJI464ljWY6pBmyYcdVf15X0Jmqqg==",
|
|
147
147
|
"license": "SEE LICENSE IN LICENSE",
|
|
148
148
|
"dependencies": {
|
|
149
149
|
"@sap/hdi-deploy": "^5"
|
|
@@ -261,8 +261,8 @@
|
|
|
261
261
|
"license": "MIT"
|
|
262
262
|
},
|
|
263
263
|
"node_modules/axios": {
|
|
264
|
-
"version": "1.13.
|
|
265
|
-
"integrity": "sha512-
|
|
264
|
+
"version": "1.13.2",
|
|
265
|
+
"integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==",
|
|
266
266
|
"license": "MIT",
|
|
267
267
|
"dependencies": {
|
|
268
268
|
"follow-redirects": "^1.15.6",
|
|
@@ -291,8 +291,8 @@
|
|
|
291
291
|
"optional": true
|
|
292
292
|
},
|
|
293
293
|
"node_modules/better-sqlite3": {
|
|
294
|
-
"version": "12.4.
|
|
295
|
-
"integrity": "sha512-
|
|
294
|
+
"version": "12.4.6",
|
|
295
|
+
"integrity": "sha512-gaYt9yqTbQ1iOxLpJA8FPR5PiaHP+jlg8I5EX0Rs2KFwNzhBsF40KzMZS5FwelY7RG0wzaucWdqSAJM3uNCPCg==",
|
|
296
296
|
"hasInstallScript": true,
|
|
297
297
|
"license": "MIT",
|
|
298
298
|
"optional": true,
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"prebuild-install": "^7.1.1"
|
|
302
302
|
},
|
|
303
303
|
"engines": {
|
|
304
|
-
"node": "20.x || 22.x || 23.x || 24.x"
|
|
304
|
+
"node": "20.x || 22.x || 23.x || 24.x || 25.x"
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
307
|
"node_modules/bindings": {
|
|
@@ -808,8 +808,8 @@
|
|
|
808
808
|
}
|
|
809
809
|
},
|
|
810
810
|
"node_modules/form-data": {
|
|
811
|
-
"version": "4.0.
|
|
812
|
-
"integrity": "sha512-
|
|
811
|
+
"version": "4.0.5",
|
|
812
|
+
"integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
|
|
813
813
|
"license": "MIT",
|
|
814
814
|
"dependencies": {
|
|
815
815
|
"asynckit": "^0.4.0",
|
|
@@ -970,14 +970,32 @@
|
|
|
970
970
|
}
|
|
971
971
|
},
|
|
972
972
|
"node_modules/hdb": {
|
|
973
|
-
"version": "
|
|
974
|
-
"integrity": "sha512-
|
|
973
|
+
"version": "2.26.2",
|
|
974
|
+
"integrity": "sha512-XMUhfpsH99+I0WXRDnpNUYQx00ZiSceCusCF9Eo9+zgnOIdWYl5NP54hebYobe5CDEzQtSQXpud7+KoX3qTzMQ==",
|
|
975
975
|
"license": "Apache-2.0",
|
|
976
976
|
"dependencies": {
|
|
977
|
-
"iconv-lite": "
|
|
977
|
+
"iconv-lite": "0.7.0"
|
|
978
|
+
},
|
|
979
|
+
"engines": {
|
|
980
|
+
"node": ">= 18"
|
|
981
|
+
},
|
|
982
|
+
"optionalDependencies": {
|
|
983
|
+
"lz4-wasm-nodejs": "0.9.2"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"node_modules/hdb/node_modules/iconv-lite": {
|
|
987
|
+
"version": "0.7.0",
|
|
988
|
+
"integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
|
|
989
|
+
"license": "MIT",
|
|
990
|
+
"dependencies": {
|
|
991
|
+
"safer-buffer": ">= 2.1.2 < 3.0.0"
|
|
978
992
|
},
|
|
979
993
|
"engines": {
|
|
980
|
-
"node": ">=
|
|
994
|
+
"node": ">=0.10.0"
|
|
995
|
+
},
|
|
996
|
+
"funding": {
|
|
997
|
+
"type": "opencollective",
|
|
998
|
+
"url": "https://opencollective.com/express"
|
|
981
999
|
}
|
|
982
1000
|
},
|
|
983
1001
|
"node_modules/http-errors": {
|
|
@@ -1054,8 +1072,8 @@
|
|
|
1054
1072
|
}
|
|
1055
1073
|
},
|
|
1056
1074
|
"node_modules/js-yaml": {
|
|
1057
|
-
"version": "4.1.
|
|
1058
|
-
"integrity": "sha512-
|
|
1075
|
+
"version": "4.1.1",
|
|
1076
|
+
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
|
1059
1077
|
"license": "MIT",
|
|
1060
1078
|
"dependencies": {
|
|
1061
1079
|
"argparse": "^2.0.1"
|
|
@@ -1069,6 +1087,12 @@
|
|
|
1069
1087
|
"integrity": "sha512-Fy7VwgQNiOkynYyNBTo3v9hQUhcW5pFAheJN148+DTgpShjsy/22pLHKKwDK5v0kOsZsJBK+6q1PMgLvRmrwFQ==",
|
|
1070
1088
|
"license": "MIT"
|
|
1071
1089
|
},
|
|
1090
|
+
"node_modules/lz4-wasm-nodejs": {
|
|
1091
|
+
"version": "0.9.2",
|
|
1092
|
+
"integrity": "sha512-hSwgJPS98q/Oe/89Y1OxzeA/UdnASG8GvldRyKa7aZyoAFCC8VPRtViBSava7wWC66WocjUwBpWau2rEmyFPsw==",
|
|
1093
|
+
"license": "MIT",
|
|
1094
|
+
"optional": true
|
|
1095
|
+
},
|
|
1072
1096
|
"node_modules/math-intrinsics": {
|
|
1073
1097
|
"version": "1.1.0",
|
|
1074
1098
|
"integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
|
|
@@ -1213,8 +1237,8 @@
|
|
|
1213
1237
|
"license": "MIT"
|
|
1214
1238
|
},
|
|
1215
1239
|
"node_modules/node-abi": {
|
|
1216
|
-
"version": "3.
|
|
1217
|
-
"integrity": "sha512-
|
|
1240
|
+
"version": "3.85.0",
|
|
1241
|
+
"integrity": "sha512-zsFhmbkAzwhTft6nd3VxcG0cvJsT70rL+BIGHWVq5fi6MwGrHwzqKaxXE+Hl2GmnGItnDKPPkO5/LQqjVkIdFg==",
|
|
1218
1242
|
"license": "MIT",
|
|
1219
1243
|
"optional": true,
|
|
1220
1244
|
"dependencies": {
|
|
@@ -1438,9 +1462,9 @@
|
|
|
1438
1462
|
"license": "MIT"
|
|
1439
1463
|
},
|
|
1440
1464
|
"node_modules/sax": {
|
|
1441
|
-
"version": "1.4.
|
|
1442
|
-
"integrity": "sha512
|
|
1443
|
-
"license": "
|
|
1465
|
+
"version": "1.4.3",
|
|
1466
|
+
"integrity": "sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==",
|
|
1467
|
+
"license": "BlueOak-1.0.0"
|
|
1444
1468
|
},
|
|
1445
1469
|
"node_modules/semver": {
|
|
1446
1470
|
"version": "7.7.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/cds-dk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"description": "Command line client and development toolkit for the SAP Cloud Application Programming Model",
|
|
5
5
|
"homepage": "https://cap.cloud.sap/",
|
|
6
6
|
"keywords": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@sap/hdi-deploy": "^5",
|
|
25
25
|
"axios": "^1",
|
|
26
26
|
"express": "^4.17.3",
|
|
27
|
-
"hdb": "^0",
|
|
27
|
+
"hdb": "^2.0.0",
|
|
28
28
|
"livereload-js": "^4.0.1",
|
|
29
29
|
"mustache": "^4.0.1",
|
|
30
30
|
"node-watch": ">=0.7",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
# yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
|
|
3
|
-
specVersion: '3.1'
|
|
4
|
-
metadata:
|
|
5
|
-
name: {{app}}
|
|
6
|
-
type: application
|
|
7
|
-
resources:
|
|
8
|
-
configuration:
|
|
9
|
-
propertiesFileSourceEncoding: UTF-8
|
|
10
|
-
builder:
|
|
11
|
-
resources:
|
|
12
|
-
excludes:
|
|
13
|
-
- "/test/**"
|
|
14
|
-
- "/localService/**"
|
|
15
|
-
customTasks:
|
|
16
|
-
- name: ui5-task-zipper
|
|
17
|
-
afterTask: generateVersionInfo
|
|
18
|
-
configuration:
|
|
19
|
-
archiveName: {{app}}
|
|
20
|
-
additionalFiles:
|
|
21
|
-
- xs-app.json
|
|
22
|
-
{{#isTypescript}}
|
|
23
|
-
- name: ui5-tooling-transpile-task
|
|
24
|
-
afterTask: replaceVersion
|
|
25
|
-
{{/isTypescript}}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
name: Cloud Foundry Setup
|
|
2
|
-
description: "Installs dependencies for Cloud Foundry deployment"
|
|
3
|
-
|
|
4
|
-
inputs:
|
|
5
|
-
cf-version:
|
|
6
|
-
description: "The version of the Cloud Foundry CLI to install"
|
|
7
|
-
required: false
|
|
8
|
-
default: "8.8.3"
|
|
9
|
-
cf-api:
|
|
10
|
-
description: "The Cloud Foundry API endpoint to connect to"
|
|
11
|
-
required: true
|
|
12
|
-
cf-org:
|
|
13
|
-
description: "The Cloud Foundry organization to target"
|
|
14
|
-
required: true
|
|
15
|
-
cf-space:
|
|
16
|
-
description: "The Cloud Foundry space to target"
|
|
17
|
-
required: true
|
|
18
|
-
cf-username:
|
|
19
|
-
description: "The Cloud Foundry username to authenticate with"
|
|
20
|
-
required: true
|
|
21
|
-
cf-password:
|
|
22
|
-
description: "The Cloud Foundry password to authenticate with"
|
|
23
|
-
required: true
|
|
24
|
-
|
|
25
|
-
runs:
|
|
26
|
-
using: composite
|
|
27
|
-
steps:
|
|
28
|
-
- shell: bash
|
|
29
|
-
run: |
|
|
30
|
-
set -e
|
|
31
|
-
echo "Using CF_VERSION=${{ inputs.cf-version }}"
|
|
32
|
-
echo "Using CF_API=${{ inputs.cf-api }}"
|
|
33
|
-
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=${{ inputs.cf-version }}&source=github" -o cf-cli.tgz
|
|
34
|
-
mkdir cf-cli && tar -xzf cf-cli.tgz -C cf-cli
|
|
35
|
-
chmod +x cf-cli/cf
|
|
36
|
-
echo "${PWD}/cf-cli" >> $GITHUB_PATH
|
|
37
|
-
|
|
38
|
-
- shell: bash
|
|
39
|
-
run: |
|
|
40
|
-
echo "Installing MBT..."
|
|
41
|
-
npm install -g mbt
|
|
42
|
-
|
|
43
|
-
- shell: bash
|
|
44
|
-
run: |
|
|
45
|
-
echo "Installing CF CLI multiapps plugin..."
|
|
46
|
-
cf install-plugin multiapps -f
|
|
47
|
-
|
|
48
|
-
- shell: bash
|
|
49
|
-
run: |
|
|
50
|
-
echo "Authenticating to Cloud Foundry..."
|
|
51
|
-
cf api "${{ inputs.cf-api }}"
|
|
52
|
-
cf auth "${{ inputs.cf-username }}" "${{ inputs.cf-password }}"
|
|
53
|
-
cf target -o "${{ inputs.cf-org }}" -s "${{ inputs.cf-space }}"
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
# yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
|
|
3
|
-
specVersion: '3.1'
|
|
4
|
-
metadata:
|
|
5
|
-
name: {{app}}
|
|
6
|
-
type: application
|
|
7
|
-
resources:
|
|
8
|
-
configuration:
|
|
9
|
-
propertiesFileSourceEncoding: UTF-8
|
|
10
|
-
builder:
|
|
11
|
-
resources:
|
|
12
|
-
excludes:
|
|
13
|
-
- "/test/**"
|
|
14
|
-
- "/localService/**"
|
|
15
|
-
customTasks:
|
|
16
|
-
- name: ui5-task-zipper
|
|
17
|
-
afterTask: generateVersionInfo
|
|
18
|
-
configuration:
|
|
19
|
-
archiveName: {{app}}
|
|
20
|
-
additionalFiles:
|
|
21
|
-
- xs-app.json
|
|
22
|
-
{{#isTypescript}}
|
|
23
|
-
- name: ui5-tooling-transpile-task
|
|
24
|
-
afterTask: replaceVersion
|
|
25
|
-
{{/isTypescript}}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
# yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
|
|
3
|
-
specVersion: '3.1'
|
|
4
|
-
metadata:
|
|
5
|
-
name: {{app}}
|
|
6
|
-
type: application
|
|
7
|
-
resources:
|
|
8
|
-
configuration:
|
|
9
|
-
propertiesFileSourceEncoding: UTF-8
|
|
10
|
-
builder:
|
|
11
|
-
resources:
|
|
12
|
-
excludes:
|
|
13
|
-
- "/test/**"
|
|
14
|
-
- "/localService/**"
|
|
15
|
-
customTasks:
|
|
16
|
-
- name: ui5-task-zipper
|
|
17
|
-
afterTask: generateVersionInfo
|
|
18
|
-
configuration:
|
|
19
|
-
archiveName: {{app}}
|
|
20
|
-
additionalFiles:
|
|
21
|
-
- xs-app.json
|
|
22
|
-
{{#isTypescript}}
|
|
23
|
-
- name: ui5-tooling-transpile-task
|
|
24
|
-
afterTask: replaceVersion
|
|
25
|
-
{{/isTypescript}}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Books = Books
|
|
2
|
-
Book = Book
|
|
3
|
-
ID = ID
|
|
4
|
-
Title = Title
|
|
5
|
-
Author = Author
|
|
6
|
-
Authors = Authors
|
|
7
|
-
AuthorID = Author ID
|
|
8
|
-
AuthorName = Author Name
|
|
9
|
-
Name = Name
|
|
10
|
-
Age = Age
|
|
11
|
-
Stock = Stock
|
|
12
|
-
Order = Order
|
|
13
|
-
Orders = Orders
|
|
14
|
-
Price = Price
|
|
15
|
-
Genre = Genre
|
|
16
|
-
Genres = Genres
|
|
17
|
-
DateOfBirth = Date of Birth
|
|
18
|
-
DateOfDeath = Date of Death
|
|
19
|
-
PlaceOfBirth = Place of Birth
|
|
20
|
-
PlaceOfDeath = Place of Death
|
|
21
|
-
Details = Details
|
|
22
|
-
Languages = Languages
|
|
23
|
-
Currencies = Currencies
|
|
24
|
-
MainGenre = Main Genre
|
|
25
|
-
SubGenres = Subgenres
|
|
26
|
-
Admin = Admin
|
|
27
|
-
Translations = Translations
|
|
28
|
-
General = General
|
|
29
|
-
Locale = Locale
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
-
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
-
<title>Bookshop</title>
|
|
9
|
-
|
|
10
|
-
<script>
|
|
11
|
-
window["sap-ushell-config"] = {
|
|
12
|
-
defaultRenderer: "fiori2",
|
|
13
|
-
applications: {}
|
|
14
|
-
};
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<script id="sap-ushell-bootstrap" src="https://sapui5.hana.ondemand.com/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
|
|
18
|
-
<script id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
|
|
19
|
-
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout"
|
|
20
|
-
data-sap-ui-compatVersion="edge"
|
|
21
|
-
data-sap-ui-async="true"
|
|
22
|
-
data-sap-ui-preload="async"
|
|
23
|
-
data-sap-ui-theme="sap_horizon"
|
|
24
|
-
data-sap-ui-frameOptions="allow"
|
|
25
|
-
></script>
|
|
26
|
-
<script>
|
|
27
|
-
sap.ui.getCore().attachInit(() => sap.ushell.Container.createRenderer().placeAt("content"))
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
</head>
|
|
31
|
-
<body class="sapUiBody" id="content"></body>
|
|
32
|
-
</html>
|