-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consume the compatibility matrix to check a project's dependencies #43
Comments
Yeah that is a good idea, there's another issue opened for this kind of feature: #27 |
It would be great to have the matrix accessible from the outside, as an endpoint or a node lib..., so external tooling could also consume it. |
For that we probably would need a server so what do you recommend? |
@eneajaho add SSR then we can use the express server. Should have gone with Analog 😝 |
@nartc |
maybe just a json file in the repo is enough no? https://raw.githubusercontent.com/eneajaho/ngx-libs/master/package.json the external script would just have to fetch the matrix from the repo: |
It would be handy if we can somehow consume this referential data from the outside.
There are many interesting tools we can build on top of this compatibility matrix.
For example a script that checks what libraries need to be updated when upgrading a project to some Angular version (Could be part of this repo actually)
Project example
npx ngx-libs migrate 16 --check (check depedencies' versions)
npx ngx-libs migrate 15 --apply (apply the updates (if compatible))
npx ngx-libs migrate --supported (search for common supported Angular version)
The text was updated successfully, but these errors were encountered: