Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
crisbeto merged 1 commit into angular:main from clydin:aria/mcp-examples
Jan 13, 2026

Conversation

@clydin
Copy link
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.

SkyZeroZx reacted with eyes emoji
@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 marked this pull request as ready for review December 19, 2025 18:43
@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
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

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@josephperrott josephperrott josephperrott approved these changes

Assignees

No one assigned

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

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /