qiwi / tech-radar

Fully automated tech-radar generator
https://qiwi.github.io/tech-radar/
MIT License
30 stars 14 forks source link

Multiple Radars Getting Mixed Up #116

Open Shamshiel opened 9 months ago

Shamshiel commented 9 months ago

Issue type

Expected behavior

Running the following npx command on the data from this repository creates a tech radar like the example from this repository.

npx @qiwi/tech-radar --input "./data/**/*.{csv,json,yml}" --output ./dist --base-prefix tech-radar --autoscope true --nav-page true

Actual behavior

Running the above mentioned npx command results in all the radars getting mixed up, e.g. the android directory has the directory 2021-07-16 that actually belongs to backend. All radars are mixed between the different radar groups android, backend, ios, etc...

Sames goes for my project where I have only two data directories "Foo" and "Bar". And the content from "Foo" is in "Bar" and the other way around.

Steps to reproduce

  1. Download this repository as a .zip and extract somewhere
  2. Create a new empty npm project with npm init
  3. Copy the data folder from this repo to the new npm project
  4. Add @qiwi/tech-radar as a dependency and run npm install
  5. Run npx @qiwi/tech-radar --input "./data/**/*.{csv,json,yml}" --output ./dist --base-prefix tech-radar --autoscope true --nav-page true
  6. Folders in the dist directory should be wrong

Specifications