hunk.code_window:   NodeModulesBuilderInfo,
     WorkspaceNodeModulesArchitectHost,
   } from '@angular-devkit/architect/node';
   import { json } from '@angular-devkit/core';
   import { spawnSync } from 'child_process';
   import { existsSync } from 'fs';
   import { resolve } from 'path';
   import { isPackageNameSafeForAnalytics } from '../analytics/analytics';
   import { EventCustomDimension, EventCustomMetric } from '../analytics/analytics-parameters';
   import { assertIsError } from '../utilities/error';
   import { askConfirmation, askQuestion } from '../utilities/prompt';
  
hunk.labels: keep keep keep keep replace replace replace keep keep keep keep
hunk.after_edit: import { existsSync } from 'node:fs';
   import { resolve } from 'node:path';
  
hunk.file_path: packages/angular/cli/src/command-builder/architect-base-command-module.ts
hunk.type: replace
file: {
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "Extract i18n Target",
    "description": "Extract i18n target options for Build Facade.",
    "type": "object",
    "properties": {
      "browserTarget": {
        "type": "string",
        "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
        "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
        "x-deprecated": "Use 'buildTarget' instead."
      },
      "buildTarget": {
        "type": "string",
        "description": "A builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
        "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
      },
      "format": {
        "type": "string",
        "description": "Output format for the generated file.",
        "default": "xlf",
        "enum": ["xmb", "xlf", "xlif", "xliff", "xlf2", "xliff2", "json", "arb", "legacy-migrate"]
      },
      "progress": {
        "type": "boolean",
        "description": "Log progress to the console.",
        "default": true
      },
      "outputPath": {
        "type": "string",
        "description": "Path where output will be placed."
      },
      "outFile": {
        "type": "string",
        "description": "Name of the file to output."
      }
    },
    "additionalProperties": false,
    "anyOf": [{ "required": ["buildTarget"] }, { "required": ["browserTarget"] }]
  }
  