Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Sep 16, 2024
1 parent f42cec1 commit 089e738
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions docs/motivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ P[project-e2e:e2e]:::e2e-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
```

A common scenario would be to do `changes in the tests` multiple times and test if they pass.
For this scenario executing `nx run cli-e2e:e2e` would download **`3.27 MB`** every single task run.

### 🔫 DX

As the logic that starts and stops Verdaccio is backed into the setup script it is very hard and cumbersome to debug or even see what is going on.
Expand All @@ -211,3 +214,5 @@ This has several downsides when maintaining the code:
Developers have to manually step through the complex code to identify the problem, which slows down the development process a lot.
- The configuration for the local registry and other components is spread across different parts of the setup, adding to the complexity.
This makes it harder to ensure that the environment is correctly configured across all tests.

[Task graph opaque](./utils-e2e:e2e--task-graph_opaque.png)
Binary file added docs/utils-e2e:e2e--task-graph-idle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/utils-e2e:e2e--task-graph_opaque.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
7 changes: 0 additions & 7 deletions examples-e2e/utils-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
"targets": {
"lint": {},
"e2e": {
"dependsOn": [
{
"projects": "self",
"target": "setup-env",
"params": "forward"
}
],
"executor": "@nx/vite:test",
"inputs": ["default", "^production"],
"outputs": ["{options.reportsDirectory}"],
Expand Down

0 comments on commit 089e738

Please sign in to comment.