MarioArnt / MarioArnt/robespierre

Mono-repository support

Open
#2 0 comments 0 reactions 1 assignee Claimed by @MarioArnt View on GitHub
enhancement
Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Abstract

This util should be able to analyze concurrently multiple workspace in a mono-repository.

To achieve that, we should:

* Find the root manifest which contains the workspaces array
* For each workspace, launch the processing in a new thread
* Produce a unified audit report

## How to determine whether or not the project is a mono-repository

From the current working directory where the command has been launched :

1. Recursively find nearest package.json
2a. If this package.json contains workspace definitions, the project is a mono-repo
2b. If not, find recursively if there is a "root manifest" parent referencing this manifest as workspace
3a. If this is the case, the project is a mono-repo
3b. Else this is a standalone npm package

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.