docs(nxdev): update internal reference links (#12083)

This commit is contained in:
Benjamin Cabanes 2022-09-19 15:15:19 -04:00 committed by GitHub
parent 635b2a61a7
commit da0cc4792f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 21 additions and 21 deletions

View File

@ -23,7 +23,7 @@ A few links to help you get started:
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
- [Nx.Dev: Core Tutorials](https://nx.dev/core-tutorial/01-create-blog)
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
- [Recipe: Adding Nx to an Existing Monorepo](https://nx.dev/recipe/adding-to-monorepo)
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,7 @@ You can always read more in the [official Storybook docs](https://storybook.js.o
It's quite easy to use this feature, in Nx and in general, since you do not need to make any code changes, you just need to have the "composed" Storybook instances (the ones you need to "compose") running, choose a "host" Storybook, and just add the composed Storybooks in it's `.storybook/main.js` file.
Nx provides the [`run-many`](https://nx.dev/l/a/cli/run-many) command, which will allow you to easily run multiple Storybooks at the same time. You need to run the `run-many` command with the parallel flag (eg. `--parallel=3`), because you want to run all your Storybooks in parallel. You can change the value of the `parallel` flag to be of as many Storybooks you want to run in parallel as you need. However, be **very carefull** with putting large numbers in this
Nx provides the [`run-many`](/nx/run-many) command, which will allow you to easily run multiple Storybooks at the same time. You need to run the `run-many` command with the parallel flag (eg. `--parallel=3`), because you want to run all your Storybooks in parallel. You can change the value of the `parallel` flag to be of as many Storybooks you want to run in parallel as you need. However, be **very carefull** with putting large numbers in this
flag, since it can cause big delays or get stuck. You can play around and adjust that number to one your machine runs comfortably with. Keep in mind that you can add in this feature however many live/public Storybooks as you need (Storybooks that you do not run locally).
In order to get get it working for you, you need to two two things:

View File

@ -8,7 +8,7 @@ You can either use a CLI tool to migrate your app automatically, or you can foll
This guide has been updated for Nx 13 and may not work for earlier versions of Nx.
{% /callout %}
If you have a monorepo (more than one project in the same repo), follow the [Adding Nx to Lerna/Yarn/PNPM/NPM Workspace](https://nx.dev/migration/adding-to-monorepo) guide instead.
If you have a monorepo (more than one project in the same repo), follow the [Adding Nx to Lerna/Yarn/PNPM/NPM Workspace](/recipe/adding-to-monorepo) guide instead.
## Using a tool that will do it for you

View File

@ -233,7 +233,7 @@ const getMarkdown = (data: {
type: 'executors' | 'generators';
}): string => {
const hasExamplesFile = !!data.schema['examplesFile'];
const executorNotice: string = `Options can be configured in \`project.json\` when defining the executor, or when invoking it. Read more about how to configure targets and executors here: [https://nx.dev/configuration/projectjson#targets](https://nx.dev/configuration/projectjson#targets).`;
const executorNotice: string = `Options can be configured in \`project.json\` when defining the executor, or when invoking it. Read more about how to configure targets and executors here: [https://nx.dev/reference/project-configuration#targets](https://nx.dev/reference/project-configuration#targets).`;
return [
`# ${data.packageName}:${data.schemaName}`,

View File

@ -148,7 +148,7 @@ const schemaUrls = {
* Guide specific rules (added 2022-01-04)
*/
const guideUrls = {
'/core-concepts/configuration': '/configuration/projectjson',
'/core-concepts/configuration': '/reference/project-configuration',
'/core-concepts/mental-model': '/using-nx/mental-model',
'/core-concepts/updating-nx': '/using-nx/updating-nx',
'/core-concepts/ci-overview': '/using-nx/ci-overview',

View File

@ -97,7 +97,7 @@ const featureItems: {
},
{
classNames: 'bg-yellow-500',
link: '/recipe/workspace-generators',
link: '/recipe/local-generators',
title: 'Workspace generators',
subTitle: 'Nx helps enforce best practices and organizational standards.',
svg: (

View File

@ -17,6 +17,6 @@ Simply run: `npx add-nx-to-monorepo` in your monorepo.
## Learn More
- [Guide: Add Nx to Lerna / Yarn / PNPM / NPM Workspaces](https://nx.dev/migration/adding-to-monorepo#adding-nx-to-lernayarnpnpmnpm-workspace)
- [Guide: Add Nx to Lerna / Yarn / PNPM / NPM Workspaces](/recipe/adding-to-monorepo#adding-nx-to-lernayarnpnpmnpm-workspace)
- [Video: https://youtu.be/Dq2ftPf3sn4]
- See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) to learn more about Nx.

View File

@ -323,7 +323,7 @@ function printFinalMessage(repoRoot) {
`- Run "${
getPackageManagerCommand(repoRoot).exec
} nx graph" to see the structure of the monorepo.`,
`- Learn more at https://nx.dev/migration/adding-to-monorepo`,
`- Learn more at /recipe/adding-to-monorepo`,
],
});
}

View File

@ -8,6 +8,6 @@
Nx is a next generation build system with first class monorepo support and powerful integrations.
This package is an [Angular plugin for Nx](https://nx.dev/angular/overview).
This package is an [Angular plugin for Nx](https://nx.dev/packages/angular).
{{content}}

View File

@ -8,6 +8,6 @@
Nx is a next generation build system with first class monorepo support and powerful integrations.
This package is a [React Native plugin for Nx](https://nx.dev/react-native/overview).
This package is a [React Native plugin for Nx](https://nx.dev/pacakges/react-native).
{{content}}

View File

@ -8,6 +8,6 @@
Nx is a next generation build system with first class monorepo support and powerful integrations.
This package is a [React plugin for Nx](https://nx.dev/react/overview).
This package is a [React plugin for Nx](https://nx.dev/packages/react).
{{content}}

View File

@ -8,6 +8,6 @@
Nx is a next generation build system with first class monorepo support and powerful integrations.
This package is a [Web plugin for Nx](https://nx.dev/angular/overview).
This package is a [Web plugin for Nx](https://nx.dev/packages/web).
{{content}}

View File

@ -10,11 +10,11 @@ This project was generated using [Nx](https://nx.dev).
## Quick Start & Documentation
[Nx Documentation](https://nx.dev/angular)
[Nx Documentation](https://nx.dev/getting-started/intro)
[10-minute video showing all Nx features](https://nx.dev/getting-started/intro)
[Mental model is a good starting point for those who like to understand things theoretically first.](https://nx.dev/concepts/mental-model)
[Interactive Tutorial](https://nx.dev/react-tutorial/01-create-application)
[Interactive Tutorial](https://nx.dev/getting-started/angular-tutorial)
## Adding capabilities to your workspace

View File

@ -33,7 +33,7 @@ export async function setTargetDependencies(host: Tree) {
`Based on your configuration the migration has configured targetDependencies for the following targets: ${updatedStrictlyOrderedTargets.join(
', '
)}.`,
`Read more here: https://nx.dev/configuration/projectjson`,
`Read more here: https://nx.dev/reference/project-configuration`,
],
});
}

View File

@ -248,8 +248,8 @@ export function checkDependentProjectsHaveBeenBuilt(
It looks like all of ${projectName}'s dependencies have not been built yet:
${missing.map((x) => ` - ${x.node.name}`).join('\n')}
You might be missing a "targetDefaults" configuration in your root nx.json (https://nx.dev/configuration/projectjson#target-defaults),
or "dependsOn" configured in ${projectName}'s project.json (https://nx.dev/configuration/projectjson#dependson)
You might be missing a "targetDefaults" configuration in your root nx.json (https://nx.dev/reference/project-configuration#target-defaults),
or "dependsOn" configured in ${projectName}'s project.json (https://nx.dev/reference/project-configuration#dependson)
`);
return false;
} else {

View File

@ -52,7 +52,7 @@ npx add-nx-to-monorepo@latest
A few links to help you get started:
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
- [Tutorial: Adding Nx to an Existing Monorepo](/recipe/adding-to-monorepo)
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)

View File

@ -3,7 +3,7 @@
A few links to help you get started:
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
- [Tutorial: Adding Nx to an Existing Monorepo](/recipe/adding-to-monorepo)
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)