Skip to content

node_modules/ is committed to the repository #16

@amanjagdev

Description

@amanjagdev

Description

The entire node_modules/ directory (~148K lines, 2200+ files) is committed to the repository. This causes several problems:

  1. Massive repo bloat — cloning downloads all vendored dependencies instead of just source code.
  2. Noisy diffs — any npm install produces hundreds of changed files, making code review impractical.
  3. Security risk — vendored dependencies don't get updated through normal npm audit fix / npm update workflows, and stale vulnerable packages persist silently.
  4. Platform-specific issues — symlinks in node_modules/.bin/ show as type changes (T) across OS boundaries (macOS vs Linux).

Expected

node_modules/ should be in .gitignore and excluded from version control. Users should run npm install after cloning to fetch dependencies.

Suggested Fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions