SAP / ui5-tooling

An open and modular toolchain to develop state of the art applications based on the UI5 framework
https://sap.github.io/ui5-tooling
Apache License 2.0
469 stars 71 forks source link

Scaffolding #40

Closed piejanssens closed 3 years ago

piejanssens commented 6 years ago

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...

Smux commented 5 years ago

Is scaffolding on the roadmap?

RandomByte commented 5 years ago

Is scaffolding on the roadmap?

@Smux Yep

jberthe commented 4 years ago

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

piejanssens commented 4 years ago

@RandomByte What about wrapping around https://www.npmjs.com/package/@sapui5/generator-sapui5-templates?

RandomByte commented 4 years ago

@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.

piejanssens commented 4 years ago

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.

IObert commented 4 years ago

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 :)

piejanssens commented 3 years ago

Will @sapui5/generator-sapui5-templates also be deprecated in favor of @sap/generator-fiori?

@sap/generator-fiori-freestyle (deprecated) @sap/generator-fiori-elements (deprecated)

vobu commented 3 years ago

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.

FirasSharp commented 3 years ago

@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 commented 3 years ago

@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 :)

vobu commented 3 years ago

i'd like to ask @RandomByte to close this for now in favor of the current state of things:

cheers, v.

RandomByte commented 3 years ago

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.

pmuessig commented 3 years ago

Just a heads up, you might have gotten someone else mixed up with my username, so they have no optics on your @ mention πŸ™‚.

codeworrior commented 3 years ago

@pmuessig Thanks for pointing this out (and sorry for yet another spam).

Adding @petermuessig instead.

petermuessig commented 3 years ago

@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.

pmuessig commented 3 years ago

@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πŸ˜„