RenovoSolutions / ngx-datetimepicker

An Angular component for a customizable date and time picker
MIT License
31 stars 24 forks source link

Upgraded from Angular 9 to 10 using the steps below: #151

Closed benjamin-a-kuntz closed 2 years ago

benjamin-a-kuntz commented 2 years ago

Installed v10 of @angular/localize per update.angular.io recommendation Ensured no instances of "entryComponents" or "ANALYZE_FOR_ENTRY_COMPONENTS" Ensured no instances of TestBed.get Upgraded ng-packagr to version 10 in compliance with Angular 10 peerDependency requirements Installed "tslib" version 2.3.1 in compliance with Angular 10 peerDependency requirements Upgraded to version 10 using command: npx @angular/cli@10 update @angular/core@10 @angular/cli@10 Did this step for both main project and demo Ran ng update on both the main project and the demo to ensure code updates everywhere. Updated instances of forRoot():ModuleWithProviders to include a relevant type per Angular 10 requirements Ensured no instances of formatDate or DatePipe Tested using npm run demo Successful compile, run and functionality.