Skip to content

Commit 7b5c831

Browse files
juristrvsavkin
authored andcommitted
docs(misc): add videos to feature pages
1 parent d152639 commit 7b5c831

File tree

7 files changed

+26
-5
lines changed

7 files changed

+26
-5
lines changed

docs/nx-cloud/features/explain-with-ai.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Explain with AI (beta)
22

3+
{% youtube
4+
src="https://youtu.be/g2m9cHp-O-Q"
5+
title="Explain with AI"
6+
/%}
7+
38
"Explain with AI" helps you understand complex errors more quickly by providing AI-powered error resolution steps. This is made possible by using additional context from Nx targets and metadata, allowing for more accurate and relevant responses.
49

510
![explain with ai](/nx-cloud/features/explain-with-ai.avif)

docs/shared/features/automate-updating-dependencies.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Automate Updating Dependencies
22

3+
{% youtube
4+
src="https://youtu.be/A0FjwsTlZ8A"
5+
title="How Automated Code Migrations Work"
6+
/%}
7+
38
Keeping your tooling up to date is crucial for the health of your project. Tooling maintenance work can be tedious and time consuming, though. The **Nx migrate** functionality provides a way for you to
49

510
- automatically update your **`package.json` dependencies**
611
- migrate your **configuration files** (e.g. Jest, ESLint, Nx config)
712
- **adjust your source code** to match the new versions of packages (e.g., migrating across breaking changes)
813

9-
{% youtube
10-
src="https://www.youtube.com/embed/Ss6MfcXi0jE"
11-
title="How Automated Code Migrations Work"
12-
/%}
13-
1414
To update your workspace, run:
1515

1616
```shell

docs/shared/features/cache-task-results.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Cache Task Results
22

3+
{% youtube src="https://youtu.be/o-6jb78uuP0" title="Remote Caching with Nx Replay" /%}
4+
35
Rebuilding and retesting the same code repeatedly is costly. Nx offers a sophisticated and battle-tested computation caching system that ensures **code is never rebuilt twice**. This:
46

57
- drastically **speeds up your task execution times** while developing locally and even more [in CI](/ci/features/remote-cache)

docs/shared/features/generate-code.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Generate Code
22

3+
{% youtube src="https://youtu.be/hSM6MgWOYr8" title="Generate Code" /%}
4+
35
Code generators are like automation scripts designed to streamline your workflow. Essentially, they are TypeScript functions that accept parameters and help boost your productivity by:
46

57
- Allowing you to **scaffold new projects** or **augment existing projects** with new features, like [adding Storybook support](/nx-api/storybook#generating-storybook-configuration)

docs/shared/features/remote-cache.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Use Remote Caching (Nx Replay)
22

3+
{% youtube
4+
src="https://youtu.be/NF1__N_snog"
5+
title="Remote Caching with Nx Replay"
6+
/%}
7+
38
Repeatedly rebuilding and retesting the same code is costly — not just in terms of wasted resources, but also in terms of developer time. To solve this, Nx includes a sophisticated computation caching system that ensures **code is never rebuilt twice**, saving you both time and resources.
49

510
![Diagram showing Teika sharing his cache with CI, Kimiko and James](/shared/images/dte/distributed-caching.svg)

docs/shared/features/run-tasks.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Run Tasks
22

3+
{% youtube src="https://youtu.be/aEdfYiA5U34" title="Run tasks with Nx" /%}
4+
35
In a monorepo setup, you don't just run tasks for a single project; you might have hundreds to manage. To help with this, Nx provides a powerful task runner that allows you to:
46

57
- easily **run multiple targets** for multiple projects **in parallel**

docs/shared/using-nx/affected.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Run Only Tasks Affected by a PR
22

3+
{% youtube
4+
src="https://youtu.be/q-cu5Lw3DoE"
5+
title="Only Run Tasks for Projects That Changed"
6+
/%}
7+
38
As your workspace grows, re-testing, re-building, and re-linting **all projects becomes too slow**. To address this, Nx comes with an "affected" command. Using this command, Nx
49

510
- determines the minimum set of **projects that are affected by the change**

0 commit comments

Comments
 (0)