@sap/ux-ui5-tooling 1.9.3 → 1.9.4
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/cli/index.js +29 -48
- package/dist/middlewares/fiori-tools-preview.js +30 -49
- package/dist/middlewares/fiori-tools-proxy.js +31 -50
- package/dist/tasks/cf-deploy/index.js +29 -48
- package/dist/tasks/deploy/index.js +29 -48
- package/dist/templates/control-property-editor/app.css +1 -1
- package/dist/templates/control-property-editor/app.js +35 -35
- package/dist/templates/variants-management/preview.html +1 -1
- package/package.json +9 -9
|
@@ -11953,7 +11953,7 @@ var require_package4 = __commonJS({
|
|
|
11953
11953
|
"../lib/telemetry/dist/package.json"(exports2, module2) {
|
|
11954
11954
|
module2.exports = {
|
|
11955
11955
|
name: "@sap/ux-telemetry",
|
|
11956
|
-
version: "1.9.
|
|
11956
|
+
version: "1.9.4",
|
|
11957
11957
|
description: "SAP Fiori tools telemetry library",
|
|
11958
11958
|
main: "dist/src/index.js",
|
|
11959
11959
|
author: "SAP SE",
|
|
@@ -11978,10 +11978,10 @@ var require_package4 = __commonJS({
|
|
|
11978
11978
|
},
|
|
11979
11979
|
dependencies: {
|
|
11980
11980
|
"@sap-ux/store": "0.3.8",
|
|
11981
|
-
"@sap/ux-cds": "1.9.
|
|
11982
|
-
"@sap/ux-common-utils": "1.9.
|
|
11983
|
-
"@sap/ux-feature-toggle": "1.9.
|
|
11984
|
-
"@sap/ux-project-access": "1.9.
|
|
11981
|
+
"@sap/ux-cds": "1.9.4",
|
|
11982
|
+
"@sap/ux-common-utils": "1.9.4",
|
|
11983
|
+
"@sap/ux-feature-toggle": "1.9.4",
|
|
11984
|
+
"@sap/ux-project-access": "1.9.4",
|
|
11985
11985
|
applicationinsights: "1.4.1",
|
|
11986
11986
|
axios: "0.26.0",
|
|
11987
11987
|
"performance-now": "2.1.0",
|
|
@@ -26866,11 +26866,12 @@ var require_file2 = __commonJS({
|
|
|
26866
26866
|
}
|
|
26867
26867
|
exports2.createDirectory = createDirectory;
|
|
26868
26868
|
async function fileExists(path) {
|
|
26869
|
-
|
|
26870
|
-
fs2.
|
|
26871
|
-
|
|
26872
|
-
|
|
26873
|
-
|
|
26869
|
+
try {
|
|
26870
|
+
await fs2.promises.access(path);
|
|
26871
|
+
return true;
|
|
26872
|
+
} catch {
|
|
26873
|
+
return false;
|
|
26874
|
+
}
|
|
26874
26875
|
}
|
|
26875
26876
|
exports2.fileExists = fileExists;
|
|
26876
26877
|
async function isDirectory(path) {
|
|
@@ -28916,8 +28917,8 @@ var require_webapp2 = __commonJS({
|
|
|
28916
28917
|
exports2.getUi5CustomWebappPath = void 0;
|
|
28917
28918
|
var file_1 = require_file2();
|
|
28918
28919
|
var path_1 = require("path");
|
|
28919
|
-
var project_spec_1 = require_dist4();
|
|
28920
28920
|
var yaml = __importStar(require_Yaml());
|
|
28921
|
+
var project_spec_1 = require_dist4();
|
|
28921
28922
|
async function getUi5CustomWebappPath(root) {
|
|
28922
28923
|
var _a2, _b, _c, _d, _e;
|
|
28923
28924
|
let webappPath = project_spec_1.DirName.Webapp;
|
|
@@ -61665,9 +61666,9 @@ var require_merge = __commonJS({
|
|
|
61665
61666
|
}
|
|
61666
61667
|
});
|
|
61667
61668
|
|
|
61668
|
-
// ../../node_modules/@sap-ux/
|
|
61669
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/yaml-error.js
|
|
61669
61670
|
var require_yaml_error = __commonJS({
|
|
61670
|
-
"../../node_modules/@sap-ux/
|
|
61671
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/yaml-error.js"(exports2) {
|
|
61671
61672
|
"use strict";
|
|
61672
61673
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61673
61674
|
exports2.YAMLError = void 0;
|
|
@@ -61682,9 +61683,9 @@ var require_yaml_error = __commonJS({
|
|
|
61682
61683
|
}
|
|
61683
61684
|
});
|
|
61684
61685
|
|
|
61685
|
-
// ../../node_modules/@sap-ux/
|
|
61686
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/index.js
|
|
61686
61687
|
var require_errors2 = __commonJS({
|
|
61687
|
-
"../../node_modules/@sap-ux/
|
|
61688
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/index.js"(exports2) {
|
|
61688
61689
|
"use strict";
|
|
61689
61690
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61690
61691
|
exports2.YAMLError = exports2.errorTemplate = exports2.errorCode = void 0;
|
|
@@ -61721,9 +61722,9 @@ var require_errors2 = __commonJS({
|
|
|
61721
61722
|
}
|
|
61722
61723
|
});
|
|
61723
61724
|
|
|
61724
|
-
// ../../node_modules/@sap-ux/
|
|
61725
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/texts/index.js
|
|
61725
61726
|
var require_texts = __commonJS({
|
|
61726
|
-
"../../node_modules/@sap-ux/
|
|
61727
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/texts/index.js"(exports2) {
|
|
61727
61728
|
"use strict";
|
|
61728
61729
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61729
61730
|
exports2.interpolate = void 0;
|
|
@@ -61742,9 +61743,9 @@ var require_texts = __commonJS({
|
|
|
61742
61743
|
}
|
|
61743
61744
|
});
|
|
61744
61745
|
|
|
61745
|
-
// ../../node_modules/@sap-ux/
|
|
61746
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/yaml-document.js
|
|
61746
61747
|
var require_yaml_document = __commonJS({
|
|
61747
|
-
"../../node_modules/@sap-ux/
|
|
61748
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/yaml-document.js"(exports2) {
|
|
61748
61749
|
"use strict";
|
|
61749
61750
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
61750
61751
|
if (k2 === void 0)
|
|
@@ -61978,9 +61979,9 @@ var require_yaml_document = __commonJS({
|
|
|
61978
61979
|
}
|
|
61979
61980
|
});
|
|
61980
61981
|
|
|
61981
|
-
// ../../node_modules/@sap-ux/
|
|
61982
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/index.js
|
|
61982
61983
|
var require_dist8 = __commonJS({
|
|
61983
|
-
"../../node_modules/@sap-ux/
|
|
61984
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/index.js"(exports2) {
|
|
61984
61985
|
"use strict";
|
|
61985
61986
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61986
61987
|
exports2.YAMLError = exports2.errorCode = exports2.YAMLMap = exports2.YAMLSeq = exports2.YamlDocument = void 0;
|
|
@@ -62005,9 +62006,9 @@ var require_dist8 = __commonJS({
|
|
|
62005
62006
|
}
|
|
62006
62007
|
});
|
|
62007
62008
|
|
|
62008
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/middlewares.js
|
|
62009
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js
|
|
62009
62010
|
var require_middlewares = __commonJS({
|
|
62010
|
-
"../../node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
|
|
62011
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
|
|
62011
62012
|
"use strict";
|
|
62012
62013
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
62013
62014
|
exports2.getMockServerMiddlewareConfig = exports2.getFioriToolsProxyMiddlewareConfig = exports2.getAppReloadMiddlewareConfig = void 0;
|
|
@@ -62081,9 +62082,9 @@ var require_middlewares = __commonJS({
|
|
|
62081
62082
|
}
|
|
62082
62083
|
});
|
|
62083
62084
|
|
|
62084
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/ui5config.js
|
|
62085
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js
|
|
62085
62086
|
var require_ui5config = __commonJS({
|
|
62086
|
-
"../../node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
|
|
62087
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
|
|
62087
62088
|
"use strict";
|
|
62088
62089
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
62089
62090
|
function adopt(value) {
|
|
@@ -62285,9 +62286,9 @@ var require_ui5config = __commonJS({
|
|
|
62285
62286
|
}
|
|
62286
62287
|
});
|
|
62287
62288
|
|
|
62288
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/index.js
|
|
62289
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js
|
|
62289
62290
|
var require_dist9 = __commonJS({
|
|
62290
|
-
"../../node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
62291
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
62291
62292
|
"use strict";
|
|
62292
62293
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
62293
62294
|
exports2.YAMLError = exports2.yamlErrorCode = exports2.UI5Config = void 0;
|
|
@@ -62848,7 +62849,7 @@ var require_utils9 = __commonJS({
|
|
|
62848
62849
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
62849
62850
|
};
|
|
62850
62851
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
62851
|
-
exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.
|
|
62852
|
+
exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.findRootsForPath = exports2.getDetailedProjectType = exports2.getAppType = exports2.findAllProjectRoots = exports2.findAllManifest = exports2.getAppProgrammingLanguage = exports2.hasDependency = exports2.findExtensionFiles = exports2.findAll = exports2.findCapProjects = exports2.findLibrary = exports2.findProjectRoot = exports2.scriptsRegEx = void 0;
|
|
62852
62853
|
var fs_1 = require("fs");
|
|
62853
62854
|
var findit2_1 = __importDefault(require_findit2());
|
|
62854
62855
|
var fast_xml_parser_1 = __importDefault(require_parser2());
|
|
@@ -63168,26 +63169,6 @@ var require_utils9 = __commonJS({
|
|
|
63168
63169
|
return null;
|
|
63169
63170
|
}
|
|
63170
63171
|
exports2.findRootsForPath = findRootsForPath;
|
|
63171
|
-
async function findAllApps(wsFolders) {
|
|
63172
|
-
const result2 = [];
|
|
63173
|
-
const manifestPaths = await findAllManifest(wsFolders);
|
|
63174
|
-
for (const manifestPath of manifestPaths) {
|
|
63175
|
-
try {
|
|
63176
|
-
const manifest = await (0, file_1.readJSON)((0, path_1.join)(manifestPath, project_spec_1.FileName.Manifest));
|
|
63177
|
-
if (!manifest["sap.app"] || !manifest["sap.app"].id || manifest["sap.app"].type !== "application") {
|
|
63178
|
-
continue;
|
|
63179
|
-
}
|
|
63180
|
-
const roots = await findRootsForPath(manifestPath);
|
|
63181
|
-
if (roots) {
|
|
63182
|
-
result2.push({ appRoot: roots.appRoot, projectRoot: roots.projectRoot, manifest, manifestPath });
|
|
63183
|
-
}
|
|
63184
|
-
} catch (error3) {
|
|
63185
|
-
console.info(`Couldn't check app with manifest.json located in '${manifestPath}' for valid SAP Fiori tools project. Error was: ${error3.message}`);
|
|
63186
|
-
}
|
|
63187
|
-
}
|
|
63188
|
-
return result2;
|
|
63189
|
-
}
|
|
63190
|
-
exports2.findAllApps = findAllApps;
|
|
63191
63172
|
var findRunnableProjects = async (workspaceRoots, logger) => {
|
|
63192
63173
|
const result2 = [];
|
|
63193
63174
|
const roots = await findAllProjectRoots(workspaceRoots, false);
|
|
@@ -63085,7 +63085,7 @@ var require_package5 = __commonJS({
|
|
|
63085
63085
|
"../lib/telemetry/dist/package.json"(exports2, module2) {
|
|
63086
63086
|
module2.exports = {
|
|
63087
63087
|
name: "@sap/ux-telemetry",
|
|
63088
|
-
version: "1.9.
|
|
63088
|
+
version: "1.9.4",
|
|
63089
63089
|
description: "SAP Fiori tools telemetry library",
|
|
63090
63090
|
main: "dist/src/index.js",
|
|
63091
63091
|
author: "SAP SE",
|
|
@@ -63110,10 +63110,10 @@ var require_package5 = __commonJS({
|
|
|
63110
63110
|
},
|
|
63111
63111
|
dependencies: {
|
|
63112
63112
|
"@sap-ux/store": "0.3.8",
|
|
63113
|
-
"@sap/ux-cds": "1.9.
|
|
63114
|
-
"@sap/ux-common-utils": "1.9.
|
|
63115
|
-
"@sap/ux-feature-toggle": "1.9.
|
|
63116
|
-
"@sap/ux-project-access": "1.9.
|
|
63113
|
+
"@sap/ux-cds": "1.9.4",
|
|
63114
|
+
"@sap/ux-common-utils": "1.9.4",
|
|
63115
|
+
"@sap/ux-feature-toggle": "1.9.4",
|
|
63116
|
+
"@sap/ux-project-access": "1.9.4",
|
|
63117
63117
|
applicationinsights: "1.4.1",
|
|
63118
63118
|
axios: "0.26.0",
|
|
63119
63119
|
"performance-now": "2.1.0",
|
|
@@ -64599,11 +64599,12 @@ var require_file2 = __commonJS({
|
|
|
64599
64599
|
}
|
|
64600
64600
|
exports2.createDirectory = createDirectory;
|
|
64601
64601
|
async function fileExists2(path3) {
|
|
64602
|
-
|
|
64603
|
-
fs3.
|
|
64604
|
-
|
|
64605
|
-
|
|
64606
|
-
|
|
64602
|
+
try {
|
|
64603
|
+
await fs3.promises.access(path3);
|
|
64604
|
+
return true;
|
|
64605
|
+
} catch {
|
|
64606
|
+
return false;
|
|
64607
|
+
}
|
|
64607
64608
|
}
|
|
64608
64609
|
exports2.fileExists = fileExists2;
|
|
64609
64610
|
async function isDirectory(path3) {
|
|
@@ -66649,8 +66650,8 @@ var require_webapp2 = __commonJS({
|
|
|
66649
66650
|
exports2.getUi5CustomWebappPath = void 0;
|
|
66650
66651
|
var file_1 = require_file2();
|
|
66651
66652
|
var path_1 = require("path");
|
|
66652
|
-
var project_spec_1 = require_dist7();
|
|
66653
66653
|
var yaml = __importStar(require_Yaml());
|
|
66654
|
+
var project_spec_1 = require_dist7();
|
|
66654
66655
|
async function getUi5CustomWebappPath(root) {
|
|
66655
66656
|
var _a2, _b, _c, _d, _e;
|
|
66656
66657
|
let webappPath = project_spec_1.DirName.Webapp;
|
|
@@ -72329,9 +72330,9 @@ var require_merge = __commonJS({
|
|
|
72329
72330
|
}
|
|
72330
72331
|
});
|
|
72331
72332
|
|
|
72332
|
-
// ../../node_modules/@sap-ux/
|
|
72333
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/yaml-error.js
|
|
72333
72334
|
var require_yaml_error = __commonJS({
|
|
72334
|
-
"../../node_modules/@sap-ux/
|
|
72335
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/yaml-error.js"(exports2) {
|
|
72335
72336
|
"use strict";
|
|
72336
72337
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72337
72338
|
exports2.YAMLError = void 0;
|
|
@@ -72346,9 +72347,9 @@ var require_yaml_error = __commonJS({
|
|
|
72346
72347
|
}
|
|
72347
72348
|
});
|
|
72348
72349
|
|
|
72349
|
-
// ../../node_modules/@sap-ux/
|
|
72350
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/index.js
|
|
72350
72351
|
var require_errors2 = __commonJS({
|
|
72351
|
-
"../../node_modules/@sap-ux/
|
|
72352
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/errors/index.js"(exports2) {
|
|
72352
72353
|
"use strict";
|
|
72353
72354
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72354
72355
|
exports2.YAMLError = exports2.errorTemplate = exports2.errorCode = void 0;
|
|
@@ -72385,9 +72386,9 @@ var require_errors2 = __commonJS({
|
|
|
72385
72386
|
}
|
|
72386
72387
|
});
|
|
72387
72388
|
|
|
72388
|
-
// ../../node_modules/@sap-ux/
|
|
72389
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/texts/index.js
|
|
72389
72390
|
var require_texts = __commonJS({
|
|
72390
|
-
"../../node_modules/@sap-ux/
|
|
72391
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/texts/index.js"(exports2) {
|
|
72391
72392
|
"use strict";
|
|
72392
72393
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72393
72394
|
exports2.interpolate = void 0;
|
|
@@ -72406,9 +72407,9 @@ var require_texts = __commonJS({
|
|
|
72406
72407
|
}
|
|
72407
72408
|
});
|
|
72408
72409
|
|
|
72409
|
-
// ../../node_modules/@sap-ux/
|
|
72410
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/yaml-document.js
|
|
72410
72411
|
var require_yaml_document = __commonJS({
|
|
72411
|
-
"../../node_modules/@sap-ux/
|
|
72412
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/yaml-document.js"(exports2) {
|
|
72412
72413
|
"use strict";
|
|
72413
72414
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
72414
72415
|
if (k2 === void 0)
|
|
@@ -72642,9 +72643,9 @@ var require_yaml_document = __commonJS({
|
|
|
72642
72643
|
}
|
|
72643
72644
|
});
|
|
72644
72645
|
|
|
72645
|
-
// ../../node_modules/@sap-ux/
|
|
72646
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/index.js
|
|
72646
72647
|
var require_dist9 = __commonJS({
|
|
72647
|
-
"../../node_modules/@sap-ux/
|
|
72648
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/yaml/dist/index.js"(exports2) {
|
|
72648
72649
|
"use strict";
|
|
72649
72650
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72650
72651
|
exports2.YAMLError = exports2.errorCode = exports2.YAMLMap = exports2.YAMLSeq = exports2.YamlDocument = void 0;
|
|
@@ -72669,9 +72670,9 @@ var require_dist9 = __commonJS({
|
|
|
72669
72670
|
}
|
|
72670
72671
|
});
|
|
72671
72672
|
|
|
72672
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/middlewares.js
|
|
72673
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js
|
|
72673
72674
|
var require_middlewares = __commonJS({
|
|
72674
|
-
"../../node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
|
|
72675
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
|
|
72675
72676
|
"use strict";
|
|
72676
72677
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72677
72678
|
exports2.getMockServerMiddlewareConfig = exports2.getFioriToolsProxyMiddlewareConfig = exports2.getAppReloadMiddlewareConfig = void 0;
|
|
@@ -72745,9 +72746,9 @@ var require_middlewares = __commonJS({
|
|
|
72745
72746
|
}
|
|
72746
72747
|
});
|
|
72747
72748
|
|
|
72748
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/ui5config.js
|
|
72749
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js
|
|
72749
72750
|
var require_ui5config = __commonJS({
|
|
72750
|
-
"../../node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
|
|
72751
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
|
|
72751
72752
|
"use strict";
|
|
72752
72753
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
72753
72754
|
function adopt(value) {
|
|
@@ -72949,9 +72950,9 @@ var require_ui5config = __commonJS({
|
|
|
72949
72950
|
}
|
|
72950
72951
|
});
|
|
72951
72952
|
|
|
72952
|
-
// ../../node_modules/@sap-ux/ui5-config/dist/index.js
|
|
72953
|
+
// ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js
|
|
72953
72954
|
var require_dist10 = __commonJS({
|
|
72954
|
-
"../../node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
72955
|
+
"../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
72955
72956
|
"use strict";
|
|
72956
72957
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72957
72958
|
exports2.YAMLError = exports2.yamlErrorCode = exports2.UI5Config = void 0;
|
|
@@ -73512,7 +73513,7 @@ var require_utils9 = __commonJS({
|
|
|
73512
73513
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
73513
73514
|
};
|
|
73514
73515
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
73515
|
-
exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.
|
|
73516
|
+
exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.findRootsForPath = exports2.getDetailedProjectType = exports2.getAppType = exports2.findAllProjectRoots = exports2.findAllManifest = exports2.getAppProgrammingLanguage = exports2.hasDependency = exports2.findExtensionFiles = exports2.findAll = exports2.findCapProjects = exports2.findLibrary = exports2.findProjectRoot = exports2.scriptsRegEx = void 0;
|
|
73516
73517
|
var fs_1 = require("fs");
|
|
73517
73518
|
var findit2_1 = __importDefault(require_findit2());
|
|
73518
73519
|
var fast_xml_parser_1 = __importDefault(require_parser2());
|
|
@@ -73832,26 +73833,6 @@ var require_utils9 = __commonJS({
|
|
|
73832
73833
|
return null;
|
|
73833
73834
|
}
|
|
73834
73835
|
exports2.findRootsForPath = findRootsForPath;
|
|
73835
|
-
async function findAllApps(wsFolders) {
|
|
73836
|
-
const result2 = [];
|
|
73837
|
-
const manifestPaths = await findAllManifest(wsFolders);
|
|
73838
|
-
for (const manifestPath of manifestPaths) {
|
|
73839
|
-
try {
|
|
73840
|
-
const manifest = await (0, file_1.readJSON)((0, path_1.join)(manifestPath, project_spec_1.FileName.Manifest));
|
|
73841
|
-
if (!manifest["sap.app"] || !manifest["sap.app"].id || manifest["sap.app"].type !== "application") {
|
|
73842
|
-
continue;
|
|
73843
|
-
}
|
|
73844
|
-
const roots = await findRootsForPath(manifestPath);
|
|
73845
|
-
if (roots) {
|
|
73846
|
-
result2.push({ appRoot: roots.appRoot, projectRoot: roots.projectRoot, manifest, manifestPath });
|
|
73847
|
-
}
|
|
73848
|
-
} catch (error3) {
|
|
73849
|
-
console.info(`Couldn't check app with manifest.json located in '${manifestPath}' for valid SAP Fiori tools project. Error was: ${error3.message}`);
|
|
73850
|
-
}
|
|
73851
|
-
}
|
|
73852
|
-
return result2;
|
|
73853
|
-
}
|
|
73854
|
-
exports2.findAllApps = findAllApps;
|
|
73855
73836
|
var findRunnableProjects = async (workspaceRoots, logger) => {
|
|
73856
73837
|
const result2 = [];
|
|
73857
73838
|
const roots = await findAllProjectRoots(workspaceRoots, false);
|