@sap-ux/project-access 1.5.1 → 1.6.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/dist/project/search.js
CHANGED
|
@@ -272,7 +272,7 @@ function filterAdaptations(pathMap) {
|
|
|
272
272
|
for (const manifestAppDescrVar of manifestAppDescrVars) {
|
|
273
273
|
const adpPath = yield (0, file_1.findFileUp)('.adp', (0, path_1.dirname)(manifestAppDescrVar));
|
|
274
274
|
if (adpPath && (yield (0, file_1.fileExists)((0, path_1.join)(adpPath, constants_1.FileName.AdaptationConfig)))) {
|
|
275
|
-
results.push({ appRoot: (0, path_1.dirname)(adpPath) });
|
|
275
|
+
results.push({ appRoot: (0, path_1.dirname)(adpPath), manifestAppdescrVariantPath: manifestAppDescrVar });
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
return results;
|
|
@@ -35,6 +35,10 @@ export interface AdaptationResults {
|
|
|
35
35
|
* Root of the adapted application where package.json and ui5.yaml resides.
|
|
36
36
|
*/
|
|
37
37
|
appRoot: string;
|
|
38
|
+
/**
|
|
39
|
+
* Path to manifest.appdescr_variant
|
|
40
|
+
*/
|
|
41
|
+
manifestAppdescrVariantPath: string;
|
|
38
42
|
}
|
|
39
43
|
/**
|
|
40
44
|
* Search result when searching for extension projects.
|