Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: upgrade Angular to v17 (#2728)
BREAKING CHANGE: Angular has been upgraded to v17 ng update @angular/{pwa,core,cdk,cli,animations,common,compiler,elements,forms,platform-browser,platform-browser-dynamic,platform-server,router,service-worker,compiler-cli,language-service}@17.0.0 @angular-devkit/{schematics,build-angular,core}@17.0.0 @angular-eslint/{builder,eslint-plugin,eslint-plugin-templat e,schematics,template-parser}@17.0.0 @ngrx/{effects,entity,router-store,schematics,store,store-devtools}@17.0.0 ng-packag [email protected] @angular-devkit/[email protected] [email protected] [email protected] @fortawesome/angular-fontawes [email protected] --force The installed Angular CLI version is outdated. Installing a temporary Angular CLI versioned 17.0.9 to perform the update. ✔ Packages successfully installed. Using package manager: npm Collecting installed dependencies... Found 106 dependencies. Fetching dependency metadata from registry... Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=5.2 <5.3", would install "5.3.3") Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=5.2 <5.3", would install "5.3.3") Package "ng-packagr" has an incompatible peer dependency to "typescript" (requires ">=5.2 <5.3", would install "5.3.3") Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=5.2 <5.3", would install "5.3.3"). Updating package.json with dependency @angular-devkit/architect @ "0.1700.9" (was "0.1602.11")... Updating package.json with dependency @angular-devkit/build-angular @ "17.0.0" (was "16.2.11")... Updating package.json with dependency @angular-devkit/core @ "17.0.0" (was "16.2.11")... Updating package.json with dependency @angular-devkit/schematics @ "17.0.0" (was "16.2.11")... Updating package.json with dependency @angular-eslint/builder @ "17.0.0" (was "16.3.1")... Updating package.json with dependency @angular-eslint/eslint-plugin @ "17.0.0" (was "16.3.1")... Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "17.0.0" (was "16.3.1")... Updating package.json with dependency @angular-eslint/schematics @ "17.0.0" (was "16.3.1")... Updating package.json with dependency @angular-eslint/template-parser @ "17.0.0" (was "16.3.1")... Updating package.json with dependency @angular/cli @ "17.0.0" (was "16.2.11")... Updating package.json with dependency @angular/compiler-cli @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/language-service @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @ngrx/store-devtools @ "17.0.0" (was "16.3.0")... Updating package.json with dependency ng-packagr @ "17.0.0" (was "16.2.3")... Updating package.json with dependency typescript @ "5.3.3" (was "4.9.5")... Updating package.json with dependency @angular/animations @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/cdk @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/common @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/compiler @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/core @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/elements @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/forms @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/platform-browser @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/platform-browser-dynamic @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/platform-server @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/pwa @ "17.0.0" (was "16.2.11")... Updating package.json with dependency @angular/router @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @angular/service-worker @ "17.0.0" (was "16.2.12")... Updating package.json with dependency @fortawesome/angular-fontawesome @ "0.14.1" (was "0.13.0")... Updating package.json with dependency @ngrx/effects @ "17.0.0" (was "16.3.0")... Updating package.json with dependency @ngrx/entity @ "17.0.0" (was "16.3.0")... Updating package.json with dependency @ngrx/router-store @ "17.0.0" (was "16.3.0")... Updating package.json with dependency @ngrx/schematics @ "17.0.0" (was "16.3.0")... Updating package.json with dependency @ngrx/store @ "17.0.0" (was "16.3.0")... Updating package.json with dependency angular-in-memory-web-api @ "0.17.0" (was "0.16.0")... Updating package.json with dependency zone.js @ "0.14.2" (was "0.13.3")... UPDATE package.json (4250 bytes) ✔ Packages successfully installed. ** Executing migrations of package '@angular-eslint/schematics' ** ▸ Updates @angular-eslint to v17. UPDATE package.json (4251 bytes) ✔ Packages installed successfully. Migration completed (1 file modified). ** Executing migrations of package '@angular/cli' ** ▸ Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'. UPDATE angular.json (71918 bytes) UPDATE package.json (4211 bytes) Migration completed (2 files modified). ▸ Replace usages of '@nguniversal/' packages with '@angular/ssr'. RENAME apps/daffio/server/server.ts => apps/daffio/server/server.ts.bak CREATE apps/daffio/server/server.ts (2206 bytes) UPDATE package.json (4195 bytes) ✔ Packages installed successfully. Migration completed (2 files modified). ▸ Replace deprecated options in 'angular.json'. UPDATE angular.json (71896 bytes) Migration completed (1 file modified). ** Executing migrations of package '@ngrx/store-devtools' ** ▸ The road to v17-beta.1. UPDATE apps/daffio/src/app/app.module.ts (1866 bytes) UPDATE apps/demo/src/app/app.module.ts (1861 bytes) Migration completed (2 files modified). ** Executing migrations of package '@angular/cdk' ** ▸ Updates the Angular CDK to v17. Skipping migration for project demo-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project daffio-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project design-land-e2e. Unable to determine 'tsconfig.json' file in workspace config. ✓ Updated Angular CDK to version 17 Migration completed (No changes made). ** Executing migrations of package '@angular/core' ** ▸ Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities. UPDATE apps/demo/src/app/misc/help-box/help-box.component.html (604 bytes) UPDATE apps/design-land/src/app/sidebar/sidebar.component.html (7697 bytes) UPDATE apps/design-land/src/app/foundations/variables/variables.component.html (2063 bytes) Migration completed (3 files modified). ▸ Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`. Migration completed (No changes made). ▸ CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage Migration completed (No changes made).
- Loading branch information