moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

Angular 4 compatibility #43

Closed nertzy closed 7 years ago

nertzy commented 7 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior

npm WARN @ng-idle/core@2.0.0-beta.9 requires a peer of @angular/common@^2.0.0 but none was installed.
npm WARN @ng-idle/core@2.0.0-beta.9 requires a peer of @angular/core@^2.0.0 but none was installed.

Expected behavior npm install --save @ng-idle/core@latest should work with an Angular 4 project.

Minimal reproduction of the problem with instructions Run npm install --save @ng-idle/core@latest on an Angular 4 project.

What is the motivation / use case for changing the behavior? We want to upgrade our application to Angular 4, but @ng-idle/core is the only package that we use that doesn't support it yet.

Please tell us about your environment: macOS, IntelliJ, npm or yarn, webpack