@sap-ux/repo-app-import-sub-generator 0.3.9 → 0.3.11
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.
|
@@ -39,7 +39,7 @@ export default class extends Generator {
|
|
|
39
39
|
* Returns the configuration for the README file.
|
|
40
40
|
*
|
|
41
41
|
* @param config - The app configuration object.
|
|
42
|
-
* @returns {
|
|
42
|
+
* @returns {AppGenInfo} The configuration for generating the README.
|
|
43
43
|
*/
|
|
44
44
|
private _getReadMeConfig;
|
|
45
45
|
/**
|
package/generators/app/index.js
CHANGED
|
@@ -138,7 +138,7 @@ class default_1 extends yeoman_generator_1.default {
|
|
|
138
138
|
}
|
|
139
139
|
// Generate README
|
|
140
140
|
const readMeConfig = this._getReadMeConfig(config);
|
|
141
|
-
(0, fiori_generator_shared_1.
|
|
141
|
+
(0, fiori_generator_shared_1.generateAppGenInfo)(this.projectPath, readMeConfig, this.fs);
|
|
142
142
|
// Replace webapp files with downloaded app files
|
|
143
143
|
await (0, updates_1.replaceWebappFiles)(this.projectPath, this.extractedProjectPath, this.fs);
|
|
144
144
|
await (0, updates_1.validateAndUpdateManifestUI5Version)((0, path_1.join)(this.projectPath, project_access_1.DirName.Webapp, project_access_1.FileName.Manifest), this.fs);
|
|
@@ -149,7 +149,7 @@ class default_1 extends yeoman_generator_1.default {
|
|
|
149
149
|
* Returns the configuration for the README file.
|
|
150
150
|
*
|
|
151
151
|
* @param config - The app configuration object.
|
|
152
|
-
* @returns {
|
|
152
|
+
* @returns {AppGenInfo} The configuration for generating the README.
|
|
153
153
|
*/
|
|
154
154
|
_getReadMeConfig(config) {
|
|
155
155
|
const readMeConfig = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/repo-app-import-sub-generator",
|
|
3
3
|
"description": "Generator to download LROP Fiori applications deployed from an ABAP repository.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.11",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"inquirer": "8.2.6",
|
|
26
26
|
"yeoman-generator": "5.10.0",
|
|
27
27
|
"@sap-ux/feature-toggle": "0.3.0",
|
|
28
|
-
"@sap-ux/fiori-generator-shared": "0.12.
|
|
29
|
-
"@sap-ux/inquirer-common": "0.7.
|
|
28
|
+
"@sap-ux/fiori-generator-shared": "0.12.2",
|
|
29
|
+
"@sap-ux/inquirer-common": "0.7.3",
|
|
30
30
|
"@sap-ux/project-access": "1.30.1",
|
|
31
|
-
"@sap-ux/odata-service-inquirer": "2.4.
|
|
32
|
-
"@sap-ux/fiori-elements-writer": "2.4.
|
|
31
|
+
"@sap-ux/odata-service-inquirer": "2.4.7",
|
|
32
|
+
"@sap-ux/fiori-elements-writer": "2.4.7",
|
|
33
33
|
"@sap-ux/logger": "0.7.0",
|
|
34
34
|
"@sap-ux/project-input-validator": "0.6.1",
|
|
35
35
|
"@sap-ux/launch-config": "0.10.1",
|