Skip to content

Commit 575a451

Browse files
committed
Clarifications around node_modules
1 parent 1a55c2d commit 575a451

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

-exercises-/04-Reuse/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,18 @@ For this exercise you have to switch to branch `reuse-start` of the Git reposito
5454
- Execute _Build CDS_ on the project
5555
<p align="center"><img width="640" src="res/9.png" alt="Build cds"> </p>
5656

57-
- Find `node_modules/spaceflight-model` and see the model files
57+
- Expand `node_modules` folder and see that we got a folder `spaceflight-model` with the imported model files:
5858
<p align="center"><img width="320" src="res/10.png" alt="Browse node_modules"> </p>
5959

60+
> All files below `node_modules` are overwritten by the CDS build and not meant to be modified.
61+
6062
2.4. Remove redundant model code
6163

64+
- Collapse `node_modules` folder again to avoid mixing files up with the genuine source files in the application.
65+
6266
- Delete files `common.cds`, `flight-model.cds`, and `space-model.cds`. These files are now used from the reuse model.
6367
<p align="center"><img width="480" src="res/7.png" alt="Delete files"> </p>
6468

65-
6669
- Remove the first two lines of `index.cds`. Comment in the last line.
6770
<p align="center"><img width="860" src="res/6.png" alt="index.cds"> </p>
6871

-exercises-/04-Reuse/res/10.png

-25.8 KB
Loading

0 commit comments

Comments
 (0)