Skip to content

build(aria): setup infrastructure for code examples#32553

Merged
crisbeto merged 1 commit intoangular:mainfrom
clydin:aria/mcp-examples
Jan 13, 2026
Merged

build(aria): setup infrastructure for code examples#32553
crisbeto merged 1 commit intoangular:mainfrom
clydin:aria/mcp-examples

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Dec 16, 2025

This commit introduces the infrastructure for embedding code examples within Angular packages, enabling them to be consumed by the Angular CLI's MCP server.

The @angular/aria package is the first to adopt this new feature. A new ng_examples_db Bazel rule is used to build a SQLite database from markdown files containing code examples. This database is then included in the published npm package.

The package.json for @angular/aria has been updated with an angular.examples field to allow tooling to discover and use the code examples.

@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Dec 16, 2025
@clydin clydin force-pushed the aria/mcp-examples branch 3 times, most recently from 0158774 to 75f66e6 Compare December 19, 2025 17:57
@clydin clydin requested a review from wagnermaciel December 19, 2025 18:43
@clydin clydin marked this pull request as ready for review December 19, 2025 18:43
@pullapprove pullapprove Bot requested a review from josephperrott December 19, 2025 18:44
@clydin clydin added target: minor This PR is targeted for the next minor release action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 19, 2025
Copy link
Copy Markdown
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread src/aria/BUILD.bazel
This commit introduces the infrastructure for embedding code examples within Angular packages, enabling them to be consumed by the Angular CLI's MCP server.

The `@angular/aria` package is the first to adopt this new feature. A new `ng_examples_db` Bazel rule is used to build a SQLite database from markdown files containing code examples. This database is then included in the published npm package.

The `package.json` for `@angular/aria` has been updated with an `angular.examples` field to allow tooling to discover and use the code examples.
@clydin clydin removed the request for review from wagnermaciel December 19, 2025 19:37
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 19, 2025
@crisbeto crisbeto merged commit fa13870 into angular:main Jan 13, 2026
26 checks passed
@crisbeto
Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the aria/mcp-examples branch January 13, 2026 15:06
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants