@sap-ux/preview-middleware 0.17.20 → 0.17.22
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/dist/base/config.js +5 -0
- package/package.json +4 -4
package/dist/base/config.js
CHANGED
|
@@ -160,6 +160,11 @@ function getFlexSettings() {
|
|
|
160
160
|
*/
|
|
161
161
|
async function addApp(templateConfig, manifest, app, logger) {
|
|
162
162
|
const id = manifest['sap.app']?.id ?? '';
|
|
163
|
+
if (manifest['sap.app']?.type === 'component') {
|
|
164
|
+
logger.debug(`No application added for id '${id}' because its type is 'component'`);
|
|
165
|
+
templateConfig.apps = templateConfig.apps ?? {};
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
163
168
|
const appName = getAppName(manifest, app.intent);
|
|
164
169
|
templateConfig.ui5.resources[id] = app.target;
|
|
165
170
|
templateConfig.apps[appName] = {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.17.
|
|
12
|
+
"version": "0.17.22",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"@sap-ux/logger": "0.6.0",
|
|
29
29
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
30
30
|
"@sap-ux/btp-utils": "1.0.1",
|
|
31
|
-
"@sap-ux/adp-tooling": "0.12.
|
|
31
|
+
"@sap-ux/adp-tooling": "0.12.125",
|
|
32
32
|
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.5.35",
|
|
33
|
-
"@sap-ux/project-access": "1.29.
|
|
33
|
+
"@sap-ux/project-access": "1.29.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"connect": "^3.7.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@sap-ux/axios-extension": "1.18.5",
|
|
53
53
|
"@sap-ux/store": "1.0.0",
|
|
54
54
|
"@sap-ux/ui5-info": "0.8.3",
|
|
55
|
-
"@sap-ux/i18n": "0.2.
|
|
55
|
+
"@sap-ux/i18n": "0.2.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"express": "4"
|