Skip to content

Commit f91920d

Browse files
authoredApr 27, 2023
docs(core): make migrate latest more prominent (#16596)
1 parent f004e22 commit f91920d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
 

‎docs/generated/cli/migrate.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
2323

2424
### Examples
2525

26-
Update @nrwl/workspace to "next". This will update other packages and will generate migrations.json:
26+
Update all Nx plugins to "latest". This will generate migrations.json:
2727

2828
```shell
29-
nx migrate next
29+
nx migrate latest
3030
```
3131

32-
Update @nrwl/workspace to "9.0.0". This will update other packages and will generate migrations.json:
32+
Update all Nx plugins to "9.0.0". This will generate migrations.json:
3333

3434
```shell
3535
nx migrate 9.0.0

‎docs/generated/packages/nx/documents/migrate.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
2323

2424
### Examples
2525

26-
Update @nrwl/workspace to "next". This will update other packages and will generate migrations.json:
26+
Update all Nx plugins to "latest". This will generate migrations.json:
2727

2828
```shell
29-
nx migrate next
29+
nx migrate latest
3030
```
3131

32-
Update @nrwl/workspace to "9.0.0". This will update other packages and will generate migrations.json:
32+
Update all Nx plugins to "9.0.0". This will generate migrations.json:
3333

3434
```shell
3535
nx migrate 9.0.0

‎packages/nx/src/command-line/examples.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ export const examples: Record<string, Example[]> = {
288288
],
289289
migrate: [
290290
{
291-
command: 'migrate next',
291+
command: 'migrate latest',
292292
description:
293-
'Update @nrwl/workspace to "next". This will update other packages and will generate migrations.json',
293+
'Update all Nx plugins to "latest". This will generate migrations.json',
294294
},
295295
{
296296
command: 'migrate 9.0.0',
297297
description:
298-
'Update @nrwl/workspace to "9.0.0". This will update other packages and will generate migrations.json',
298+
'Update all Nx plugins to "9.0.0". This will generate migrations.json',
299299
},
300300
{
301301
command:

1 commit comments

Comments
 (1)

vercel[bot] commented on Apr 27, 2023

@vercel[bot]

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.