What to do when one app dependency depends on another app dependency?

Discussão em 'Angular' iniciado por Fred Mars, Abril 15, 2025.

  1. Fred Mars

    Fred Mars Guest

    I am not sure how to resolve this dependency management problem. There are three main elements:

    • WebApp - web app that depends on the following two things
    • TSLib - Library of commonly used functions like string formatters, date converters, etc
    • NGLib - Library of Angular components used across multiple web apps

    There is one helper method in NGLib that I want to move to TSLib. This method is referenced within NGLib as well as in web apps that include it.

    Is there any way to avoid maintaining two copies of the method? Ideally a new project that needs only one of the libs could have access to the method without including both.

    Continue reading...

Compartilhe esta Página