SAP / ui5-typescript

Tooling to enable TypeScript support in SAPUI5/OpenUI5 projects
https://sap.github.io/ui5-typescript
Apache License 2.0
201 stars 28 forks source link

feat(dts-generator): huge update to the currently used generator #436

Closed akudev closed 4 months ago

akudev commented 4 months ago

This updates the dts-generator in this repository from the vastly outdated version from years ago to the one developed and used internally over the past years in the build-up to officially releasing production-ready type definitions for UI5. The new dts-generator is based on the old version developed here, but has undergone huge changes and extensions.

Changes to the dts-generator package itself include:

Other changes to the repository include:

Changes to the ts-interface-generator are NOT done in this commit to not cause a major version increase. Those changes are basically just dependency updates and handled in a separate commit. This may mean that both commits should be regarded as parts of ONE change and may not work without each other (as e.g. both affect yarn.lock, but this file is only touched in this commit).

BREAKING CHANGE: the API and behavior and generation results of the dts-generator have completely changed. To migrate, basically re-write the usage of it.

akudev commented 4 months ago

Superseded by the combined PR https://github.com/SAP/ui5-typescript/pull/438