Sub-task of #4869.
Why
bundlewatch is the sole reason axios and follow-redirects are in the catalog dep tree — both are chronic Dependabot security-PR sources (~4 PRs in the last 10 months between them). Removing bundlewatch eliminates that transitive chain entirely.
Scope
- Remove
bundlewatch from catalog/package.json devDependencies.
- Remove the
bundlewatch npm script (line ~19 of catalog/package.json).
- Regenerate
catalog/package-lock.json under node@20's npm (per repo memory).
- Remove any CI step that invokes
bundlewatch (check .github/workflows/).
- Verify
axios and follow-redirects are gone from the lockfile.
Replacement?
Open question — does anyone actually look at bundlewatch output? Options:
- Drop it outright (simplest; if nobody's monitoring, it's dead weight).
- Replace with
bundlesize-action or similar lighter alternative.
Recommend (1) unless someone speaks up.
Acceptance
Sub-task of #4869.
Why
bundlewatchis the sole reasonaxiosandfollow-redirectsare in the catalog dep tree — both are chronic Dependabot security-PR sources (~4 PRs in the last 10 months between them). Removingbundlewatcheliminates that transitive chain entirely.Scope
bundlewatchfromcatalog/package.jsondevDependencies.bundlewatchnpm script (line ~19 ofcatalog/package.json).catalog/package-lock.jsonunder node@20's npm (per repo memory).bundlewatch(check.github/workflows/).axiosandfollow-redirectsare gone from the lockfile.Replacement?
Open question — does anyone actually look at bundlewatch output? Options:
bundlesize-actionor similar lighter alternative.Recommend (1) unless someone speaks up.
Acceptance
npm ls axiosin/catalogreturns nothing.npm ls follow-redirectsin/catalogreturns nothing.