Closed piejanssens closed 3 years ago
Is scaffolding on the roadmap?
Is scaffolding on the roadmap?
@Smux Yep
Is scaffolding on the roadmap?
Hello, I'm starting an npm module base on Yo to generate a UI5 project.
Please feel free to contribute : https://github.com/jberthe/generator-app-fiori
@RandomByte What about wrapping around https://www.npmjs.com/package/@sapui5/generator-sapui5-templates?
@piejanssens do you mean wrapping Yeoman or just reusing the content?
Afaik there are some changes planed for that package later this year or early next year, so in any way we should wait for that to happen.
Invoke yo @sapui5/sapui5-templates
as part of ui5 init
when the user wants to use a template.
There is also a lot of work put into https://github.com/SAP/generator-easy-ui5 by @IObert.
Ideally: ui5 cli
adopts easyui5
, which in turn incorporates @sapui5/sapui5-templates
.
Hi @piejanssens, it absolutely makes sense to reuse as much as possible for this task. We're already in contact to work together on this :)
Will @sapui5/generator-sapui5-templates also be deprecated in favor of @sap/generator-fiori?
@sap/generator-fiori-freestyle (deprecated) @sap/generator-fiori-elements (deprecated)
i just wish they'd all bend the knee to @IObert's easy-ui5. Or cross the streams. Or take the vow. Whatever works to get rid of the closed-shop, self-forking templating hydra, so we could all just do
yo easy-ui5
leaving more time for πΊ or hugging π³ or whatever is more fun than working the next template generator out there.
@vobu i didn't know easy-ui5 was a thing π thank you very much π I created a fork for ui5-cli and started adding the "create" command but I think I'm just wasting my time π
@vobu i didn't know easy-ui5 was a thing π thank you very much π I created a fork for ui5-cli and started adding the "create" command but I think I'm just wasting my time π
i like the effort! and certainly not a waste of time per se - although @pmuessig, @RandomByte + @matz3 are currently in the processing of designing the command extensibility for the UI5-tooling CLI. You might want to wait until this is announced and available in order to bolt in your version of ui5 create
:)
i'd like to ask @RandomByte to close this for now in favor of the current state of things:
ui5-tooling
is definitely also a thing, providing the basis for custom commands such as the previously mentioned ui5 create
cheers, v.
Right, I think the community generators linked by @vobu should cover most aspects of this requirement. Integrating them one way or another into the UI5 CLI for convenience might be a topic in the future.
Just a heads up, you might have gotten someone else mixed up with my username, so they have no optics on your @ mention π.
@pmuessig Thanks for pointing this out (and sorry for yet another spam).
Adding @petermuessig instead.
@pmuessig - nice to meet you! π - maybe we should discuss a GitHub username change - this is the only place where I do not own the @pmuessig handle - but honestly this would cause too much trouble...
@vobu - yes, the command extensibility will allow to enable a reuse of the existing community generators also with the UI5 Tooling. As this is mainly convenience I would also keep that topic for the future.
@petermuessig The most silly part is that I have a cousin (and grandfather) also named Peter... So yeah, I am sure we have all stepped on each others toes somewhere claiming that oft sought after username
Anyways, it was very nice to meet you, I'm honored we share the same taste in something so trivial as username handlesπ
As of now, two critical tools from the WebIDE for basic development are missing from offline/local development using the ui5 tools through cli. Please correct me if I'm wrong...