Skip to content

Commit

Permalink
chore(add-caching): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fahslaj committed Jan 3, 2024
1 parent 01981c7 commit f33da25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lerna/src/commands/add-caching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ If you mark `build` as needing topological order, the `nx.json` file will look l
}
```

> **Note:** Before running `add-caching`, Lerna assumes that all scripts need to be run in order.
> After running `add-caching`, Lerna will only run scripts in order if they are marked as needing topological order.
### Which scripts are cacheable?

Each script selected will be cached by Lerna. Only select scripts that do not depend on any external inputs (like network calls). `build` and `test` are usually cacheable. `start` and `serve` are usually not cacheable. Sometimes `e2e` is cacheable.
Expand Down

0 comments on commit f33da25

Please sign in to comment.