chaodyz / ngx-line-truncation

An Angular line truncating solution. Truncate text block by given line number and add ellipsis to the end.

Home Page:https://line-truncation-site.appspot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect peer dependencies

Enngage opened this issue · comments

Hi,

Could you please fix the peer dependencies? You are currently 'forcing' angular@8.0.1 dependency for anyone who uses your lib. You get a message such as:

npm WARN ngx-line-truncation@1.2.3 requires a peer of @angular/common@~8.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-line-truncation@1.2.3 requires a peer of @angular/core@~8.0.1 but none is installed. You must install peer dependencies yourself.

You should configure peerDependencies to contain entire version 8 or I wouldn't be as worried as specifying future proof versions (e.g. > 8).

Hey Enngage, i have updated peerDependencies syntax for a wider compatible version range.
Please let me know if this works for you, thank you!

Yeah, all good now. Thanks!