From 46cb10f181312419b89ca4e9da8116a1e47a7478 Mon Sep 17 00:00:00 2001 From: E-Jacques <55321938+E-Jacques@users.noreply.github.com> Date: Fri, 23 Jun 2023 13:51:49 +0200 Subject: [PATCH 1/3] add a & href tags around Typescript 3.1 & 4.4 releases notes --- src/app/recommendations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/recommendations.ts b/src/app/recommendations.ts index 60e34f5..e99a583 100644 --- a/src/app/recommendations.ts +++ b/src/app/recommendations.ts @@ -62,7 +62,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 600, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'update to RxJS 6', action: 'Remove deprecated RxJS 5 features using rxjs-tslint auto update rules

For most applications this will mean running the following two commands:

`npx rxjs-tslint`
`rxjs-5-to-6-migrate -p src/tsconfig.app.json`'}, { possibleIn: 600, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'remove rxjs-compat', action: 'Once you and all of your dependencies have updated to RxJS 6, remove `rxjs-compat`.'}, { possibleIn: 610, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'use files instead of versionedFiles', action: 'If you use the Angular Service worker, migrate any `versionedFiles` to the `files` array. The behavior is the same.'}, - { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'TypeScript 3.1', action: 'Angular now uses TypeScript 3.1, read more about any potential breaking changes: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-1.html', }, + { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'TypeScript 3.1', action: 'Angular now uses TypeScript 3.1, read more about any potential breaking changes: TypeScript 3.1 release notes', }, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'Node 10', action: 'Angular has now added support for Node 10: https://nodejs.org/en/blog/release/v10.0.0/', }, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: false, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@7 update @angular/cli@7 @angular/core@7` in your terminal.'}, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: true, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `cmd /C "set "NG_DISABLE_VERSION_CHECK=1" && npx @angular/cli@7 update @angular/cli@7 @angular/core@7"` in your terminal.'}, @@ -183,7 +183,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'v13 ng update', action: 'Run `ng update @angular/core@13 @angular/cli@13` which should bring you to version 13 of Angular.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, material: true, step: 'update @angular/material', action: 'Run `ng update @angular/material@13`.' }, - { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'TypeScript 4.4', action: 'Angular now uses TypeScript 4.4, read more about any potential breaking changes: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html', }, + { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'TypeScript 4.4', action: 'Angular now uses TypeScript 4.4, read more about any potential breaking changes: TypeScript 4.4 release notes', }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'v13 node', action: 'Make sure you are using Node 12.20.0 or later', }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Medium, step: 'v13 routerLink', action: 'You can now disable the navigation of a `routerLink` by passing `undefined` and `null`. Previously the `routerLink` directive used to accept these two values as equivalent to an empty string.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Medium, step: 'v13 router loadChildren', action: 'You can no longer specify lazy-loaded routes by setting a string value to `loadChildren`. Make sure you move to dynamic ESM import statements.' }, From 5c1d8c534ee4062635c904d59c8ad32e5cc5ebae Mon Sep 17 00:00:00 2001 From: E-Jacques <55321938+E-Jacques@users.noreply.github.com> Date: Fri, 23 Jun 2023 13:56:03 +0200 Subject: [PATCH 2/3] fix: Add missing 'target="_blank"' to a tags --- src/app/recommendations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/recommendations.ts b/src/app/recommendations.ts index e99a583..870fc6d 100644 --- a/src/app/recommendations.ts +++ b/src/app/recommendations.ts @@ -62,7 +62,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 600, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'update to RxJS 6', action: 'Remove deprecated RxJS 5 features using rxjs-tslint auto update rules

For most applications this will mean running the following two commands:

