nx-run-tasks

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

11|2|Updated Apr 17, 2023
One-click install
npx skills add https://github.com/Eventiva/Eventiva --skill nx-run-tasks-eventiva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/Eventiva/Eventiva/tree/main/.cursor/skills/nx-run-tasks
Command: npx skills add https://github.com/Eventiva/Eventiva --skill nx-run-tasks-eventiva

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the execution of tasks within an Nx workspace, simplifying build, test, lint, and serve operations.

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 changes.
  • Use Case: When you need to build all applications in your Nx workspace, you can use this skill to execute the build target for all relevant projects.

Quick Start

Use the nx-run-tasks skill to run the 'build' and 'test' tasks for all projects in the 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 build and test tasks across multiple projects in an Nx workspace?

To run affected Nx tasks, you execute commands that target only projects impacted by recent code changes. This efficiently optimizes CI/CD pipelines by skipping unaffected projects during task execution.

Can I use Nx caching and configuration systems when executing workspace tasks?

Yes, task execution integrates directly with Nx caching and configuration systems. This integration ensures efficient CI/CD and development workflows by reusing cached outputs and respecting workspace configurations.

What is the best way to lint and serve applications in an Nx monorepo?

The best way to lint and serve applications in an Nx monorepo is by executing the lint and serve operations through Nx workspace tasks. This simplifies operations by handling task execution across all relevant projects.

Does this approach support running tasks only on projects impacted by recent changes?

Yes, this approach supports running tasks only on impacted projects through affected commands. By calculating which projects are affected by recent code changes, it efficiently limits task execution to the necessary scope.