From 71fb7659ac7ac52c710bba70cb4af546fd57ef4c Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Tue, 17 Oct 2023 07:39:35 -0600 Subject: [PATCH] clean up --- angular-update.md | 122 ---------------------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 angular-update.md diff --git a/angular-update.md b/angular-update.md deleted file mode 100644 index f7de05f17e..0000000000 --- a/angular-update.md +++ /dev/null @@ -1,122 +0,0 @@ ---- - -ng update @angular/core@16 @angular/cli@16 -The installed Angular CLI version is outdated. -Installing a temporary Angular CLI versioned 16.2.6 to perform the update. -✔ Packages successfully installed. -Using package manager: yarn -Collecting installed dependencies... -Found 92 dependencies. -Fetching dependency metadata from registry... -Updating package.json with dependency @angular-devkit/build-angular @ "16.2.6" (was "15.2.10")... -Updating package.json with dependency @angular-devkit/schematics @ "16.2.6" (was "15.2.10")... -Updating package.json with dependency @angular/cli @ "16.2.6" (was "15.2.10")... -Updating package.json with dependency @angular/compiler-cli @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/language-service @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency typescript @ "5.1.6" (was "4.8.4")... -Updating package.json with dependency @angular-devkit/core @ "16.2.6" (was "15.2.10")... -Updating package.json with dependency @angular/animations @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/common @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/compiler @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/core @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/forms @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/localize @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/platform-browser @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/platform-browser-dynamic @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/router @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency @angular/service-worker @ "16.2.8" (was "15.2.10")... -Updating package.json with dependency zone.js @ "0.13.3" (was "0.11.8")... -UPDATE package.json (6057 bytes) -⠙ Installing packages... -⠹ Installing packages... -✔ Packages successfully installed. -** Executing migrations of package '@angular/cli' ** - -❯ Remove 'defaultProject' option from workspace configuration. -The project to use will be determined from the current working directory. -Migration completed (No changes made). - -❯ Replace removed 'defaultCollection' option in workspace configuration with 'schematicCollections'. -Migration completed (No changes made). - -❯ Update the '@angular-devkit/build-angular:server' builder configuration to disable 'buildOptimizer' for non optimized builds. -Migration completed (No changes made). - -** Executing migrations of package '@angular/core' ** - -❯ In Angular version 15.2, the guard and resolver interfaces (CanActivate, Resolve, etc) were deprecated. -This migration removes imports and 'implements' clauses that contain them. -UPDATE src/app/guards/authenticated.guard.ts (848 bytes) -UPDATE src/app/guards/sign-in.guard.ts (2282 bytes) -UPDATE src/app/guards/authorize.guard.ts (3661 bytes) -UPDATE src/app/guards/register.guard.ts (922 bytes) -UPDATE src/app/guards/link-account.guard.ts (1198 bytes) -UPDATE src/app/guards/language.guard.ts (4575 bytes) -UPDATE src/app/guards/third-party-signin-completed.guard.ts (2312 bytes) -UPDATE src/app/guards/two-factor-signin.guard.ts (1058 bytes) -UPDATE src/app/guards/authenticated-no-delagator.guard.ts (1379 bytes) -Migration completed (9 files modified). - -❯ As of Angular v16, the `moduleId` property of `@Component` is deprecated as it no longer has any effect. -Migration completed (No changes made). - ---- - -ng update @angular/core@15 @angular/cli@15 -The installed Angular CLI version is outdated. -Installing a temporary Angular CLI versioned 15.2.10 to perform the update. -✔ Packages successfully installed. -Using package manager: yarn -Collecting installed dependencies... -Found 94 dependencies. -Fetching dependency metadata from registry... -Updating package.json with dependency @angular-devkit/build-angular @ "15.2.10" (was "14.2.11")... -Updating package.json with dependency @angular-devkit/schematics @ "15.2.10" (was "14.2.11")... -Updating package.json with dependency @angular/cli @ "15.2.10" (was "14.2.11")... -Updating package.json with dependency @angular/compiler-cli @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/language-service @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular-devkit/core @ "15.2.10" (was "14.2.11")... -Updating package.json with dependency @angular/animations @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/common @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/compiler @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/core @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/forms @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/localize @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/platform-browser @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/platform-browser-dynamic @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/router @ "15.2.10" (was "14.3.0")... -Updating package.json with dependency @angular/service-worker @ "15.2.10" (was "14.3.0")... -UPDATE package.json (6129 bytes) -✔ Packages successfully installed. -** Executing migrations of package '@angular/cli' ** - -❯ Remove Browserslist configuration files that matches the Angular CLI default configuration. -Migration completed (No changes made). - -❯ Remove exported `@angular/platform-server` `renderModule` method. -The `renderModule` method is now exported by the Angular CLI. -Migration completed (No changes made). - -❯ Remove no longer needed require calls in Karma builder main file. -UPDATE src/test.ts (507 bytes) -Migration completed (1 file modified). - -❯ Update TypeScript compiler `target` and set `useDefineForClassFields`. -These changes are for IDE purposes as TypeScript compiler options `target` and `useDefineForClassFields` are set to `ES2022` and `false` respectively by the Angular CLI. -To control ECMA version and features use the Browerslist configuration. -UPDATE tsconfig.json (630 bytes) -Migration completed (1 file modified). - -❯ Remove options from 'angular.json' that are no longer supported by the official builders. -Migration completed (No changes made). - -** Executing migrations of package '@angular/core' ** - -❯ In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. -This migration removes all `relativeLinkResolution` fields from the Router config objects. -UPDATE src/app/app-routing.module.ts (5473 bytes) -Migration completed (1 file modified). - -❯ Since Angular v15, the `RouterLink` contains the logic of the `RouterLinkWithHref` directive. -This migration replaces all `RouterLinkWithHref` references with `RouterLink`. -Migration completed (No changes made).