@sap-ux/generator-adp 0.3.37 → 0.3.39
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/generators/app/index.js
CHANGED
|
@@ -195,7 +195,8 @@ class default_1 extends yeoman_generator_1.default {
|
|
|
195
195
|
(0, subgenHelpers_1.addFlpGen)({
|
|
196
196
|
vscode: this.vscode,
|
|
197
197
|
projectRootPath: this._getProjectPath(),
|
|
198
|
-
inbounds: this.baseAppInbounds
|
|
198
|
+
inbounds: this.baseAppInbounds,
|
|
199
|
+
layer: this.layer
|
|
199
200
|
}, this.composeWith.bind(this), this.logger, this.appWizard);
|
|
200
201
|
}
|
|
201
202
|
}
|
|
@@ -2,7 +2,7 @@ import type Generator from 'yeoman-generator';
|
|
|
2
2
|
import type { AppWizard } from '@sap-devx/yeoman-ui-types';
|
|
3
3
|
import type { ToolsLogger } from '@sap-ux/logger';
|
|
4
4
|
import type { ManifestNamespace } from '@sap-ux/project-access';
|
|
5
|
-
import type { ConfigAnswers, AttributesAnswers, SystemLookup } from '@sap-ux/adp-tooling';
|
|
5
|
+
import type { ConfigAnswers, AttributesAnswers, SystemLookup, FlexLayer } from '@sap-ux/adp-tooling';
|
|
6
6
|
/**
|
|
7
7
|
* Parameters required for composing the extension project generator.
|
|
8
8
|
*/
|
|
@@ -18,6 +18,7 @@ interface FlpGenProps {
|
|
|
18
18
|
vscode: unknown;
|
|
19
19
|
projectRootPath: string;
|
|
20
20
|
inbounds?: ManifestNamespace.Inbound;
|
|
21
|
+
layer: FlexLayer;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Options required to invoke the deploy-config subgenerator.
|
|
@@ -40,7 +41,7 @@ interface DeployGenOptions {
|
|
|
40
41
|
* @param {ToolsLogger} logger - Logger instance for tracking operations and errors.
|
|
41
42
|
* @param {AppWizard} appWizard - AppWizard instance for interacting with the UI (optional).
|
|
42
43
|
*/
|
|
43
|
-
export declare function addFlpGen({ projectRootPath, vscode, inbounds }: FlpGenProps, composeWith: Generator['composeWith'], logger: ToolsLogger, appWizard: AppWizard): void;
|
|
44
|
+
export declare function addFlpGen({ projectRootPath, vscode, inbounds, layer }: FlpGenProps, composeWith: Generator['composeWith'], logger: ToolsLogger, appWizard: AppWizard): void;
|
|
44
45
|
/**
|
|
45
46
|
* Composes the Fiori deploy-config sub-generator using `composeWith`. This sub-generator configures
|
|
46
47
|
* deployment for Fiori applications, such as to ABAP or Cloud Foundry environments.
|
|
@@ -16,7 +16,7 @@ const extension_project_1 = require("../app/extension-project");
|
|
|
16
16
|
* @param {ToolsLogger} logger - Logger instance for tracking operations and errors.
|
|
17
17
|
* @param {AppWizard} appWizard - AppWizard instance for interacting with the UI (optional).
|
|
18
18
|
*/
|
|
19
|
-
function addFlpGen({ projectRootPath, vscode, inbounds }, composeWith, logger, appWizard) {
|
|
19
|
+
function addFlpGen({ projectRootPath, vscode, inbounds, layer }, composeWith, logger, appWizard) {
|
|
20
20
|
try {
|
|
21
21
|
/**
|
|
22
22
|
* We are using this namespace for now because '@sap-ux/adp-flp-config-sub-generator' is not yet bundled in '@sap/generator-fiori'.
|
|
@@ -25,6 +25,7 @@ function addFlpGen({ projectRootPath, vscode, inbounds }, composeWith, logger, a
|
|
|
25
25
|
launchAsSubGen: true,
|
|
26
26
|
vscode,
|
|
27
27
|
inbounds,
|
|
28
|
+
layer,
|
|
28
29
|
data: { projectRootPath },
|
|
29
30
|
appWizard
|
|
30
31
|
});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "SAPUI5 Adaptation Project",
|
|
4
4
|
"homepage": "https://help.sap.com/viewer/584e0bcbfd4a4aff91c815cefa0bce2d/Cloud/en-US/ada9567b767941aba8d49fdb4fdedea7.html",
|
|
5
5
|
"description": "Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.39",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"i18next": "23.5.1",
|
|
31
31
|
"yeoman-generator": "5.10.0",
|
|
32
32
|
"uuid": "10.0.0",
|
|
33
|
-
"@sap-ux/adp-tooling": "0.14.
|
|
33
|
+
"@sap-ux/adp-tooling": "0.14.38",
|
|
34
34
|
"@sap-ux/axios-extension": "1.22.3",
|
|
35
35
|
"@sap-ux/btp-utils": "1.1.0",
|
|
36
36
|
"@sap-ux/feature-toggle": "0.3.0",
|
|
37
|
-
"@sap-ux/inquirer-common": "0.7.
|
|
37
|
+
"@sap-ux/inquirer-common": "0.7.20",
|
|
38
38
|
"@sap-ux/logger": "0.7.0",
|
|
39
|
-
"@sap-ux/project-access": "1.30.
|
|
39
|
+
"@sap-ux/project-access": "1.30.6",
|
|
40
40
|
"@sap-ux/store": "1.1.1",
|
|
41
41
|
"@sap-ux/system-access": "0.6.9",
|
|
42
|
-
"@sap-ux/project-input-validator": "0.6.
|
|
43
|
-
"@sap-ux/fiori-generator-shared": "0.12.
|
|
44
|
-
"@sap-ux/adp-flp-config-sub-generator": "0.1.
|
|
42
|
+
"@sap-ux/project-input-validator": "0.6.9",
|
|
43
|
+
"@sap-ux/fiori-generator-shared": "0.12.15",
|
|
44
|
+
"@sap-ux/adp-flp-config-sub-generator": "0.1.38"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/types": "29.6.3",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"fs-extra": "10.0.0",
|
|
57
57
|
"rimraf": "5.0.5",
|
|
58
58
|
"yeoman-test": "6.3.0",
|
|
59
|
-
"@sap-ux/deploy-config-sub-generator": "0.3.
|
|
59
|
+
"@sap-ux/deploy-config-sub-generator": "0.3.34"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=20.x"
|