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

angular 10 support

Open igorlino opened this issue 3 years ago • 15 comments

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

image

Expected behavior

No npm install warnings

Minimal reproduction of the problem with instructions

  1. update to angular 10.0.4 and latest ngx-scroll-to
  2. npm install

What is the motivation / use case for changing the behavior?

less messages, to increase confidence. Its only cosmetic, as it works with newer angular 10.0.4

Environment


Angular version: 10.0.4

Your version of `@nicky-lenaers/ngx-scroll-to`: latest

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 12.18.3
- Platform: Windows

Others:

igorlino avatar Sep 02 '20 07:09 igorlino

P.S. while you're at it, Angular 11 is out already as well. What about making this package less restrictive and just specify the minimum version to avoid future issues like this. I mean something like:

"peerDependencies": {
    "@angular/common": ">=8.0.0",
    "@angular/core": ">=8.0.0",
    "tslib": "^1.10.0"
  }

Then, when something breaks, we could review this setting.

daniel-seitz avatar Nov 09 '20 07:11 daniel-seitz

PR with the upgrade to Angular v10 https://github.com/nicky-lenaers/ngx-scroll-to/pull/138. Tagging @rafa-as 😄

smileLilith avatar Jan 05 '21 23:01 smileLilith

I would also like to see this getting in. Thanks!

HarelM avatar Jan 16 '21 21:01 HarelM

@nicky-lenaers can you update the dependencies to 11? I've tested this to work with angular 11 as well - I would like to avoid these warnings if possible... pretty please :-)

HarelM avatar Feb 04 '21 10:02 HarelM

Hi there, I'm sorry for the delay, we will push the changes to make the warnings away ASAP.

rafa-suagu avatar Feb 04 '21 10:02 rafa-suagu

@rafa-as any updates on this? I haven't seen an update in npm...?

HarelM avatar Apr 06 '21 20:04 HarelM

Still not updated... I guess we have to use an other package. I do not want to run npm install/update with the --force flag every time.

D-Biela avatar Apr 23 '21 11:04 D-Biela

ping

csimpi avatar Jun 02 '21 23:06 csimpi

@Jonnyprof @rafa-as Any chance to get this sorted out?

HarelM avatar Jun 16 '21 21:06 HarelM

@maintainers, any change to push this forward? it's been open for a long time now. It is currently the last package I get a warning about that is related to angular 12. Simply change the dependencies to be >= 8.0 and add a note about using at your own risk, that's all, shouldn't take more than a few minutes... Please, please, please...

HarelM avatar Jul 20 '21 20:07 HarelM

The repo doesn't seem to be maintained anymore....

rbalet avatar Jul 29 '21 07:07 rbalet

Yup, I'll probably copy the files here into my codebase and remove the reference... :-(

HarelM avatar Jul 29 '21 07:07 HarelM

:( Angular 13.1 is out, and same story

igorlino avatar Dec 14 '21 08:12 igorlino

👍 Would be nice if this were updated.

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nicky-lenaers/[email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"13.3.1" from the root project
npm ERR!   peer @angular/common@"^13.0.0 || ^14.0.0-0" from @angular/[email protected]
npm ERR!   node_modules/@angular/cdk
npm ERR!     @angular/cdk@"~13.3.2" from the root project
npm ERR!     peer @angular/cdk@"13.3.2" from @angular/[email protected]
npm ERR!     node_modules/@angular/material
npm ERR!       @angular/material@"~13.3.2" from the root project
npm ERR!   11 more (@angular/fire, @angular/forms, @angular/material, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^8.0.0 || ^9.0.0" from @nicky-lenaers/[email protected]
npm ERR! node_modules/@nicky-lenaers/ngx-scroll-to
npm ERR!   @nicky-lenaers/ngx-scroll-to@"^9.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   peer @angular/common@"^8.0.0 || ^9.0.0" from @nicky-lenaers/[email protected]
npm ERR!   node_modules/@nicky-lenaers/ngx-scroll-to
npm ERR!     @nicky-lenaers/ngx-scroll-to@"^9.0.0" from the root project

josh803316 avatar Apr 03 '22 20:04 josh803316

:( Angular 14 is out

igorlino avatar Jun 08 '22 09:06 igorlino

Thanks to @rafa-as and @andreas-aeschlimann there is now some action again on this repo 🎉

To link stuff together, maybe we can rename this issue to Angular 10+ support and close #150 as a duplicate @andreas-aeschlimann ?

Anyway, for anybody interested in the current progress, please also check the discussion in PR #164

sambernet avatar Oct 19 '22 09:10 sambernet

Closing #150 in favor of this.

I hope the PR is resolved soon!

andreas-aeschlimann avatar Oct 19 '22 18:10 andreas-aeschlimann

Angular 13 support it's released and the 14 it's on the way

rafa-suagu avatar Oct 23 '22 23:10 rafa-suagu

Hi! Can this get Angular 11 support?

mmicheux avatar Dec 08 '22 22:12 mmicheux

The fork @paulvmoreau/ngx-scroll-to supports Angular 11, however neither supports Angular 12. The latest updates only support 13 and 14, it makes the upgrade path very difficult.

tstackhouse avatar Dec 20 '22 19:12 tstackhouse

akaustav avatar Jan 21 '23 19:01 akaustav