You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of issues have been identified when testing the latest version of cf-deploy-config-writier.
Issue 1.
When generateCAPConfig is called to generate the CAP deployment configuration, the package.json is not being updated with the devDependency @sap/cds-dk. This is added as part of the cds add mta command which generates the mta.yaml and also updates the package.json and is required when the before-all script is executed;
Issue 2.
If there is more than one HTML5 app in the CAP apps folder, when generateCAPConfig is executed, it appends the HTML5 apps to the mta.yaml using the following structure;
This module type uses a different naming convention i.e. captestprojectproject2 instead of project2 and the command npm run build is not supported for SAP Fiori generated apps. To support SAP Fiori generated apps in the mta.yaml, the command needs to be changed to npm run build:cf.
Steps to Reproduce
Expected results
mta.yaml is updated with correct build steps for HTML5 apps generated using sap fiori tools
Actual results
mta.yaml is not updated with correct build steps
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:
Mac OS
Windows
Other
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}
The text was updated successfully, but these errors were encountered:
Description
A number of issues have been identified when testing the latest version of
cf-deploy-config-writier
.Issue 1.
When
generateCAPConfig
is called to generate the CAP deployment configuration, thepackage.json
is not being updated with the devDependency@sap/cds-dk
. This is added as part of thecds add mta
command which generates themta.yaml
and also updates the package.json and is required when thebefore-all
script is executed;Issue 2.
If there is more than one HTML5 app in the CAP
apps
folder, whengenerateCAPConfig
is executed, it appends the HTML5 apps to the mta.yaml using the following structure;This module type uses a different naming convention i.e.
captestprojectproject2
instead ofproject2
and the commandnpm run build
is not supported for SAP Fiori generated apps. To support SAP Fiori generated apps in the mta.yaml, the command needs to be changed tonpm run build:cf
.Steps to Reproduce
Expected results
mta.yaml
is updated with correct build steps for HTML5 apps generated using sap fiori toolsActual results
mta.yaml
is not updated with correct build stepsScreenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}
The text was updated successfully, but these errors were encountered: