0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/docs/turbo.json

23 lines
490 B

chore(repo): Improve embedded docs script (#12664) ## Description Improve the `generate-package-docs.ts` script by using the new `llms-manifest.json` from docs to copy over llms.txt files to the embedded docs (previously the raw MDX was parsed and assembled). This PR also updates the script to be run without any cli args, it just runs in the current `process.cwd()` context. This simplifies usage when running via `npm` scripts. This PR also improves the performance of the `SOURCE_MAP.json` generation by 2x. Lastly, the `dist/docs` structure itself is updated to follow the agent skills spec. ## Related Issue(s) <!-- Link to the issue(s) this PR addresses, using hashtag notation: Fixes #123 --> ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [X] Code refactoring - [ ] Performance improvement - [ ] Test update ## Checklist - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Docs generation moved to a centralized, manifest-driven workflow; package-level doc scripts simplified to rely on contextual discovery and a central docs build. * Build tasks updated across packages to depend on the centralized docs build step. * **Documentation** * Replaced a lengthy proposal with a concise Turbo-focused guide and added optional description metadata for doc entries. * **Bug Fix** * Removed noisy console warnings during docs site initialization. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-05 01:24:43 +01:00
Turbo changes (#17557) ## Description <!-- Required: Provide a brief description of the changes in this PR. --> ## Related issue(s) <!-- Required: Link to the issue(s) this PR addresses, e.g. with: Fixes #123. PRs without linked issues may be closed. --> ## Type of change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test update ## Checklist - [ ] I have linked the related issue(s) in the description above - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have addressed all Coderabbit comments on this PR <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## ELI5 This PR upgrades the Turbo monorepo build tool from version 2.9.6 to 2.9.12 and updates all configuration files across the entire codebase to use the newer schema version that corresponds to this updated tool version. Think of it like updating a recipe book to the latest version and making sure all your cookbook references point to the new edition. ## Changes Summary ### Turbo Version Upgrade - Updated root `package.json` `devDependencies`: `turbo` upgraded from `^2.9.6` to `^2.9.12` ### Turbo Configuration Schema Updates Updated the `$schema` field in 73 `turbo.json` configuration files throughout the repository from the legacy `https://turbo.build/schema.json` to the newer `https://v2-9-16.turborepo.dev/schema.json`: **Auth modules** (9 files): auth0, better-auth, clerk, cloud, firebase, okta, studio, supabase, workos **Client SDKs** (3 files): ai-sdk, client-js, react **Deployers** (2 files): cloud, vercel **Integrations** (3 files): brightdata, opencode, perplexity, tavily **Observability** (11 files): arize, braintrust, datadog, laminar, langfuse, langsmith, mastra, otel-bridge, otel-exporter, posthog, sentry **Package modules** (19 files): _external-types, _internal-core, agent-builder, auth, cli, codemod, core, create-mastra, deployer, evals, fastembed, loggers, mcp, mcp-docs-server, mcp-registry-registry, memory, playground, rag, schema-compat, server **Data stores** (21 files): astra, chroma, clickhouse, cloudflare, cloudflare-d1, convex, couchbase, duckdb, dynamodb, elasticsearch, lance, libsql, mongodb, mssql, mysql, opensearch, pg, pinecone, qdrant, redis, s3vectors, spanner, turbopuffer, upstash, vectorize **Root configuration**: turbo.json All other configuration content (extends, tasks, inputs/outputs) remains unchanged across all files. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-04 09:37:26 +02:00
chore(repo): Improve embedded docs script (#12664) ## Description Improve the `generate-package-docs.ts` script by using the new `llms-manifest.json` from docs to copy over llms.txt files to the embedded docs (previously the raw MDX was parsed and assembled). This PR also updates the script to be run without any cli args, it just runs in the current `process.cwd()` context. This simplifies usage when running via `npm` scripts. This PR also improves the performance of the `SOURCE_MAP.json` generation by 2x. Lastly, the `dist/docs` structure itself is updated to follow the agent skills spec. ## Related Issue(s) <!-- Link to the issue(s) this PR addresses, using hashtag notation: Fixes #123 --> ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [X] Code refactoring - [ ] Performance improvement - [ ] Test update ## Checklist - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Docs generation moved to a centralized, manifest-driven workflow; package-level doc scripts simplified to rely on contextual discovery and a central docs build. * Build tasks updated across packages to depend on the centralized docs build step. * **Documentation** * Replaced a lengthy proposal with a concise Turbo-focused guide and added optional description metadata for doc entries. * **Bug Fix** * Removed noisy console warnings during docs site initialization. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-05 01:24:43 +01:00
chore(repo): Improve embedded docs script (#12664) ## Description Improve the `generate-package-docs.ts` script by using the new `llms-manifest.json` from docs to copy over llms.txt files to the embedded docs (previously the raw MDX was parsed and assembled). This PR also updates the script to be run without any cli args, it just runs in the current `process.cwd()` context. This simplifies usage when running via `npm` scripts. This PR also improves the performance of the `SOURCE_MAP.json` generation by 2x. Lastly, the `dist/docs` structure itself is updated to follow the agent skills spec. ## Related Issue(s) <!-- Link to the issue(s) this PR addresses, using hashtag notation: Fixes #123 --> ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [X] Code refactoring - [ ] Performance improvement - [ ] Test update ## Checklist - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Docs generation moved to a centralized, manifest-driven workflow; package-level doc scripts simplified to rely on contextual discovery and a central docs build. * Build tasks updated across packages to depend on the centralized docs build step. * **Documentation** * Replaced a lengthy proposal with a concise Turbo-focused guide and added optional description metadata for doc entries. * **Bug Fix** * Removed noisy console warnings during docs site initialization. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-05 01:24:43 +01:00