You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
The decorateVersion service of the git package contains very specific logic related to very old versions of AngularJS.
This means that in case you use dgeni-packages to generate your project documentation and your current version is by the chance the same version that the decorateVersion targets... then the doc generation process fails because the decorated version does not align with semver anymore: v1.0.0-alpha.0 is converted to v1.0.0alpha0.
TypeError: Invalid Version: v1.0.0alpha0
I understand the reason why this custom logic is needed for AngularJS (although I think this custom logic should not be included as part of this package if it is meant to be a generic library for doc generation) but I think this should be at least mentioned somewhere in the docs of dgeni-packages and explain how to override/workaround this, cause it was not that easy to find the cause of this issue.
Moreover, I think this issue has never pop up in the Angular AIO project since there the Angular version started in v2 😛