最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

testing - How to test angular library against multiple angular versions - Stack Overflow

programmeradmin3浏览0评论

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 installed automatically with npm install. Is there an easy way (without creating another repo) to test this library against multiple angular versions?

发布评论

评论列表(0)

  1. 暂无评论