/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/cli/src/commands/mcp/shared-options.ts
24 строки
628 B
Alon Mishne
feat(@angular/cli): standardize MCP tools around workspace/project options
26 янв 2026, 18:42
26 янв 2026, 18:42
98a24d0
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC 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.dev/license */ import { z } from 'zod'; export const workspaceAndProjectOptions = { workspace: z .string() .optional() .describe( 'The path to the workspace directory (containing angular.json). If not provided, uses the current directory.', ), project: z .string() .optional() .describe( 'Which project to target in a monorepo context. If not provided, targets the default project.', ), };