File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -373,8 +373,9 @@ Where ```tsconfig.base.json``` contains:
373373After setting up ` workspace.json ` , you can run commands like:
374374
375375``` bash
376- nx build app1
377- nx build app2
376+ $ cd / # Go to the root of the repository
377+ $ nx build app1
378+ $ nx build app2
378379```
379380
380381This structure will help Nx Cloud recognize and manage multiple applications effectively.
@@ -384,7 +385,7 @@ This structure should allow Nx Cloud to detect the workspace properly.
384385Run the command to ** connect** your workspace to Nx Cloud from the root of the repository, specifically:
385386
386387```
387- $ cd /../../../
388+ $ cd / # Go to the root of the repository
388389$ npm init -y # If no package.json exists
389390# Go through the initialization steps
390391$ npm install -g nx@latest # If not already installed
@@ -399,6 +400,7 @@ Now commit these changes to GitHub repository before continuing!
399400The command to connect to Nx Cloud is:
400401
401402```
403+ $ cd / # Go to the root of the repository
402404$ nx connect-to-nx-cloud
403405```
404406
You can’t perform that action at this time.
0 commit comments