hunk.code_window:   NodeMajorVersion = 'upn.ng_node_major_version',
     AngularCLIVersion = 'up.ng_cli_version',
     AngularCLIMajorVersion = 'upn.ng_cli_major_version',
     PackageManager = 'up.ng_package_manager',
     PackageManagerVersion = 'up.ng_package_manager_version',
     PackageManagerMajorVersion = 'upn.ng_package_manager_major_version',
   }
   /**
  
hunk.labels: keep keep keep keep replace replace keep keep keep
hunk.after_edit:   PackageManagerVersion = 'up.ng_pkg_manager_version',
     PackageManagerMajorVersion = 'upn.ng_pkg_manager_major_v',
  
hunk.file_path: packages/angular/cli/src/analytics/analytics-parameters.ts
hunk.type: replace
file: import { mkdir } from 'fs/promises';
  import { join } from 'path';
  import { getGlobalVariable, setGlobalVariable } from '../utils/env';
  
  /**
   * Create a parent directory for test projects to be created within.
   * Change the cwd() to that directory in preparation for launching the cli.
   */
  export default async function () {
    const tempRoot: string = getGlobalVariable('tmp-root');
    const projectsRoot = join(tempRoot, 'e2e-test');
  
    setGlobalVariable('projects-root', projectsRoot);
  
    await mkdir(projectsRoot);
  
    console.log(`  Using "${projectsRoot}" as temporary directory for a new project.`);
    process.chdir(projectsRoot);
  }
  