ui5-community / bestofui5-website

"Best of UI5" is the new entry page for the ui5-community.
https://bestofui5.org
Apache License 2.0
27 stars 3 forks source link

Feature: opionated sequence of middlewares and tasks #269

Open uxkjaer opened 2 years ago

uxkjaer commented 2 years ago

When you are sorting out your tooling some extensions needs to go before others. I think the best of ui5 site would be a good place to keep a central list of the order of how extensions should be implemented instead of all being after a standard process. I would be able to leverage this in the generator as well. I will start on a local one for my demo, but it would suit better with a spot in this repo.

marianfoo commented 2 years ago

For example, for a custom control, do you mean implementation with a library or just a file. I guess you want to automate this similar to the generator and have a selection of packages that can then be automatically integrated into an app? In my opinion, this is relatively simple via NPM. Then only a few lines in yml and package.json are missing.

Can you please describe your requirements in more detail.

petermuessig commented 2 years ago

Why not sorting the packages by the downloads of the last 14 days? The data is part of the bestofui5-data and you can do the sorting on your own. WDYT?

marianfoo commented 2 years ago

Every package has some attributes you can sort by (i do that in the frontend): image

What other kind of attributes are you looking for?

uxkjaer commented 2 years ago

I'm more talking about a sequence of how middleware and tasks should be added into the ui5.yaml file, this should be seen as a best practice on how the extensions are guaranteed to work best with each other. For example onelogin package should come before any proxy to add the cookie.