danielmoncada / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
141 stars 61 forks source link

Peer dependencies not compatible with @angular/material 10.1.1 #70

Closed Mexx62 closed 4 years ago

Mexx62 commented 4 years ago

When trying to update @angular/material dependency from version 9.1 to 10.0 (released a month ago), I've got an error because of angular-datetime-picker's peerDependencies. Here's the message:

Package "@danielmoncada/angular-datetime-picker" has an incompatible peer dependency to "@angular/cdk" (requires "^8.0.0 || ^9.0.0", would install "10.1.1").

I did the update anyway by using the --force flag, and the components seem to work fine.

If you support Angular 10 (and it seems you do given the description [9+]), can you change the peerDependencies to include @angular/material in ^10.0.0?

Thanks in advance.

Mexx62 commented 4 years ago

Duplicate with #56, sorry guys! I'm closing the issue