nx-run-tasks

Execute build, test, lint, and serve tasks within an Nx workspace.

246|65|Updated Apr 27, 2019
One-click install
npx skills add https://github.com/udayvunnam/xng-breadcrumb --skill nx-run-tasks-udayvunnam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/udayvunnam/xng-breadcrumb/tree/main/.gemini/skills/nx-run-tasks
Command: npx skills add https://github.com/udayvunnam/xng-breadcrumb --skill nx-run-tasks-udayvunnam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of running various tasks (like build, test, lint, serve) within an Nx workspace, especially in complex or large projects.

Core Features & Use Cases

  • Task Execution: Run single or multiple Nx tasks across projects.
  • Affected Commands: Efficiently run tasks only on projects impacted by recent code changes.
  • Configuration: Supports custom configurations and flags for fine-grained control.
  • Use Case: After updating a shared library, use this Skill to run tests only for the applications that depend on it, saving significant CI/CD time.

Quick Start

Use the nx-run-tasks skill to run the 'build' and 'test' tasks for all projects in the Nx workspace.

Frequently Asked Questions about nx-run-tasks

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

FAQPage Schema
How do I run tasks only on affected projects in an Nx workspace?

To run tasks on affected projects in an Nx workspace, execute affected-project commands that analyze recent code changes and run build, test, or lint operations exclusively on impacted applications, saving significant CI/CD time.

What is the best way to execute build and test tasks across multiple Nx projects?

Executing build and test tasks across multiple Nx projects is best handled by running multi-project commands that support filtering, exclusion, and parallelization to streamline task execution across your workspace configurations.

Can I use custom configurations and flags to fine-tune Nx task execution?

Yes, you can use custom configurations and flags to fine-tune Nx task execution, providing fine-grained control over single-project, multi-project, and affected-project operations for build, test, lint, and serve workflows.

How does Nx workspace task execution manage CI/CD pipelines for large projects?

Nx workspace task execution manages CI/CD pipelines for large projects by orchestrating build, test, lint, and serve operations based on project configurations and code changes, enabling efficient parallelized task runs.

Why run tests only for applications that depend on a shared library in an Nx workspace?

Running tests only for applications that depend on a shared library in an Nx workspace uses affected-project commands to identify impacted projects from code changes, preventing unnecessary test execution and reducing pipeline duration.