feat(deps): add EOL dependency inventory script - #5301
Conversation
Signed-off-by: Jessica He <jhe@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5301 +/- ##
==========================================
- Coverage 63.68% 59.69% -3.99%
==========================================
Files 121 109 -12
Lines 2288 2062 -226
Branches 527 501 -26
==========================================
- Hits 1457 1231 -226
Misses 829 829
Partials 2 2
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
The container image build workflow finished with status: |
|
kim-tsao
left a comment
There was a problem hiding this comment.
@JessicaJHee is the script going to run on schedule or will it rely on updates via fixes as described in the README?
|
@JessicaJHee: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |



Description
Adds a generator and snapshot inventory of direct npm dependencies for RHIDP-13174 (inventory only — not remediation RHIDP-13175 or CI RHIDP-13176).
yarn eol-inventoryscans RHDH core (package.json,packages/*,plugins/*) plus generally-available and tech-preview overlay plugins from rhdh-plugin-export-overlaysmain, then looks up npm deprecated / last-publish. It writes:scripts/eol-inventory/eol-dependency-inventory-report.md: Generated reportscripts/eol-inventory/eol-dependency-inventory.csv: table of all dependencies, one row per depSee more on how this works in the README
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer
Run from the repo root (setting
GITHUB_TOKEN/GH_TOKENavoids GitHub rate limits):yarn eol-inventory