-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE - Reuse library writer #1006
Comments
Examples : Generated UI5 lib using https://github.com/ui5-community/generator-ui5-library TS lib |
@cianmSAP I think this still needs to be addressed ? |
I'll look into this, thanks @devinea |
While this fix went in #1054 It does not seem to be consumed by ui5-tooling? I still see this error
|
@cianmSAP I noticed the same issue in a different test. @zdravko-georgiev do you know why it isn't consumed yet? |
@tobiasqueck Fixes for |
Fixes submitted in |
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
The text was updated successfully, but these errors were encountered: