ui5-community / ui5-ecosystem-showcase

A repository showcasing the UI5 tooling extensibility to combine OSS tools for UI5 application development.
https://ui5-community.github.io/ui5-ecosystem-showcase/
Other
189 stars 92 forks source link

[GENERAL] Showcase module of a middleware or task using TypeScript #651

Open tobiasqueck opened 1 year ago

tobiasqueck commented 1 year ago

Is your feature request related to a problem? Please describe. We as the maintainer of the in SAP Fiori tools and the Open UX tools (https://github.com/SAP/open-ux-tools) develop multiple custom tasks and middlewares. Our development language of choice is typescript, however, there are no types available for the API that is to be implemented by custom tasks and middlewares.

Describe the solution you'd like Obviously, the right solution is to get the types provided by the ui5-tooling module (feature requested at https://github.com/SAP/ui5-tooling/issues/651), however, it will take some time until that happens. In the meantime, we could provide a ui5-tooling-types module here, maintained by the community, so that we all can start building our tasks and middlewares with typescript. We could use https://github.com/SAP/open-ux-tools/blob/feat/687/deploy/packages/deploy-tooling/src/ui5/ui5.d.ts as a starting point.

Describe alternatives you've considered Well, everyone, defines there own types locally.

Additional context Since this is a showcase repository, we should also take one of the existing modules and convert it to typescript to show how it works.

petermuessig commented 12 months ago

Related to https://github.com/SAP/ui5-tooling/issues/651 - waiting until this precondition is fulfilled!