turborepo

Configure Turborepo monorepo build tasks, caching, and pipelines in turbo.json.

2.6k|423|Updated Oct 24, 2020
One-click install
npx skills add https://github.com/module-federation/core --skill turborepo-module-federation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/module-federation/core/tree/main/.codex/skills/turborepo
Command: npx skills add https://github.com/module-federation/core --skill turborepo-module-federation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines monorepo development by providing a powerful build system that optimizes task execution, caching, and dependency management across multiple packages and applications.

Core Features & Use Cases

  • Task Orchestration: Define and run tasks (build, lint, test) across your monorepo efficiently.
  • Intelligent Caching: Cache task outputs to avoid redundant work, speeding up builds significantly.
  • Dependency Management: Understand and manage dependencies between packages for correct execution order.
  • Use Case: When setting up a new monorepo project, you can use this Skill to configure turbo.json for optimal build pipelines, caching strategies, and task dependencies, ensuring a fast and reliable development experience.

Quick Start

Use the turborepo skill to configure a new build task named 'build' with caching enabled.

Frequently Asked Questions about turborepo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure task orchestration for a JS/TS monorepo build system?

To configure task orchestration for a monorepo build system, define task pipelines and dependencies in `turbo.json`. This allows you to efficiently run tasks like build, lint, and test across multiple packages while ensuring correct execution order.

What is the best way to speed up monorepo builds using caching?

The best way to speed up monorepo builds is by implementing intelligent caching strategies. By configuring `turbo.json` to cache task outputs, the build system avoids redundant work and significantly accelerates subsequent task executions.

How do I set up remote caching for my monorepo CI optimization?

To set up remote caching for CI optimization, configure your build system to share cached task outputs across different environments. This approach reduces redundant task execution in continuous integration workflows and speeds up pipeline runs.

Can I filter specific packages when running tasks in a monorepo?

Yes, you can filter specific packages when running tasks in a monorepo. The build system supports filtering for efficient monorepo workflows, allowing you to target specific applications or packages during task execution and dependency management.

How do I manage dependencies between packages in a JS/TS monorepo?

To manage dependencies between packages in a JS/TS monorepo, configure your build system to understand package relationships. This ensures correct execution order for tasks across your applications and optimizes the overall monorepo structure.