ngx-linky icon indicating copy to clipboard operation
ngx-linky copied to clipboard

No compatible version for Angular 9

Open akaustav opened this issue 3 years ago • 2 comments

Issue Summary

We are unable to update our private Angular 9.1.3 repository to Angular version 10 or higher at the moment until a few more months. Meanwhile, there does not seem to be a compatible version of ngx-linky with Angular version 9. Please publish a version of ngx-linky which is compatible with Angular 9.

[email protected] was compatible with Angular versions 4 thru 8. [email protected] seems to be compatible with Angular 10 and higher. As a result, the yarn install or yarn add commands keeps throwing the following warnings in our project running Angular 9:

With ngx-linky version 2.2.0

Command: yarn add ngx-linky@^2.2.0

Warnings:

warning " > [email protected]" has incorrect peer dependency "@angular/common@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0".

With ngx-linky version 3.0.0

Command: yarn add ngx-linky@^3.0.0

Warnings:

warning " > [email protected]" has incorrect peer dependency "@angular/common@>=10.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@>=10.0.0".

akaustav avatar Jun 01 '21 02:06 akaustav

Looks like yarn reads the peerDependencies object from the package.json file:

From ngx-linky tag v2.2.0: https://github.com/dzonatan/ngx-linky/blob/04b46cb5d429c72143cf33ec81505c9d022796bd/projects/ngx-linky/package.json#L21-L25

From ngx-linky tag v3.0.0: https://github.com/dzonatan/ngx-linky/blob/50a69e30fe238edad57cf690fdeb46f424f67e60/projects/ngx-linky/package.json#L21-L25

akaustav avatar Jun 01 '21 02:06 akaustav

If it helps, both versions 2.2.0 and 3.0.0 of ngx-linky work for our use-cases within our repo running Angular 9.1.3.

akaustav avatar Jun 01 '21 02:06 akaustav