# Upgrading from v13 to v14

The main feature in `prestations-ng` v14 is the update of the `@angular/*` peer dependencies
to `^12.1.0`.

## Updating Angular

`prestations-ng` v14.5+ now supports Angular 12. You can follow the Angular update guide
at this address:

- [https://update.angular.io/?l=3&v=11.0-12.0](https://update.angular.io/?l=3&v=11.0-12.0)

### When having migrated to ESLint

```bash
yarn global add @angular/cli@12
ng update @angular/core@12 @angular/cli@12
ng update @angular-eslint/builder@12
ng update @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
ng update eslint-plugin-import eslint-plugin-jasmine eslint-plugin-jsdoc eslint-plugin-prefer-arrow
ng update eslint-plugin-rxjs@3
ng update @typescript-eslint/eslint-plugin @typescript-eslint/parser
ng update eslint
ng update rxjs@6
ng update ng-http-loader@10
ng update @types/jasmine @types/node@15 ts-node@10
yarn add dayjs@1
yarn add ngx-image-cropper@5
ng update @dsivd/prestations-ng@14
# Remove your resolutions in package.json before executing 'yarn upgrade'
yarn upgrade
```

### Otherwise

```bash
yarn global add @angular/cli@12
ng update @angular/core@12 @angular/cli@12
ng update rxjs@6
ng update ng-http-loader@10
ng update @types/jasmine @types/node@15 ts-node@10
yarn add dayjs@1
yarn add ngx-image-cropper@5
ng update @dsivd/prestations-ng@14
# Remove your resolutions in package.json before executing 'yarn upgrade'
yarn upgrade
```

## Migrating to ESLint

- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
