dlr-eoc / ukis-frontend-libraries

A collection of angular ui-components, services, interfaces... to help you create geospatial mapping applications for the web.
Apache License 2.0
17 stars 4 forks source link

Set version of UKIS on the HTML document #110

Open boeckMt opened 2 years ago

boeckMt commented 2 years ago

Description

To easily see what version of ukis was used on a deployed running app we could set it like angular or clarity on the HTML at runtime.

Relevant Package

This feature request is for @dlr-eoc/.... Or if it is not fitting anywhere then a new @dlr-eoc/

boeckMt commented 2 years ago

This could be implemented in core-ui/schematics https://github.com/dlr-eoc/ukis-frontend-libraries/tree/main/projects/core-ui/schematics/ng-add/files/src


Or maybe the better way would be if this is done on application site at build time. E.g. add the package version or a commit hash to the index.html meta through the cli natively (this need a PR) or with a custom builder

boeckMt commented 2 years ago

It would also be possible to export a version like Angular