From 909717c8da1d8ef01ebb53434a950ad7287ec4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9fling?= Date: Sat, 6 Jan 2024 23:40:01 +0100 Subject: [PATCH] ng update @angular-eslint/schematics @angular/cdk @angular/cli @angular/core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 50 dependencies. Fetching dependency metadata from registry... Updating package.json with dependency @angular-devkit/build-angular @ "17.0.9" (was "16.1.4")... Updating package.json with dependency @angular-eslint/builder @ "17.2.0" (was "16.1.0")... Updating package.json with dependency @angular-eslint/eslint-plugin @ "17.2.0" (was "16.1.0")... Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "17.2.0" (was "16.1.0")... Updating package.json with dependency @angular-eslint/schematics @ "17.2.0" (was "16.1.0")... Updating package.json with dependency @angular-eslint/template-parser @ "17.2.0" (was "16.1.0")... Updating package.json with dependency @angular/cli @ "17.0.9" (was "16.1.4")... Updating package.json with dependency @angular/compiler-cli @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/language-service @ "17.0.8" (was "16.1.6")... Updating package.json with dependency ng-packagr @ "17.0.3" (was "16.1.0")... Updating package.json with dependency typescript @ "5.2.2" (was "4.9.5")... Updating package.json with dependency @angular/animations @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/cdk @ "17.0.4" (was "16.1.5")... Updating package.json with dependency @angular/common @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/compiler @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/core @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/forms @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/platform-browser @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/platform-browser-dynamic @ "17.0.8" (was "16.1.6")... Updating package.json with dependency @angular/router @ "17.0.8" (was "16.1.6")... Updating package.json with dependency zone.js @ "0.14.2" (was "0.13.1")... UPDATE package.json (2463 bytes) ✔ Packages successfully installed. ** Executing migrations of package '@angular-eslint/schematics' ** ▸ Updates @angular-eslint to v17. UPDATE package.json (2464 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'. Migration completed (No changes made). ▸ Replace usages of '@nguniversal/' packages with '@angular/ssr'. Migration completed (No changes made). ▸ Replace deprecated options in 'angular.json'. UPDATE angular.json (5081 bytes) Migration completed (1 file modified). ** Executing migrations of package '@angular/cdk' ** ▸ Updates the Angular CDK to v17. Skipping migration for project ng-select2-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. Migration completed (No changes made). ▸ 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). --- angular.json | 6 +++--- package.json | 50 +++++++++++++++++++++++++------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/angular.json b/angular.json index 5dc1c8e..3ec2dd6 100644 --- a/angular.json +++ b/angular.json @@ -66,18 +66,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "ng-select2:build" + "buildTarget": "ng-select2:build" }, "configurations": { "production": { - "browserTarget": "ng-select2:build:production" + "buildTarget": "ng-select2:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "ng-select2:build" + "buildTarget": "ng-select2:build" } }, "test": { diff --git a/package.json b/package.json index 7905cb6..24ce540 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,15 @@ }, "private": false, "dependencies": { - "@angular/animations": "^16.1.6", - "@angular/cdk": "^16.1.5", - "@angular/common": "^16.1.6", - "@angular/compiler": "^16.1.6", - "@angular/core": "^16.1.6", - "@angular/forms": "^16.1.6", - "@angular/platform-browser": "^16.1.6", - "@angular/platform-browser-dynamic": "^16.1.6", - "@angular/router": "^16.1.6", + "@angular/animations": "^17.0.8", + "@angular/cdk": "^17.0.4", + "@angular/common": "^17.0.8", + "@angular/compiler": "^17.0.8", + "@angular/core": "^17.0.8", + "@angular/forms": "^17.0.8", + "@angular/platform-browser": "^17.0.8", + "@angular/platform-browser-dynamic": "^17.0.8", + "@angular/router": "^17.0.8", "@ikilote/json2html": "0.4.1", "bowser": "2.11.0", "core-js": "^2.5.4", @@ -33,24 +33,24 @@ "ngx-highlightjs": "9.0.0", "ngx-infinite-scroll": ">=16.0.0", "rxjs": "^6.6.7", - "zone.js": "~0.13.0" + "zone.js": "~0.14.2" }, "devDependencies": { - "@angular-devkit/build-angular": "16.1.4", - "@angular-eslint/builder": "16.1.0", - "@angular-eslint/eslint-plugin": "16.1.0", - "@angular-eslint/eslint-plugin-template": "16.1.0", - "@angular-eslint/schematics": "16.1.0", - "@angular-eslint/template-parser": "16.1.0", - "@angular/cli": "^16.1.4", - "@angular/compiler-cli": "^16.1.6", - "@angular/language-service": "^16.1.6", + "@angular-devkit/build-angular": "17.0.9", + "@angular-eslint/builder": "17.2.0", + "@angular-eslint/eslint-plugin": "17.2.0", + "@angular-eslint/eslint-plugin-template": "17.2.0", + "@angular-eslint/schematics": "17.2.0", + "@angular-eslint/template-parser": "17.2.0", + "@angular/cli": "^17.0.9", + "@angular/compiler-cli": "^17.0.8", + "@angular/language-service": "^17.0.8", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "8.9.5", - "@typescript-eslint/eslint-plugin": "^5.59.2", - "@typescript-eslint/parser": "^5.59.2", - "eslint": "^8.39.0", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", + "eslint": "^8.53.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-import": "latest", "eslint-plugin-jsdoc": "latest", @@ -63,11 +63,11 @@ "karma-coverage-istanbul-reporter": "~2.0.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", - "ng-packagr": "^16.0.1", + "ng-packagr": "^17.0.3", "prettier": "^2.8.7", "protractor": "^7.0.0", "ts-node": "~7.0.1", "tslib": "^2.3.0", - "typescript": "~4.9.5" + "typescript": "~5.2.2" } -} \ No newline at end of file +}