Skip to content

Commit

Permalink
docs(build-env): adopt task graph diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Sep 13, 2024
1 parent 1a17468 commit 35c9bea
Showing 1 changed file with 26 additions and 30 deletions.
56 changes: 26 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,33 @@ User/
└── package.json # 🔓 npm install/uninstall installs into workspace root
```

#### Performance
#### Task Performance

To elaborate on the performance issues, we show the different cases while writing tests.

##### Changes in source

```mermaid
flowchart TB
project-e2e-and-environment:::project-e2e-.implicit.->project:::project;
classDef project-e2e-and-environment stroke:#f00
classDef project stroke:#f00
flowchart LR
P[project-e2e:e2e]:::e2e-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
classDef build stroke:#f00
```

##### Changes in the test environments

```mermaid
flowchart TB
project-e2e-and-environment:::project-e2e-and-environment-.implicit.->project:::project;
classDef project-e2e-and-environment stroke:#f00
classDef project stroke:#f00
P[project-e2e:e2e]:::e2e-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
classDef build stroke:#f00
```

##### Changes in tests

```mermaid
flowchart TB
project-e2e-and-environment:::project-e2e-and-environment-.implicit.->project:::project;
classDef project-e2e-and-environment stroke:#f00
P[project-e2e:e2e]:::e2e-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
```

### Solution
Expand Down Expand Up @@ -105,41 +104,38 @@ Root/ # 👈 this is your CWD
└── package.json # npm install/uninstall
```

#### Performance
#### Task Performance

To elaborate on the performance improvements, we show the different cases while writing tests.

##### Changes in source

```mermaid
flowchart TB
project-e2e:::project-e2e-.implicit.->e2e-environment:::e2e-environment;
e2e-environment-.implicit.->project:::project;
classDef project-e2e stroke:#f00
classDef e2e-environment stroke:#f00
classDef project stroke:#f00
flowchart LR
P[project-e2e:e2e]:::e2e-.implicit.->S[project-e2e:setup-env]:::build;
S-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
classDef setup-env stroke:#f00
classDef build stroke:#f00
```

##### Changes in the test environments

```mermaid
flowchart TB
project-e2e:::project-e2e-.implicit.->e2e-environment:::e2e-environment;
e2e-environment-.implicit.->project:::project;
classDef project-e2e stroke:#f00
classDef e2e-environment stroke:#f00
flowchart LR
P[project-e2e:e2e]:::e2e-.implicit.->S[project-e2e:setup-env]:::build;
S-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
classDef setup-env stroke:#f00
```

##### Changes in tests

```mermaid
flowchart TB
project-e2e:::project-e2e-.implicit.->e2e-environment:::e2e-environment;
e2e-environment-.implicit.->project:::project;
classDef project-e2e stroke:#f00
flowchart LR
P[project-e2e:e2e]:::e2e-.implicit.->S[project-e2e:setup-env]:::build;
S-.implicit.->E[project:build]:::build;
classDef e2e stroke:#f00
```

## Test it
Expand Down

0 comments on commit 35c9bea

Please sign in to comment.