`npx rxjs-tslint`
`rxjs-5-to-6-migrate -p src/tsconfig.app.json`'}, { possibleIn: 600, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'remove rxjs-compat', action: 'Once you and all of your dependencies have updated to RxJS 6, remove `rxjs-compat`.'}, { possibleIn: 610, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'use files instead of versionedFiles', action: 'If you use the Angular Service worker, migrate any `versionedFiles` to the `files` array. The behavior is the same.'}, - { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'TypeScript 3.1', action: 'Angular now uses TypeScript 3.1, read more about any potential breaking changes: TypeScript 3.1 release notes', }, + { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'TypeScript 3.1', action: 'Angular now uses TypeScript 3.1, read more about any potential breaking changes: TypeScript 3.1 release notes', }, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'Node 10', action: 'Angular has now added support for Node 10: https://nodejs.org/en/blog/release/v10.0.0/', }, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: false, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@7 update @angular/cli@7 @angular/core@7` in your terminal.'}, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: true, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `cmd /C "set "NG_DISABLE_VERSION_CHECK=1" && npx @angular/cli@7 update @angular/cli@7 @angular/core@7"` in your terminal.'}, @@ -183,7 +183,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'v13 ng update', action: 'Run `ng update @angular/core@13 @angular/cli@13` which should bring you to version 13 of Angular.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, material: true, step: 'update @angular/material', action: 'Run `ng update @angular/material@13`.' }, - { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'TypeScript 4.4', action: 'Angular now uses TypeScript 4.4, read more about any potential breaking changes: TypeScript 4.4 release notes', }, + { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'TypeScript 4.4', action: 'Angular now uses TypeScript 4.4, read more about any potential breaking changes: TypeScript 4.4 release notes', }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Basic, step: 'v13 node', action: 'Make sure you are using Node 12.20.0 or later', }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Medium, step: 'v13 routerLink', action: 'You can now disable the navigation of a `routerLink` by passing `undefined` and `null`. Previously the `routerLink` directive used to accept these two values as equivalent to an empty string.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: ApplicationComplexity.Medium, step: 'v13 router loadChildren', action: 'You can no longer specify lazy-loaded routes by setting a string value to `loadChildren`. Make sure you move to dynamic ESM import statements.' }, From e4f66004eb522f826bb18fd33f062ed848a6c38c Mon Sep 17 00:00:00 2001 From: E-Jacques Date: Thu, 9 Nov 2023 08:15:20 +0100 Subject: [PATCH 3/3] fix: Add missing changes on node links --- src/app/recommendations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/recommendations.ts b/src/app/recommendations.ts index 870fc6d..3f851b9 100644 --- a/src/app/recommendations.ts +++ b/src/app/recommendations.ts @@ -63,7 +63,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 600, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'remove rxjs-compat', action: 'Once you and all of your dependencies have updated to RxJS 6, remove `rxjs-compat`.'}, { possibleIn: 610, necessaryAsOf: 800, level: ApplicationComplexity.Medium, step: 'use files instead of versionedFiles', action: 'If you use the Angular Service worker, migrate any `versionedFiles` to the `files` array. The behavior is the same.'}, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'TypeScript 3.1', action: 'Angular now uses TypeScript 3.1, read more about any potential breaking changes: TypeScript 3.1 release notes', }, - { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'Node 10', action: 'Angular has now added support for Node 10: https://nodejs.org/en/blog/release/v10.0.0/', }, + { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, step: 'Node 10', action: 'Angular has now added support for Node 10', }, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: false, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@7 update @angular/cli@7 @angular/core@7` in your terminal.'}, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: true, step: 'v7 update', action: 'Update to v7 of the core framework and CLI by running `cmd /C "set "NG_DISABLE_VERSION_CHECK=1" && npx @angular/cli@7 update @angular/cli@7 @angular/core@7"` in your terminal.'}, { possibleIn: 700, necessaryAsOf: 700, level: ApplicationComplexity.Basic, windows: false, material: true, step: 'v7 material update', action: 'Update Angular Material to v7 by running `NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@7 update @angular/material@7` in your terminal. You should test your application for sizing and layout changes.'},