nx/docs/courses/pnpm-nx-next/lessons/02-run-tasks.md

24 lines
550 B
Markdown

---
title: 'Run and Manage Tasks Efficiently Using Nx'
videoUrl: 'https://youtu.be/CJLRkzRrcjg'
duration: '1:56'
---
In this lesson, you'll learn how to use Nx to run your PNPM workspace's `package.json` scripts. So rather than running:
```shell
pnpm --filter @tasker/web build
```
you would run:
```shell
pnpm nx build @tasker/web
```
We'll cover the syntax for running both single tasks and multiple tasks, helping you understand how to leverage Nx's task execution capabilities.
## Relevant Links
- [Run Tasks with Nx](/features/run-tasks)