hunk.code_window:   private async findProjectVersion(name: string): Promise<string | null> {
       let installedPackage;
       try {
         installedPackage = resolve(
           name,
           { checkLocal: true, basedir: this.workspace.root, resolvePackageJson: true },
         );
       } catch { }
       if (installedPackage) {
  
hunk.labels: keep keep keep replace replace replace keep keep keep keep
hunk.after_edit:       installedPackage = require.resolve(
           join(name, 'package.json'),
           { paths: [this.workspace.root] },
  
hunk.file_path: packages/angular/cli/commands/add-impl.ts
hunk.type: replace
file: import { NgModule, Component } from '@angular/core';
  import { ServerModule  } from '@angular/platform-server';
  import { BrowserModule } from '@angular/platform-browser';
  import { RouterModule } from '@angular/router';
  
  import { AppComponent } from './app.component';
  import { MyInjectable } from './injectable';
  
  @Component({
    selector: 'home-view',
    template: 'home!'
  })
  export class HomeView {}
  
  
  @NgModule({
    declarations: [
      AppComponent,
      HomeView
    ],
    imports: [
      BrowserModule.withServerTransition({
        appId: 'app'
      }),
      ServerModule,
      RouterModule.forRoot([
        {path: 'lazy', loadChildren: './lazy.module#LazyModule'},
        {path: '', component: HomeView}
      ])
    ],
    providers: [MyInjectable],
    bootstrap: [AppComponent]
  })
  export class AppModule {
    static testProp: string;
  }
  