Skip to content

Commit 4ba385b

Browse files
authored
Update NX.md
1 parent 161a501 commit 4ba385b

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

NX.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,36 @@ $ nx --version
6767
To update **nx**, run:
6868

6969
```
70-
$ cd hatch-project/src/hatch_project
70+
$ cd hatch-project/src/hatch_project # Note: go into the directory of nx.json
7171
$ npx nx migrate latest # if nx has not yet been installed
7272
$ nx migrate latest # if nx has already been installed
7373
```
7474

75+
You will be prompted alike:
76+
77+
```
78+
Fetching meta data about packages.
79+
It may take a few minutes.
80+
Fetching nx@21.0.2
81+
Fetching @nx/eslint@21.0.2
82+
Fetching @nx/jest@21.0.2
83+
Fetching @nx/webpack@21.0.2
84+
Fetching @nx/react@21.0.2
85+
Fetching @nx/playwright@21.0.2
86+
87+
NX The migrate command has run successfully.
88+
89+
- package.json has been updated.
90+
- migrations.json has been generated.
91+
92+
93+
NX Next steps:
94+
95+
- Make sure package.json changes make sense and then run 'npm install',
96+
- Run 'npx nx migrate --run-migrations'
97+
- To learn more go to https://nx.dev/features/automate-updating-dependencies
98+
```
99+
75100
Based on the provided repository structure and documentation, I'll help you run the Hatch project. The project appears to be set up as a React monorepo using Nx. Here are the steps to run it:
76101

77102

0 commit comments

Comments
 (0)