How to test angular library against multiple angular versions

Discussão em 'Angular' iniciado por jigfox, Janeiro 20, 2025.

  1. jigfox

    jigfox Guest

    I created an angular library which currently has the following peerDependencies:

    "peerDependencies": {
    "@angular/common": "^18.0.0 || ^19.0.0",
    "@angular/core": "^18.0.0 || ^19.0.0",
    "rxjs": "^7.8.0"
    }


    But the tests currently use angular 19 for testing, because that is the version that get insalled automatically with npm install. Is there an easy way (without creating another repo) to test this library against multiple angular versions?

    Continue reading...

Compartilhe esta Página