docs(nxdev): update internal reference links (#12083)
This commit is contained in:
parent
635b2a61a7
commit
da0cc4792f
@ -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
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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}`,
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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: (
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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`,
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
@ -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}}
|
||||
|
||||
@ -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}}
|
||||
|
||||
@ -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}}
|
||||
|
||||
@ -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}}
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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`,
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user