Ist es möglich ein Angular-Projekt mit einer niedrigeren Version zu verwenden und eine Bibliothek zu erstellen, die eine Version höher ist?

Guten Tag alle zusammen!

Eventuell ist das das falsche Forum. Ich werde es aber dennoch hier probieren.

Und zwar ist es so, das ich eine Bibliothek geschrieben habe, die auf Angular 16 beruht.

Allerdings sind die SDKs die ich benutzen möchte auf maximal Angular 15 angesetzt.

Besteht die Möglichkeit ein neues Projekt zu erstellen, dass die Version 15 trägt, alle SDKs und Styles dort zu installieren und die Library (v16) dort einzubinden?

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
1 year ago

An official procedure is not supported. If the library is based on changes/features of version 16, which are unknown in version 15 and cannot be compensated by you via polyfill or the like, integration will not work.

Therefore, my recommendation would be to match both versions. Either upgrade the project to version 16 or downgrade the library to version 15.