AbsaOSS / cps-shared-ui

Angular shared components library
https://absaoss.github.io/cps-shared-ui/
Apache License 2.0
2 stars 2 forks source link

Add JSON documentation generator & update to Angular v17 #321

Closed lukasmatta closed 7 months ago

lukasmatta commented 7 months ago

This PR introduces JSON generator, that can create JSON files containing documentation for the components/services/directives based on the annotations in the files themselves. It is more or less took from the PrimeNg lib with some modifications to serve our purposes.

I've also updated all the pages in the composition app to make use of those JSON files. All the routes are now lazily loaded. There is also a Github Action to build the composition app and upload it to Github pages.

Angular in the library is now updated to version 17.

Also updated Node version to 20 in the workflows as the v16 is no longer supported. Added option to skip automatic version bump before publishing by including #SkipVersionBump in the squash commit, to be able to publish new major/patch version without increasing the minor version.

Closes #300, Closes #301