[Maintenance] Parallelization of npm jobs #358
Labels
Priority: Low
The issue contains work with low priority.
Template: Frontend
Issues regarding the frontend template.
Template: Webcomponent
Issues regarding the webcomponent template.
Type: Maintenance
The issue contains maintenance work.
Relevant template
refarch-frontend, refarch-webcomponent
Problem description (optional)
Currently for our custom npm jobs defined in
package.json
we sequentially execute the steps (like prettier, ESLint, vue-tsc etc.).This also means that follow up jobs fail if the previous one failed.
This hides important information about the result of a job (e.g. prettier fails and we don't know if ESLint would as well or not)
Desired solution
By using parallel execution of steps (e.g. with a package like https://github.com/open-cli-tools/concurrently) we can execute e.g. the linting steps in parallel and transparently show which part of the tooling failed.
The tool waits until all defined jobs where run and then aggregates into a final status code.
This way we give more transparency to the developer and increase the execution speed of linting (and potentially other stuff) on local machines and in CI/CD.
Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate
Code of Conduct
The text was updated successfully, but these errors were encountered: