hunk.code_window:  * Copyright Google Inc. All Rights Reserved.
    *
    * Use of this source code is governed by an MIT-style license that can be
    * found in the LICENSE file at https://angular.io/license
    */
   import { experimental, json, logging } from '@angular-devkit/core';
   import { Observable, from } from 'rxjs';
   import { switchMap } from 'rxjs/operators';
   import { Schema as RealBuilderInput, Target as RealTarget } from './input-schema';
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit: import { analytics, experimental, json, logging } from '@angular-devkit/core';
  
hunk.file_path: packages/angular_devkit/architect/src/api.ts
hunk.type: replace
file: import { createProjectFromAsset } from '../../utils/assets';
  import { ng, silentNpm } from '../../utils/process';
  import { useBuiltPackages, useCIChrome, useCIDefaults } from '../../utils/project';
  import { expectToFail } from '../../utils/utils';
  
  
  export default function () {
    return Promise.resolve()
      .then(() => createProjectFromAsset('1.0-project'))
      .then(() => useCIChrome('.'))
      .then(() => expectToFail(() => ng('build')))
      .then(() => ng('update', '@angular/cli'))
      .then(() => useBuiltPackages())
      .then(() => silentNpm('install'))
      .then(() => useCIDefaults('one-oh-project'))
      .then(() => ng('generate', 'component', 'my-comp'))
      .then(() => ng('test', '--watch=false'))
      .then(() => ng('lint'))
      .then(() => ng('build'))
      .then(() => ng('build', '--prod'))
      .then(() => ng('e2e'));
  }
  