Skip to content

Commit

Permalink
Angular 19
Browse files Browse the repository at this point in the history
ng update @angular/cdk @angular/cli @angular/core @angular-eslint/schematics
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 19.0.0 to perform the update.
Using package manager: npm
Collecting installed dependencies...
Found 52 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-eslint/eslint-plugin" has a missing peer dependency of "@typescript-eslint/utils" @ "^7.11.0 || ^8.0.0".
                  Package "@angular-eslint/eslint-plugin-template" has a missing peer dependency of "@typescript-eslint/types" @ "^7.11.0 || ^8.0.0".
                  Package "@angular-eslint/eslint-plugin-template" has a missing peer dependency of "@typescript-eslint/utils" @ "^7.11.0 || ^8.0.0".
                  Package "@angular-eslint/schematics" has a missing peer dependency of "@angular-devkit/core" @ ">= 18.0.0 < 19.0.0".
                  Package "@angular-eslint/schematics" has a missing peer dependency of "@angular-devkit/schematics" @ ">= 18.0.0 < 19.0.0".
    Updating package.json with dependency @angular-devkit/build-angular @ "19.0.0" (was "18.0.2")...
    Updating package.json with dependency @angular-eslint/builder @ "18.4.1" (was "18.0.1")...
    Updating package.json with dependency @angular-eslint/eslint-plugin @ "18.4.1" (was "18.0.1")...
    Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "18.4.1" (was "18.0.1")...
    Updating package.json with dependency @angular-eslint/schematics @ "18.4.1" (was "18.0.1")...
    Updating package.json with dependency @angular-eslint/template-parser @ "18.4.1" (was "18.0.1")...
    Updating package.json with dependency @angular/cli @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/compiler-cli @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/language-service @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency ng-packagr @ "19.0.0" (was "18.1.0")...
    Updating package.json with dependency typescript @ "5.6.3" (was "5.4.5")...
    Updating package.json with dependency @angular/animations @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/cdk @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/common @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/compiler @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/core @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/forms @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/platform-browser @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/platform-browser-dynamic @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency @angular/router @ "19.0.0" (was "18.1.2")...
    Updating package.json with dependency zone.js @ "0.15.0" (was "0.14.8")...
UPDATE package.json (2545 bytes)
✔ Cleaning node modules directory
✔ Installing packages
** Executing migrations of package '@angular-eslint/schematics' **

❯ Updates @angular-eslint to v18.2.
  Migration completed (No changes made).

** Executing migrations of package '@angular/cli' **

❯ Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.
  Migration completed (No changes made).

❯ Update the workspace configuration by replacing deprecated options in 'angular.json' for compatibility with the latest Angular CLI changes.
  Migration completed (No changes made).

** Optional migrations of package '@angular/cli' **

This package has 1 optional migration that can be executed.
Optional migrations may be skipped and executed after the update process, if preferred.

 Select the migrations that you'd like to run [use-application-builder] Migrate application projects to the new build system. (https://angular.dev/tools/cli/build-system-migration)

❯ Migrate application projects to the new build system.
  Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder.
  You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration
UPDATE tsconfig.json (620 bytes)
  Migration completed (1 file modified).

** Executing migrations of package '@angular/cdk' **

❯ Updates the Angular CDK to v19.
    Skipping migration for project ng-select2-e2e. Unable to determine 'tsconfig.json' file in workspace config.

      ✓  Updated Angular CDK to version 19

  Migration completed (No changes made).

** Executing migrations of package '@angular/core' **

❯ Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone.
UPDATE projects/ng-select2-component/src/lib/select2.component.ts (40142 bytes)
UPDATE projects/ng-select2-component/src/lib/select2-hint.component.ts (140 bytes)
UPDATE projects/ng-select2-component/src/lib/select2-label.component.ts (142 bytes)
UPDATE src/app/app-examples.component.ts (6503 bytes)
UPDATE src/app/app-gen.component.ts (17275 bytes)
UPDATE src/app/app.component.ts (281 bytes)
  Migration completed (6 files modified).

❯ Updates ExperimentalPendingTasks to PendingTasks.
  Migration completed (No changes made).

