Skip to content
  • Zéfling's avatar
    ng update @angular/cli@12 @angular/core@12 · 076693c2
    Zéfling authored
    The installed Angular CLI version is outdated.
    Installing a temporary Angular CLI versioned 12.2.17 to perform the update.
     Package successfully installed.
    Using package manager: 'npm'
    Collecting installed dependencies...
    Found 32 dependencies.
    Fetching dependency metadata from registry...
        Updating package.json with dependency @angular-devkit/build-angular @ "12.2.17" (was "0.1102.19")...
        Updating package.json with dependency @angular/cli @ "12.2.17" (was "11.2.19")...
        Updating package.json with dependency @angular/compiler-cli @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/language-service @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency ng-packagr @ "12.2.7" (was "11.2.4")...
        Updating package.json with dependency typescript @ "4.3.5" (was "4.1.6")...
        Updating package.json with dependency @angular/animations @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/common @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/compiler @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/core @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/forms @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/platform-browser @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/platform-browser-dynamic @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency @angular/router @ "12.2.16" (was "11.2.14")...
        Updating package.json with dependency tslib @ "2.4.0" (was "2.0.1")...
        Updating package.json with dependency zone.js @ "0.11.5" (was "0.10.3")...
      UPDATE package.json (1612 bytes)
     Packages successfully installed.
    ** Executing migrations of package '@angular/cli' **
    
    ▸ Remove deprecated options from 'angular.json' that are no longer present in v12.
      UPDATE angular.json (5550 bytes)
      Migration completed.
    
    ▸ Update 'zone.js' to version 0.11.x.
      Read more about this here: https://github.com/angular/angular/blob/master/packages/zone.js/CHANGELOG.md#breaking-changes-since-zonejs-v0111
      UPDATE package.json (1613 bytes)
      UPDATE projects/coloration/src/test.ts (680 bytes)
      UPDATE src/polyfills.ts (2825 bytes)
      UPDATE src/test.ts (632 bytes)
      UPDATE src/environments/environment.ts (665 bytes)
     Packages installed successfully.
      Migration completed.
    
    ▸ Remove 'emitDecoratorMetadata' TypeScript compiler option.
      Decorator metadata is no longer needed by Angular.
      Read more about this here: https://www.typescriptlang.org/docs/handbook/decorators.html#metadata
      UPDATE tsconfig.json (573 bytes)
      UPDATE projects/coloration/tsconfig.lib.json (679 bytes)
      Migration completed.
    
    ▸ Lazy loading syntax migration.
      Update lazy loading string syntax to use dynamic imports.
      Migration completed.
    
    ▸ Remove deprecated ViewEngine-based i18n build and extract options.
      Options present in the configuration will be converted to use non-deprecated options.
      Migration completed.
    
    ▸ Updates Web Worker consumer usage to use the new syntax supported directly by Webpack 5.
      Migration completed.
    
    ▸ Remove invalid 'skipTests' option in '@schematics/angular:module' Angular schematic options.
      Migration completed.
    
    ▸ Replace the deprecated '--prod' in package.json scripts.
      UPDATE package.json (1633 bytes)
      Migration completed.
    
    ** Executing migrations of package '@angular/core' **
    
    ▸ In Angular version 12, the type of ActivatedRouteSnapshot.fragment is nullable.
      This migration automatically adds non-null assertions to it.
      Migration completed.
    
    ▸ `XhrFactory` has been moved from `@angular/common/http` to `@angular/common`.
      Migration completed.
    
    ▸ Automatically migrates shadow-piercing selector from `/deep/` to the recommended alternative `::ng-deep`.
      Migration completed.
    076693c2