hunk.code_window: } from '../utils/webpack-browser-config';
   import { BundleActionExecutor } from './action-executor';
   import { Schema as BrowserBuilderSchema } from './schema';
   const cacache = require('cacache');
   const cacheDownlevelPath = findCacheDirectory({ name: 'angular-build-dl' });
  
hunk.labels: keep keep keep keep replace keep
hunk.file_path: packages/angular_devkit/build_angular/src/browser/index.ts
hunk.type: replace
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
   */
  
  // tslint:disable:no-global-tslint-disable no-any
  import { Arguments } from '../models/interface';
  import { SchematicCommand } from '../models/schematic-command';
  import { Schema as NewCommandSchema } from './new';
  
  
  export class NewCommand extends SchematicCommand<NewCommandSchema> {
    public readonly allowMissingWorkspace = true;
    schematicName = 'ng-new';
  
    async initialize(options: NewCommandSchema & Arguments) {
      this.collectionName = options.collection || await this.getDefaultSchematicCollection();
  
      return super.initialize(options);
    }
  
    public async run(options: NewCommandSchema & Arguments) {
      // Register the version of the CLI in the registry.
      const packageJson = require('../package.json');
      const version = packageJson.version;
  
      this._workflow.registry.addSmartDefaultProvider('ng-cli-version', () => version);
  
      return this.runSchematic({
        collectionName: this.collectionName,
        schematicName: this.schematicName,
        schematicOptions: options['--'] || [],
        debug: !!options.debug,
        dryRun: !!options.dryRun,
        force: !!options.force,
      });
    }
  
  }
  