@sap-ux/adp-tooling 0.12.53 → 0.12.55
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/abap.js +2 -3
- package/dist/base/cf.js +1 -2
- package/dist/base/change-utils.js +8 -9
- package/dist/base/helper.js +2 -3
- package/dist/base/prompt.js +2 -3
- package/dist/i18n.js +2 -3
- package/dist/preview/adp-preview.d.ts +0 -1
- package/dist/preview/change-handler.js +4 -4
- package/dist/preview/routes-handler.d.ts +0 -1
- package/dist/prompts/add-annotations-to-odata/index.js +1 -2
- package/dist/prompts/add-component-usages/index.js +1 -2
- package/dist/prompts/add-new-model/index.js +1 -2
- package/dist/prompts/change-data-source/index.js +1 -2
- package/dist/prompts/change-inbound/index.js +1 -2
- package/dist/writer/editors.js +1 -2
- package/dist/writer/index.js +2 -3
- package/dist/writer/options.js +6 -7
- package/dist/writer/project-utils.js +4 -5
- package/package.json +7 -7
package/dist/base/abap.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getManifest = getManifest;
|
|
4
|
+
exports.getManifestDataSources = getManifestDataSources;
|
|
4
5
|
const system_access_1 = require("@sap-ux/system-access");
|
|
5
6
|
const axios_extension_1 = require("@sap-ux/axios-extension");
|
|
6
7
|
/**
|
|
@@ -35,7 +36,6 @@ async function getManifest(appId, adpConfig, logger) {
|
|
|
35
36
|
throw error;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
|
-
exports.getManifest = getManifest;
|
|
39
39
|
/**
|
|
40
40
|
* Returns the adaptation project configuration, throws an error if not found.
|
|
41
41
|
*
|
|
@@ -52,5 +52,4 @@ async function getManifestDataSources(reference, adpConfig, logger) {
|
|
|
52
52
|
}
|
|
53
53
|
return dataSources;
|
|
54
54
|
}
|
|
55
|
-
exports.getManifestDataSources = getManifestDataSources;
|
|
56
55
|
//# sourceMappingURL=abap.js.map
|
package/dist/base/cf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isCFEnvironment =
|
|
3
|
+
exports.isCFEnvironment = isCFEnvironment;
|
|
4
4
|
const path_1 = require("path");
|
|
5
5
|
const fs_1 = require("fs");
|
|
6
6
|
/**
|
|
@@ -19,5 +19,4 @@ function isCFEnvironment(basePath) {
|
|
|
19
19
|
}
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
22
|
-
exports.isCFEnvironment = isCFEnvironment;
|
|
23
22
|
//# sourceMappingURL=cf.js.map
|
|
@@ -3,7 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.writeAnnotationChange = writeAnnotationChange;
|
|
7
|
+
exports.writeChangeToFolder = writeChangeToFolder;
|
|
8
|
+
exports.writeChangeToFile = writeChangeToFile;
|
|
9
|
+
exports.parseStringToObject = parseStringToObject;
|
|
10
|
+
exports.getParsedPropertyValue = getParsedPropertyValue;
|
|
11
|
+
exports.getChangesByType = getChangesByType;
|
|
12
|
+
exports.findChangeWithInboundId = findChangeWithInboundId;
|
|
13
|
+
exports.getChange = getChange;
|
|
7
14
|
const path_1 = __importDefault(require("path"));
|
|
8
15
|
const fs_1 = require("fs");
|
|
9
16
|
const project_access_1 = require("@sap-ux/project-access");
|
|
@@ -39,7 +46,6 @@ function writeAnnotationChange(projectPath, timestamp, annotation, change, fs) {
|
|
|
39
46
|
throw new Error(`Could not write annotation changes. Reason: ${e.message}`);
|
|
40
47
|
}
|
|
41
48
|
}
|
|
42
|
-
exports.writeAnnotationChange = writeAnnotationChange;
|
|
43
49
|
/**
|
|
44
50
|
* Writes a given change object to a file within a specified folder in the project's 'changes' directory.
|
|
45
51
|
* If an additional subdirectory is specified, the change file is written there.
|
|
@@ -64,7 +70,6 @@ function writeChangeToFolder(projectPath, change, fileName, fs, dir = '') {
|
|
|
64
70
|
throw new Error(`Could not write change to folder. Reason: ${e.message}`);
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
|
-
exports.writeChangeToFolder = writeChangeToFolder;
|
|
68
73
|
/**
|
|
69
74
|
* Writes a given change object to a specific file path. The change data is stringified to JSON format before
|
|
70
75
|
* writing. This function is used to directly write changes to a file, without specifying a directory.
|
|
@@ -81,7 +86,6 @@ function writeChangeToFile(path, change, fs) {
|
|
|
81
86
|
throw new Error(`Could not write change to file: ${path}. Reason: ${e.message}`);
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
|
-
exports.writeChangeToFile = writeChangeToFile;
|
|
85
89
|
/**
|
|
86
90
|
* Parses a string into an object.
|
|
87
91
|
*
|
|
@@ -94,7 +98,6 @@ exports.writeChangeToFile = writeChangeToFile;
|
|
|
94
98
|
function parseStringToObject(str) {
|
|
95
99
|
return JSON.parse(`{${str}}`);
|
|
96
100
|
}
|
|
97
|
-
exports.parseStringToObject = parseStringToObject;
|
|
98
101
|
/**
|
|
99
102
|
* Attempts to parse a property value as JSON.
|
|
100
103
|
*
|
|
@@ -116,7 +119,6 @@ function getParsedPropertyValue(propertyValue) {
|
|
|
116
119
|
return propertyValue;
|
|
117
120
|
}
|
|
118
121
|
}
|
|
119
|
-
exports.getParsedPropertyValue = getParsedPropertyValue;
|
|
120
122
|
/**
|
|
121
123
|
* Retrieves all change files from a specified project path that match a given change type,
|
|
122
124
|
* optionally within a specific subdirectory.
|
|
@@ -158,7 +160,6 @@ function getChangesByType(projectPath, changeType, subDir) {
|
|
|
158
160
|
throw new Error(`Error reading change files: ${e.message}`);
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
|
-
exports.getChangesByType = getChangesByType;
|
|
162
163
|
/**
|
|
163
164
|
* Searches for a change file with a specific inbound ID within a project's change directory.
|
|
164
165
|
*
|
|
@@ -197,7 +198,6 @@ function findChangeWithInboundId(projectPath, inboundId) {
|
|
|
197
198
|
throw new Error(`Could not find change with inbound id '${inboundId}'. Reason: ${e.message}`);
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
exports.findChangeWithInboundId = findChangeWithInboundId;
|
|
201
201
|
/**
|
|
202
202
|
* Constructs a generic change object based on provided parameters.
|
|
203
203
|
*
|
|
@@ -221,5 +221,4 @@ function getChange({ id, layer, namespace }, timestamp, content, changeType) {
|
|
|
221
221
|
content
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
exports.getChange = getChange;
|
|
225
224
|
//# sourceMappingURL=change-utils.js.map
|
package/dist/base/helper.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getVariant = getVariant;
|
|
4
|
+
exports.getAdpConfig = getAdpConfig;
|
|
4
5
|
const fs_1 = require("fs");
|
|
5
6
|
const path_1 = require("path");
|
|
6
7
|
const ui5_config_1 = require("@sap-ux/ui5-config");
|
|
@@ -13,7 +14,6 @@ const ui5_config_1 = require("@sap-ux/ui5-config");
|
|
|
13
14
|
function getVariant(basePath) {
|
|
14
15
|
return JSON.parse((0, fs_1.readFileSync)((0, path_1.join)(basePath, 'webapp', 'manifest.appdescr_variant'), 'utf-8'));
|
|
15
16
|
}
|
|
16
|
-
exports.getVariant = getVariant;
|
|
17
17
|
/**
|
|
18
18
|
* Returns the adaptation project configuration, throws an error if not found.
|
|
19
19
|
*
|
|
@@ -32,5 +32,4 @@ async function getAdpConfig(basePath, yamlPath) {
|
|
|
32
32
|
}
|
|
33
33
|
return adp;
|
|
34
34
|
}
|
|
35
|
-
exports.getAdpConfig = getAdpConfig;
|
|
36
35
|
//# sourceMappingURL=helper.js.map
|
package/dist/base/prompt.js
CHANGED
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.promptGeneratorInput = promptGeneratorInput;
|
|
7
|
+
exports.promptTarget = promptTarget;
|
|
7
8
|
const uuid_1 = require("uuid");
|
|
8
9
|
const prompts_1 = __importDefault(require("prompts"));
|
|
9
10
|
const system_access_1 = require("@sap-ux/system-access");
|
|
@@ -94,7 +95,6 @@ async function promptGeneratorInput(defaults, logger) {
|
|
|
94
95
|
customConfig
|
|
95
96
|
};
|
|
96
97
|
}
|
|
97
|
-
exports.promptGeneratorInput = promptGeneratorInput;
|
|
98
98
|
/**
|
|
99
99
|
* Prompt the user for the target system.
|
|
100
100
|
*
|
|
@@ -146,7 +146,6 @@ async function promptTarget(defaults, logger) {
|
|
|
146
146
|
}
|
|
147
147
|
throw new Error('Unable to fetch system information.');
|
|
148
148
|
}
|
|
149
|
-
exports.promptTarget = promptTarget;
|
|
150
149
|
/**
|
|
151
150
|
* Fetches the system information from the target system.
|
|
152
151
|
*
|
package/dist/i18n.js
CHANGED
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.initI18n = initI18n;
|
|
7
|
+
exports.t = t;
|
|
7
8
|
const i18next_1 = __importDefault(require("i18next"));
|
|
8
9
|
const adp_tooling_i18n_json_1 = __importDefault(require("./translations/adp-tooling.i18n.json"));
|
|
9
10
|
const adpI18nNamespace = 'adp-tooling';
|
|
@@ -25,7 +26,6 @@ async function initI18n() {
|
|
|
25
26
|
ns: [adpI18nNamespace]
|
|
26
27
|
});
|
|
27
28
|
}
|
|
28
|
-
exports.initI18n = initI18n;
|
|
29
29
|
/**
|
|
30
30
|
* Helper function facading the call to i18next. Unless a namespace option is provided the local namespace will be used.
|
|
31
31
|
*
|
|
@@ -39,7 +39,6 @@ function t(key, options) {
|
|
|
39
39
|
}
|
|
40
40
|
return i18next_1.default.t(key, options);
|
|
41
41
|
}
|
|
42
|
-
exports.t = t;
|
|
43
42
|
initI18n().catch(() => {
|
|
44
43
|
// Needed for lint
|
|
45
44
|
});
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.moduleNameContentMap = void 0;
|
|
4
|
+
exports.tryFixChange = tryFixChange;
|
|
5
|
+
exports.isAddXMLChange = isAddXMLChange;
|
|
6
|
+
exports.addXmlFragment = addXmlFragment;
|
|
4
7
|
const path_1 = require("path");
|
|
5
8
|
const project_access_1 = require("@sap-ux/project-access");
|
|
6
9
|
const ejs_1 = require("ejs");
|
|
@@ -75,7 +78,6 @@ function tryFixChange(change, logger) {
|
|
|
75
78
|
logger.warn('Could not fix missing module name.');
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
|
-
exports.tryFixChange = tryFixChange;
|
|
79
81
|
/**
|
|
80
82
|
* Determines whether a given change is of type `AddXMLChange`.
|
|
81
83
|
*
|
|
@@ -86,7 +88,6 @@ exports.tryFixChange = tryFixChange;
|
|
|
86
88
|
function isAddXMLChange(change) {
|
|
87
89
|
return change.changeType === 'addXML' || change.changeType === 'addXMLAtExtensionPoint';
|
|
88
90
|
}
|
|
89
|
-
exports.isAddXMLChange = isAddXMLChange;
|
|
90
91
|
/**
|
|
91
92
|
* Asynchronously adds an XML fragment to the project if it doesn't already exist.
|
|
92
93
|
*
|
|
@@ -118,5 +119,4 @@ function addXmlFragment(basePath, change, fs, logger) {
|
|
|
118
119
|
logger.error(`Failed to create XML Fragment "${fragmentPath}": ${error}`);
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
|
-
exports.addXmlFragment = addXmlFragment;
|
|
122
122
|
//# sourceMappingURL=change-handler.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrompts =
|
|
3
|
+
exports.getPrompts = getPrompts;
|
|
4
4
|
const i18n_1 = require("../../i18n");
|
|
5
5
|
const project_access_1 = require("@sap-ux/project-access");
|
|
6
6
|
const fs_1 = require("fs");
|
|
@@ -73,5 +73,4 @@ function getPrompts(basePath, dataSources) {
|
|
|
73
73
|
}
|
|
74
74
|
];
|
|
75
75
|
}
|
|
76
|
-
exports.getPrompts = getPrompts;
|
|
77
76
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrompts =
|
|
3
|
+
exports.getPrompts = getPrompts;
|
|
4
4
|
const change_utils_1 = require("../../base/change-utils");
|
|
5
5
|
const i18n_1 = require("../../i18n");
|
|
6
6
|
const project_input_validator_1 = require("@sap-ux/project-input-validator");
|
|
@@ -189,5 +189,4 @@ function getPrompts(basePath, layer) {
|
|
|
189
189
|
}
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
|
-
exports.getPrompts = getPrompts;
|
|
193
192
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrompts =
|
|
3
|
+
exports.getPrompts = getPrompts;
|
|
4
4
|
const i18n_1 = require("../../i18n");
|
|
5
5
|
const change_utils_1 = require("../../base/change-utils");
|
|
6
6
|
const cf_1 = require("../../base/cf");
|
|
@@ -283,5 +283,4 @@ function getPrompts(projectPath, layer) {
|
|
|
283
283
|
}
|
|
284
284
|
];
|
|
285
285
|
}
|
|
286
|
-
exports.getPrompts = getPrompts;
|
|
287
286
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrompts =
|
|
3
|
+
exports.getPrompts = getPrompts;
|
|
4
4
|
const i18n_1 = require("../../i18n");
|
|
5
5
|
const project_access_1 = require("@sap-ux/project-access");
|
|
6
6
|
const project_input_validator_1 = require("@sap-ux/project-input-validator");
|
|
@@ -89,5 +89,4 @@ function getPrompts(dataSources) {
|
|
|
89
89
|
}
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
|
-
exports.getPrompts = getPrompts;
|
|
93
92
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrompts =
|
|
3
|
+
exports.getPrompts = getPrompts;
|
|
4
4
|
const i18n_1 = require("../../i18n");
|
|
5
5
|
/**
|
|
6
6
|
* Gets the prompts for Inbound Change.
|
|
@@ -47,5 +47,4 @@ function getPrompts() {
|
|
|
47
47
|
}
|
|
48
48
|
];
|
|
49
49
|
}
|
|
50
|
-
exports.getPrompts = getPrompts;
|
|
51
50
|
//# sourceMappingURL=index.js.map
|
package/dist/writer/editors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generateChange =
|
|
3
|
+
exports.generateChange = generateChange;
|
|
4
4
|
const mem_fs_1 = require("mem-fs");
|
|
5
5
|
const mem_fs_editor_1 = require("mem-fs-editor");
|
|
6
6
|
const writer_factory_1 = require("./changes/writer-factory");
|
|
@@ -26,5 +26,4 @@ async function generateChange(projectPath, type, data, fs = null) {
|
|
|
26
26
|
await writer.write(data);
|
|
27
27
|
return fs;
|
|
28
28
|
}
|
|
29
|
-
exports.generateChange = generateChange;
|
|
30
29
|
//# sourceMappingURL=editors.js.map
|
package/dist/writer/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.generate = generate;
|
|
4
|
+
exports.migrate = migrate;
|
|
4
5
|
const path_1 = require("path");
|
|
5
6
|
const mem_fs_1 = require("mem-fs");
|
|
6
7
|
const mem_fs_editor_1 = require("mem-fs-editor");
|
|
@@ -55,7 +56,6 @@ async function generate(basePath, config, fs) {
|
|
|
55
56
|
await (0, project_utils_1.writeUI5Yaml)(basePath, fullConfig, fs);
|
|
56
57
|
return fs;
|
|
57
58
|
}
|
|
58
|
-
exports.generate = generate;
|
|
59
59
|
/**
|
|
60
60
|
* Writes the adp-project template to the mem-fs-editor instance during migration.
|
|
61
61
|
*
|
|
@@ -92,5 +92,4 @@ async function migrate(basePath, config, fs) {
|
|
|
92
92
|
await (0, project_utils_1.writeUI5DeployYaml)(basePath, fullConfig, fs);
|
|
93
93
|
return fs;
|
|
94
94
|
}
|
|
95
|
-
exports.migrate = migrate;
|
|
96
95
|
//# sourceMappingURL=index.js.map
|
package/dist/writer/options.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.enhanceUI5Yaml = enhanceUI5Yaml;
|
|
4
|
+
exports.enhanceUI5YamlWithCustomTask = enhanceUI5YamlWithCustomTask;
|
|
5
|
+
exports.enhanceUI5YamlWithCustomConfig = enhanceUI5YamlWithCustomConfig;
|
|
6
|
+
exports.hasDeployConfig = hasDeployConfig;
|
|
7
|
+
exports.enhanceUI5DeployYaml = enhanceUI5DeployYaml;
|
|
8
|
+
exports.enhanceManifestChangeContentWithFlpConfig = enhanceManifestChangeContentWithFlpConfig;
|
|
4
9
|
/**
|
|
5
10
|
* Generate the configuration for the middlewares required for the ui5.yaml.
|
|
6
11
|
*
|
|
@@ -15,7 +20,6 @@ function enhanceUI5Yaml(ui5Config, config) {
|
|
|
15
20
|
addOpenSourceMiddlewares(ui5Config, config);
|
|
16
21
|
}
|
|
17
22
|
}
|
|
18
|
-
exports.enhanceUI5Yaml = enhanceUI5Yaml;
|
|
19
23
|
/**
|
|
20
24
|
* Generate the configuration for the custom tasks required for the ui5.yaml.
|
|
21
25
|
*
|
|
@@ -26,7 +30,6 @@ function enhanceUI5YamlWithCustomTask(ui5Config, config) {
|
|
|
26
30
|
const tasks = getAdpCloudCustomTasks(config);
|
|
27
31
|
ui5Config.addCustomTasks(tasks);
|
|
28
32
|
}
|
|
29
|
-
exports.enhanceUI5YamlWithCustomTask = enhanceUI5YamlWithCustomTask;
|
|
30
33
|
/**
|
|
31
34
|
* Generate custom configuration required for the ui5.yaml.
|
|
32
35
|
*
|
|
@@ -39,7 +42,6 @@ function enhanceUI5YamlWithCustomConfig(ui5Config, config) {
|
|
|
39
42
|
ui5Config.addCustomConfiguration('adp', { support });
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
|
-
exports.enhanceUI5YamlWithCustomConfig = enhanceUI5YamlWithCustomConfig;
|
|
43
45
|
/**
|
|
44
46
|
* Checks if a writer config has a deploy configuration.
|
|
45
47
|
*
|
|
@@ -49,7 +51,6 @@ exports.enhanceUI5YamlWithCustomConfig = enhanceUI5YamlWithCustomConfig;
|
|
|
49
51
|
function hasDeployConfig(config) {
|
|
50
52
|
return !!config.deploy;
|
|
51
53
|
}
|
|
52
|
-
exports.hasDeployConfig = hasDeployConfig;
|
|
53
54
|
/**
|
|
54
55
|
* Generate the configuration for the tasks required for the ui5-deploy.yaml.
|
|
55
56
|
*
|
|
@@ -59,7 +60,6 @@ exports.hasDeployConfig = hasDeployConfig;
|
|
|
59
60
|
function enhanceUI5DeployYaml(ui5Config, config) {
|
|
60
61
|
ui5Config.addAbapDeployTask(config.target, config.deploy, config.options?.fioriTools === true);
|
|
61
62
|
}
|
|
62
|
-
exports.enhanceUI5DeployYaml = enhanceUI5DeployYaml;
|
|
63
63
|
/**
|
|
64
64
|
* Get a list of required middlewares using the Fiori tools.
|
|
65
65
|
*
|
|
@@ -277,5 +277,4 @@ function enhanceManifestChangeContentWithFlpConfig(flpConfiguration, appId, mani
|
|
|
277
277
|
manifestChangeContent.push(removeOtherInboundsChange);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
exports.enhanceManifestChangeContentWithFlpConfig = enhanceManifestChangeContentWithFlpConfig;
|
|
281
280
|
//# sourceMappingURL=options.js.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getPackageJSONInfo = getPackageJSONInfo;
|
|
4
|
+
exports.writeTemplateToFolder = writeTemplateToFolder;
|
|
5
|
+
exports.writeUI5Yaml = writeUI5Yaml;
|
|
6
|
+
exports.writeUI5DeployYaml = writeUI5DeployYaml;
|
|
4
7
|
const path_1 = require("path");
|
|
5
8
|
const fs_1 = require("fs");
|
|
6
9
|
const options_1 = require("./options");
|
|
@@ -22,7 +25,6 @@ function getPackageJSONInfo() {
|
|
|
22
25
|
return defaultPackage;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
|
-
exports.getPackageJSONInfo = getPackageJSONInfo;
|
|
26
28
|
/**
|
|
27
29
|
* Writes a given project template files within a specified folder in the project directory.
|
|
28
30
|
*
|
|
@@ -43,7 +45,6 @@ function writeTemplateToFolder(templatePath, projectPath, data, fs) {
|
|
|
43
45
|
throw new Error(`Could not write template files to folder. Reason: ${e.message}`);
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
|
-
exports.writeTemplateToFolder = writeTemplateToFolder;
|
|
47
48
|
/**
|
|
48
49
|
* Writes a ui5.yaml file within a specified folder in the project directory.
|
|
49
50
|
*
|
|
@@ -69,7 +70,6 @@ async function writeUI5Yaml(projectPath, data, fs) {
|
|
|
69
70
|
throw new Error(`Could not write ui5.yaml file. Reason: ${e.message}`);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
|
-
exports.writeUI5Yaml = writeUI5Yaml;
|
|
73
73
|
/**
|
|
74
74
|
* Writes a ui5-deploy.yaml file within a specified folder in the project directory.
|
|
75
75
|
*
|
|
@@ -92,5 +92,4 @@ async function writeUI5DeployYaml(projectPath, data, fs) {
|
|
|
92
92
|
throw new Error(`Could not write ui5-deploy.yaml file. Reason: ${e.message}`);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
exports.writeUI5DeployYaml = writeUI5DeployYaml;
|
|
96
95
|
//# sourceMappingURL=project-utils.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.12.
|
|
12
|
+
"version": "0.12.55",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"sanitize-filename": "1.6.3",
|
|
34
34
|
"uuid": "10.0.0",
|
|
35
35
|
"@sap-ux/axios-extension": "1.16.6",
|
|
36
|
-
"@sap-ux/
|
|
37
|
-
"@sap-ux/project-access": "1.27.4",
|
|
36
|
+
"@sap-ux/btp-utils": "0.15.2",
|
|
38
37
|
"@sap-ux/inquirer-common": "0.4.6",
|
|
38
|
+
"@sap-ux/logger": "0.6.0",
|
|
39
|
+
"@sap-ux/project-access": "1.27.5",
|
|
39
40
|
"@sap-ux/project-input-validator": "0.3.3",
|
|
40
|
-
"@sap-ux/system-access": "0.5.
|
|
41
|
-
"@sap-ux/ui5-config": "0.25.0"
|
|
42
|
-
"@sap-ux/btp-utils": "0.15.2"
|
|
41
|
+
"@sap-ux/system-access": "0.5.12",
|
|
42
|
+
"@sap-ux/ui5-config": "0.25.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/adm-zip": "0.5.5",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"nock": "13.4.0",
|
|
57
57
|
"rimraf": "5.0.5",
|
|
58
58
|
"supertest": "6.3.3",
|
|
59
|
-
"@sap-ux/store": "0.9.
|
|
59
|
+
"@sap-ux/store": "0.9.2"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=18.x"
|