feat(@schematics/angular): update ai-config to include Angular MCP server config#32973
feat(@schematics/angular): update ai-config to include Angular MCP server config#32973hawkgs wants to merge 1 commit intoangular:mainfrom
Conversation
37cb2af to
6590032
Compare
…rver config Update the `ai-config` schematic, which is activated during workspace creation, to enable Angular MCP server by default.
6590032 to
4490726
Compare
There was a problem hiding this comment.
Code Review
This pull request refactors the AI configuration schematic to support the generation and integration of Model Context Protocol (MCP) server configurations alongside best practices Markdown files. It introduces utility functions for creating or updating JSON and TOML configuration files, ensuring that existing settings are preserved and merged where applicable. The set of supported AI tools has been updated to include Claude Code, Cursor, Gemini CLI, OpenAI Codex, and VS Code, with corresponding updates to the schematic schema and unit tests. I have no feedback to provide as there are no review comments.
|
|
||
| if (existingFileBuffer) { | ||
| let existing = existingFileBuffer.toString(); | ||
| if (existing.includes(TOML_MCP_SERVERS_PROP)) { |
There was a problem hiding this comment.
I've opted out of using a TOML parser since I couldn't find an organization-managed one on npm.
I guess we can discuss whether this approach is good enough or we want something different.
Update the
ai-configschematic, which is activated during workspace creation, to enable Angular MCP server by default.