Open cianmSAP opened 1 year ago
Examples :
Generated UI5 lib using https://github.com/ui5-community/generator-ui5-library yo.gen.myUI5Lib.zip
TS lib yo.gen.myUI5TsLib.zip
@cianmSAP I think this still needs to be addressed ? https://github.com/SAP/open-ux-tools/pull/1008#discussion_r1226632295
@cianmSAP I think this still needs to be addressed ? #1008 (comment)
I'll look into this, thanks @devinea
@cianmSAP @devinea what is the current state of this one?
@cianmSAP @devinea what is the current state of this one?
While this fix went in https://github.com/SAP/open-ux-tools/pull/1054
It does not seem to be consumed by ui5-tooling? I still see this error
Error Message: Error reading manifest.json from 'com.myorg.library1/webapp/manifest.json'. Error was : 'ENOENT: no such file or directory, open 'com.myorg.library1/webapp/manifest.json''.
@tobiasqueck
@cianmSAP I noticed the same issue in a different test. @zdravko-georgiev do you know why it isn't consumed yet?
@tobiasqueck Fixes for ui5-tooling
are prepared and in code review. Hopefully the fixes will be submitted soon.
Fixes submitted in @sap/ux-ui5-tooling
. Should be in with the next release.
As an SAPUI5 developer, I want to be able create a new reuse library, so that I can share as a reusable component with other applications.
Description
This new writer should allow users to create reuse libraries that can then be used with existing applications.
Technical Design
Creates a new writer
@sap-ux/reuse-lib-writer
. Based on the exisiting yeoman generator generator-ui5-library.A single function is exposede (
generate
) which takes input :Current (proposed) lib contents and structure. (only the
yo-rc.json
is removed currently in comparison with an app generated with generator-ui5-library)Acceptance Criteria
Given I have a Reuse lib configuration when I pass this config to the Reuse lib writer then a Reuse lib is generated
Given I create a new Reuse library when I reference it in a Fiori application then the application will load the Reuse lib
Given I generate a Reuse library, I can add reference to it in a Fiori application using the Reuse lib reference generator.
Notes
JS Reuse lib to be based on generator-ui5-library. and the TS version to be based on generator-ui5-ts-library
Tasks
generate
function which takes input and generates the Reuse libAdditional Tasks
FYI @tobiasqueck @devinea @docirl