Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/a2ui-catalog.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ When maintaining A2UI component catalogs, keep the catalog-facing contract in a
Only `@a2uiCatalog` is a custom tag. Use standard TypeDoc-supported comments and tags for metadata: summaries for descriptions, `@remarks` for additional description, `@defaultValue` for schema defaults, and `@deprecated` for deprecated fields. Do not write JSON Schema in comments. Preserve existing enum order when regenerating catalog JSON, because catalog snapshots and LLM prompts can depend on deterministic option ordering.

Keep built-in catalog CSS assets in `packages/genui/a2ui/styles/catalog/*.css`, not under `src/catalog`. Catalog component TSX files should import those assets through paths that stay valid after TypeScript emits `dist/catalog/<Component>/index.jsx`, for example `../../../styles/catalog/Button.css`.

When a GenUI package builds a CLI or other generated artifact that another workspace package executes during its own build, declare that package's `dist/**` (or equivalent generated directory) as Turbo `build.outputs`. Without explicit outputs, cache hits can skip restoring the built CLI and leave downstream workspace bins pointing at missing files.
24 changes: 24 additions & 0 deletions packages/genui/a2ui-catalog-extractor/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": [
"//"
],
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"src/**",
"bin/**",
"package.json",
"rslib.config.ts",
"tsconfig.build.json",
"tsconfig.json"
],
"outputs": [
"dist/**"
]
}
}
}
1 change: 1 addition & 0 deletions packages/react/testing-library/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"tasks": {
"build": {
"dependsOn": [
"//#build",
"@lynx-js/react-transform#build:wasm",
"@lynx-js/testing-environment#build",
"@lynx-js/rspeedy#build"
Expand Down
1 change: 1 addition & 0 deletions packages/rspeedy/plugin-config/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"tasks": {
"build": {
"dependsOn": [
"//#build",
"^build"
],
"inputs": [
Expand Down
Loading