** Optional migrations of package '@angular/core' **

This package has 1 optional migration that can be executed.
Optional migrations may be skipped and executed after the update process, if preferred.

 Select the migrations that you'd like to run [provide-initializer] Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`,
 `provideEnvironmentInitializer` & `providePlatformInitializer`.

❯ Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.
  Migration completed (No changes made).
  • Loading branch information
Zefling committed Nov 20, 2024
1 parent 4442541 commit ef5b8da
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 23 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
},
"private": false,
"dependencies": {
"@angular/animations": "^18.0.1",
"@angular/cdk": "^18.0.1",
"@angular/common": "^18.0.1",
"@angular/compiler": "^18.0.1",
"@angular/core": "^18.0.1",
"@angular/forms": "^18.0.1",
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"@angular/animations": "^19.0.0",
"@angular/cdk": "^19.0.0",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@ikilote/json2html": "0.4.1",
"bowser": "2.11.0",
"core-js": "^2.5.4",
Expand All @@ -34,18 +34,18 @@
"ngx-highlightjs": "12.0.0",
"ngx-infinite-scroll": ">=18.0.0",
"rxjs": "^7.8.1",
"zone.js": "~0.14.2"
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.0.2",
"@angular-eslint/builder": "18.0.1",
"@angular-eslint/eslint-plugin": "18.0.1",
"@angular-eslint/eslint-plugin-template": "18.0.1",
"@angular-eslint/schematics": "18.0.1",
"@angular-eslint/template-parser": "18.0.1",
"@angular/cli": "^18.0.2",
"@angular/compiler-cli": "^18.0.1",
"@angular/language-service": "^18.0.1",
"@angular-devkit/build-angular": "19.0.0",
"@angular-eslint/builder": "18.4.1",
"@angular-eslint/eslint-plugin": "18.4.1",
"@angular-eslint/eslint-plugin-template": "18.4.1",
"@angular-eslint/schematics": "18.4.1",
"@angular-eslint/template-parser": "18.4.1",
"@angular/cli": "^19.0.0",
"@angular/compiler-cli": "^19.0.0",
"@angular/language-service": "^19.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
Expand All @@ -65,11 +65,11 @@
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^18.0.0",
"ng-packagr": "^19.0.0",
"prettier": "^3.3.3",
"protractor": "^7.0.0",
"ts-node": "~7.0.1",
"tslib": "^2.3.0",
"typescript": "~5.4.5"
"typescript": "~5.6.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Directive } from '@angular/core';

@Directive({ selector: 'select2-hint' })
@Directive({
selector: 'select2-hint',
standalone: false
})
export class Select2Hint {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Directive } from '@angular/core';

@Directive({ selector: 'select2-label' })
@Directive({
selector: 'select2-label',
standalone: false
})
export class Select2Label {}
1 change: 1 addition & 0 deletions projects/ng-select2-component/src/lib/select2.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const displaySearchStatusList = ['default', 'hidden', 'always'];
selector: 'select2',
templateUrl: './select2.component.html',
styleUrls: ['./select2.component.scss'],
standalone: false
})
export class Select2 implements ControlValueAccessor, OnInit, DoCheck, AfterViewInit {
_data: Select2Data;
Expand Down
1 change: 1 addition & 0 deletions src/app/app-examples.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {
selector: 'app-root',
templateUrl: './app-examples.component.html',
styleUrls: ['./app-examples.component.scss'],
standalone: false
})
export class AppExamplesComponent {
data1 = data1;
Expand Down
1 change: 1 addition & 0 deletions src/app/app-gen.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { data24 } from './app.data';
selector: 'app-root',
templateUrl: './app-gen.component.html',
styleUrls: ['./app-gen.component.scss'],
standalone: false
})
export class AppGenComponent implements AfterContentInit {
data = data24;
Expand Down
1 change: 1 addition & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ import { Component, ViewEncapsulation } from '@angular/core';
templateUrl: './app.component.html',
encapsulation: ViewEncapsulation.None,
styleUrls: ['./app.component.scss'],
standalone: false
})
export class AppComponent {}

0 comments on commit ef5b8da

Please sign in to comment.