@sap-ux/adp-tooling 0.18.126 → 0.18.128
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/cf/core/auth.js
CHANGED
|
@@ -26,8 +26,7 @@ async function isLoggedInCf(cfConfig, logger) {
|
|
|
26
26
|
return false;
|
|
27
27
|
}
|
|
28
28
|
try {
|
|
29
|
-
|
|
30
|
-
logger?.log(`Retrieved CF auth token: ${token}`);
|
|
29
|
+
await (0, cf_tools_1.cfGetAuthToken)();
|
|
31
30
|
return true;
|
|
32
31
|
}
|
|
33
32
|
catch (e) {
|
package/dist/cf/services/api.js
CHANGED
|
@@ -164,7 +164,7 @@ async function getCfUi5AppInfo(appId, appHostIds, cfConfig, logger) {
|
|
|
164
164
|
const requestArguments = getFDCRequestArguments(cfConfig);
|
|
165
165
|
const appHostIdParams = appHostIds.map((id) => `appHostId=${encodeURIComponent(id)}`).join('&');
|
|
166
166
|
const url = `${requestArguments.url}/api/business-service/ui5appinfo?appId=${encodeURIComponent(appId)}&${appHostIdParams}`;
|
|
167
|
-
logger?.log(`Fetching ui5AppInfo.json
|
|
167
|
+
logger?.log(`Fetching ui5AppInfo.json`);
|
|
168
168
|
try {
|
|
169
169
|
const response = await axios_1.default.get(url, requestArguments.options);
|
|
170
170
|
if (response.status === 200) {
|
package/dist/writer/cf.js
CHANGED
|
@@ -125,6 +125,8 @@ async function setupCfPreview(basePath, yamlPath, cfConfig, logger) {
|
|
|
125
125
|
throw new Error('No app host IDs found in service keys.');
|
|
126
126
|
}
|
|
127
127
|
await writeUi5AppInfo(basePath, ui5AppInfo, logger);
|
|
128
|
+
logger?.log('Starting build');
|
|
128
129
|
await (0, project_builder_1.runBuild)(basePath, { ADP_BUILDER_MODE: 'preview' });
|
|
130
|
+
logger?.log('Build completed');
|
|
129
131
|
}
|
|
130
132
|
//# sourceMappingURL=cf.js.map
|
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%3Aadp-tooling"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.18.
|
|
12
|
+
"version": "0.18.128",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|