You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NX.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,36 @@ $ nx --version
67
67
To update **nx**, run:
68
68
69
69
```
70
-
$ cd hatch-project/src/hatch_project
70
+
$ cd hatch-project/src/hatch_project # Note: go into the directory of nx.json
71
71
$ npx nx migrate latest # if nx has not yet been installed
72
72
$ nx migrate latest # if nx has already been installed
73
73
```
74
74
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
+
75
100
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:
0 commit comments