hunk.code_window: export interface TargetDefinition {
       builder: string;
       configurations?: Record<string, Record<string, JsonValue | undefined> | undefined>;
       options?: Record<string, JsonValue | undefined>;
   }
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:     defaultConfiguration?: string;
  
hunk.file_path: etc/api/angular_devkit/core/src/_golden-api.d.ts
hunk.type: add
file: /**
   * @license
   * 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 { Rule } from '@angular-devkit/schematics';
  import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
  import {
    NodeDependencyType,
    addPackageJsonDependency,
    getPackageJsonDependency,
  } from '../../utility/dependencies';
  import { latestVersions } from '../../utility/latest-versions';
  
  export { polyfillMetadataRule } from './polyfill-metadata';
  export { typeScriptHelpersRule } from './typescript-helpers';
  export { updateDevkitBuildNgPackagr } from './devkit-ng-packagr';
  
  export default function(): Rule {
    return (tree, context) => {
      const existing = getPackageJsonDependency(tree, '@angular-devkit/build-angular');
      if (existing && latestVersions.DevkitBuildAngular === existing.version) {
        return;
      }
  
      const type = existing ? existing.type : NodeDependencyType.Dev;
      addPackageJsonDependency(
        tree,
        {
          type,
          name: '@angular-devkit/build-angular',
          version: latestVersions.DevkitBuildAngular,
          overwrite: true,
        },
      );
  
      context.addTask(new NodePackageInstallTask());
    };
  }
  