Skip to content

Remove bundlewatch from /catalog devDeps #4870

@drernie

Description

@drernie

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:

  1. Drop it outright (simplest; if nobody's monitoring, it's dead weight).
  2. Replace with bundlesize-action or similar lighter alternative.

Recommend (1) unless someone speaks up.

Acceptance

  • npm ls axios in /catalog returns nothing.
  • npm ls follow-redirects in /catalog returns nothing.
  • CI passes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions