Skip to content
Merged
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
48 changes: 41 additions & 7 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,51 @@
"ui": "stream",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"typecheck": {
"dependsOn": ["^build"],
"outputs": [".cache/typescript/**"]
"dependsOn": [
"^build"
],
"outputs": [
".cache/typescript/**"
]
},
"test": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
"dependsOn": [
"^build"
],
"outputs": [
"coverage/**"
]
},
"lint": {}
"lint": {},
"@prometheus-ags/entity-graph-docs-site#build": {
"dependsOn": [
"^build",
"@prometheus-ags/entity-graph-core#build",
"@prometheus-ags/entity-graph-react#build",
"@prometheus-ags/prometheus-entity-management#build",
"@prometheus-ags/entity-graph-sync#build",
"@prometheus-ags/entity-graph-svelte#build",
"@prometheus-ags/entity-graph-solid#build",
"@prometheus-ags/entity-graph-alpine#build",
"@prometheus-ags/entity-graph-htmx#build",
"@prometheus-ags/entity-graph-web-components#build",
"@prometheus-ags/a2ui-react#build",
"@prometheus-ags/entity-graph-a2a#build",
"@prometheus-ags/entity-graph-tauri#build",
"@prometheus-ags/entity-graph-sdl#build"
],
"outputs": [
"build/**",
".docusaurus/**"
]
Comment on lines +47 to +50

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Cache every generated docs artifact

On a clean checkout where this task is a cache hit, Turborepo restores only the declared outputs, but the prebuild also emits the ignored docs/api/npm/**, docs/api/index.mdx, docs/packages/*.mdx, and api-sidebar.generated.json files. Because none of those paths is listed here, the same successful build leaves these artifacts present on a cache miss and absent on a hit, so subsequent source-level documentation checks or consumers observe nondeterministic state. Include all generated paths in this task's outputs.

AGENTS.md reference: AGENTS.md:L355-L359

Useful? React with 👍 / 👎.

}
}
}
Loading