SAP / generator-easy-ui5

Meta-generator various project types within the UI5 Universe
https://blogs.sap.com/2021/04/09/easy-ui5-3.0-from-community-contributions-to-community-plugins/
Apache License 2.0
243 stars 72 forks source link

feat: update of deps incl. bug fixes (Node >= 20) #147

Open petermuessig opened 2 months ago

petermuessig commented 2 months ago

Node 18 is OOM and not supported anymore. Several dependencies require Node >= 20 in the meantime. We should also keep track here and not support legacy Node versions.

In this change I also upgraded several central dependencies and tools to their latest version. Bigger change was related to ESLint, Prettier and Husky. For Yeoman I kept them stable.

Nevertheless, there is an issue with Easy UI5 in BAS. Since we migrated to ESM modules for our generators, in Yeoman UI in BAS it doesn't work anymore. I tried several approaches the recent days but I think we need to open a bug for Yeoman UI. It is not possible to create a compat layer for those scenarios - besides maybe package and bundle the Yeoman generator (using webpack, rollup and transform it back to CJS).

During this excercise I detected several small issues and bugs - using non-declared NPM packages, missing parameters, ... which I corrected with this change.

Issue with BAS/VSCode (Yeoman UI) is reported here: https://github.com/SAP/yeoman-ui/issues/850