Skip to content

chore: update turbo.json configurations across multiple packages#516

Merged
luxass merged 3 commits intomainfrom
luxass/turbo
Feb 19, 2026
Merged

chore: update turbo.json configurations across multiple packages#516
luxass merged 3 commits intomainfrom
luxass/turbo

Conversation

@luxass
Copy link
Copy Markdown
Member

@luxass luxass commented Feb 19, 2026

🔗 Linked issue

📚 Description

Summary by CodeRabbit

  • Chores
    • Updated build system configuration across multiple packages and applications to optimize caching and task execution.
    • Refined output path definitions for build artifacts and type checking processes.
    • Updated dependency versions in package management configuration.
    • Standardized task configuration across the monorepo to improve build consistency and incremental caching behavior.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 19, 2026

⚠️ No Changeset found

Latest commit: d7ccebd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 19, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR adds Turborepo configuration files (turbo.json) to multiple workspace packages across apps, packages/pipelines, and tooling directories. Additionally, it modifies the root turbo.json to update build dependencies and adds environment file tracking, while adjusting specific task outputs in apps/api and apps/store to include wrangler-types.d.ts generation artifacts.

Changes

Cohort / File(s) Summary
API App Configuration
apps/api/turbo.json
Added wrangler-types.d.ts to typecheck.outputs; changed build:openapi.outputs path from relative to absolute ($TURBO_ROOT$) reference.
Apps Configuration
apps/docs/turbo.json, apps/web/turbo.json
New Turbo configs defining build (outputs: dist/\\, .output/\\), dev (persistent: true), lint, and typecheck tasks for each app.
Store App Configuration
apps/store/turbo.json
Modified typecheck.outputs to include both .cache/tsbuildinfo.json and wrangler-types.d.ts.
Packages Pipelines Configuration
packages/pipelines/pipeline-*/turbo.json
New Turbo configs added across pipeline-artifacts, pipeline-core, pipeline-executor, pipeline-graph, pipeline-loader, pipeline-presets, and pipeline-playground with consistent task definitions (build, dev, lint, typecheck).
Worker Utils Configuration
packages/worker-utils/turbo.json
Added new generate:types task with wrangler-types.d.ts output alongside existing typecheck task.
Tooling Configuration
tooling/eslint-plugin/turbo.json, tooling/moonbeam/turbo.json, tooling/tsconfig/turbo.json, tooling/tsdown-config/turbo.json
New Turbo configs for tooling packages defining lint and/or typecheck tasks with standardized outputs.
Root and Workspace Configuration
turbo.json, pnpm-workspace.yaml
Root turbo.json adds .env and .env.\* as global dependencies, removes @ucdjs/api#build:openapi dependency; pnpm-workspace.yaml updates @ucdjs/release-scripts to 0.1.0-beta.57 and @cloudflare/vitest-pool-workers URL.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

apps: api, apps: web, 🚨 ci

Poem

🐰 A monorepo grows with configs so neat,
Each package declares what tasks to complete,
Turborepo now knows where artifacts hide,
With wrangler types dancing from cache inside!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch luxass/turbo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 19, 2026

🌏 Preview Deployments

Application Status Preview URL
API ✅ Deployed View Preview
Store ❌ Failed N/A
Website ✅ Deployed View Preview
Documentation ✅ Deployed View Preview

Built from commit: d7ccebdf1c2a190edeaa5c6d31a043b80540df65


🤖 This comment will be updated automatically when you push new commits to this PR.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

chore(vitest-pool-workers): update to version 0.12.13
@luxass luxass marked this pull request as ready for review February 19, 2026 02:57
Copilot AI review requested due to automatic review settings February 19, 2026 02:57
@luxass luxass merged commit 7bb5908 into main Feb 19, 2026
46 of 57 checks passed
@luxass luxass deleted the luxass/turbo branch February 19, 2026 02:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes and improves turbo.json configurations across the monorepo. It adds new package-specific turbo.json files for previously unconfigured packages, updates global environment tracking, improves build task dependencies, and updates several development dependencies.

Changes:

  • Adds .env and .env.* to global dependencies for better cache invalidation on environment changes
  • Removes unnecessary global @ucdjs/api#build:openapi build dependency, delegating to package-specific dependencies where needed
  • Creates turbo.json files for 13 packages (apps/web, apps/docs, pipeline packages, and tooling packages) to enable proper task caching
  • Updates output path specification in apps/api to use $TURBO_ROOT$ variable for clarity
  • Adds wrangler-types.d.ts to typecheck outputs for Cloudflare Workers packages
  • Bumps @ucdjs/release-scripts to 0.1.0-beta.57 and @cloudflare/vitest-pool-workers to ccaf85f

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
turbo.json Adds .env tracking to globalDependencies and removes unnecessary @ucdjs/api#build:openapi from build task
apps/api/turbo.json Updates OpenAPI output path to use $TURBO_ROOT$ variable for clarity
apps/store/turbo.json Adds wrangler-types.d.ts to typecheck outputs
apps/web/turbo.json New turbo.json with build, dev, lint, and typecheck tasks
apps/docs/turbo.json New turbo.json with build, dev, and lint tasks (missing typecheck)
packages/worker-utils/turbo.json Adds generate:types task configuration
packages/pipelines/pipeline-*/turbo.json New turbo.json files for 6 pipeline packages with consistent task configurations
tooling/*/turbo.json New turbo.json files for 4 tooling packages with appropriate task configurations
pnpm-workspace.yaml Updates @ucdjs/release-scripts and @cloudflare/vitest-pool-workers versions
pnpm-lock.yaml Updates lockfile with new dependency versions including lockfile corrections for framer-motion/motion packages
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"persistent": true
},
"lint": {
"outputs": []
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

The turbo.json file is missing a typecheck task configuration, but the package.json includes a typecheck script. For consistency with other apps like apps/web and to ensure proper task caching, consider adding a typecheck task configuration similar to other packages.

Suggested change
"outputs": []
"outputs": []
},
"typecheck": {
"outputs": []

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants