mirror of
https://github.com/Kong/insomnia.git
synced 2026-09-18 11:09:25 -04:00
## Summary - Replaces the madge-based `check-cycle-references` with a `dependency-cruiser`-based check, cruised once per npm workspace package. - Keeps the checker, dependency-cruiser config, and known-cycle baseline together under `scripts/circular-references/`. - Uses a committed baseline to grandfather existing cycles while failing on new cycles and stale baseline entries. - Cleans the existing `insomnia-inso` type cycle by using `insomnia-data`'s `AllTypes` instead of importing the database container type. - CI explicitly uses Bash for correct `tee`/pipeline failure propagation, safely handles skipped checks, and posts a PR report. - Dropped `madge`/`.madgerc`, added `dependency-cruiser`.
5 lines
154 B
JSON
5 lines
154 B
JSON
{
|
|
"forbidden": [{ "name": "no-circular", "severity": "warn", "from": {}, "to": { "circular": true } }],
|
|
"options": { "tsPreCompilationDeps": true }
|
|
}
|