docs(core): update node tutorial schemas (#12619)
@ -25,7 +25,7 @@ In this tutorial you'll create a backend-focused workspace with Nx.
|
||||
|
||||
For this tutorial, you'll create an Express API application, a CLI (command-line interface) application, and a library for a data client that these two applications will use to interact with a data-source.
|
||||
|
||||

|
||||

|
||||
|
||||
## Creating an Nx Workspace
|
||||
|
||||
@ -64,7 +64,7 @@ CREATE apps/products-cli/jest.config.ts
|
||||
CREATE apps/products-cli/tsconfig.spec.json
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
## Generating Libraries
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ Run the command: `npx nx graph`. A browser should open up with the following con
|
||||
|
||||
This is still different from the design from the start of Part 1:
|
||||
|
||||

|
||||

|
||||
|
||||
The Project Graph is derived from the source code of your workspace. Make the following adjustments to your existing projects, so that our Project Graph will match the design:
|
||||
|
||||
@ -115,7 +115,7 @@ Now run `npx nx graph` again:
|
||||
{% side-by-side %}
|
||||

|
||||
|
||||

|
||||

|
||||
{% /side-by-side %}
|
||||
|
||||
Your graph now matches the original design.
|
||||
|
||||
@ -60,7 +60,7 @@ The properties inside each of these these targets is defined as follows:
|
||||
|
||||
## Running Tasks
|
||||
|
||||

|
||||

|
||||
|
||||
Run the `build` target for your `products-data-client` project:
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 94 KiB |
20
docs/shared/node-tutorial/generator-syntax.svg
Normal file
|
After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 39 KiB |
13
docs/shared/node-tutorial/requirements-diagram.svg
Normal file
|
After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 62 KiB |
17
docs/shared/node-tutorial/run-target-syntax.svg
Normal file
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 54 KiB |