shlomiassaf / ng-cli-packagr-tasks

Tasks & Workflow for ng-packagr.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve ranges of dependencies

Necroskillz opened this issue · comments

Thanks for making this package.

It would be nice to improve the dependencies, since they seem to be a bit tight right now.

E.g. You can't update to @angular-devkit/architect 0.13.0+, and globby and semver could be moved from peerDependencies to dependencies in order to not dictate versions of unrelated tools to the consumers.

For now I created a fix in my local registry with this:

  "peerDependencies": {
    "@angular-devkit/architect": ">= 0.12.2",
    "@angular-devkit/core": "^7.1.0",
    "ng-packagr": "^4.6.0",
    "rxjs": "^6.3.0"
  },
  "dependencies": {
    "globby": "^7.1.1",
    "semver": "^5.3.0"
  }

Maybe it could be improved even further.

+1. The dependency on architect 0.12 is throwing errors now that it's been bumped to 0.13. And I'm getting unmet peer dependencies for globby as well.