Skip to content

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.

@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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

2 participants