Skip to content

fix: remove accidentally installed npm devDependency [EXT-7405]#1340

Open
Jared Jolton (jjolton-contentful) wants to merge 1 commit into
contentful:mainfrom
jjolton-contentful:fix/remove-accidental-dependencies
Open

fix: remove accidentally installed npm devDependency [EXT-7405]#1340
Jared Jolton (jjolton-contentful) wants to merge 1 commit into
contentful:mainfrom
jjolton-contentful:fix/remove-accidental-dependencies

Conversation

@jjolton-contentful

@jjolton-contentful Jared Jolton (jjolton-contentful) commented May 5, 2026

Copy link
Copy Markdown

Summary

  • Removes the npm package (v11.7.0) from devDependencies — it was accidentally added (likely via npm install npm) and is not imported or required anywhere in the codebase.
  • Reduces install footprint and avoids shipping a bundled copy of npm itself as a dev dependency.

Verification

  • Grepped all .ts, .js, .mjs, and .cjs files for require('npm'), from 'npm', and import 'npm' — zero matches.
  • npm install succeeds cleanly after removal.

Test plan

  • CI passes (no source code changes, only dependency removal)
  • npm install completes without errors
  • Existing tests pass unchanged

🤖 Generated with Claude Code

@jjolton-contentful Jared Jolton (jjolton-contentful) changed the title fix: remove accidentally installed npm devDependency [EXT-3797] fix: remove accidentally installed npm devDependency [EXT-7405] May 5, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The `npm` package was added to devDependencies by mistake (likely from
running `npm install npm`). It is not imported anywhere in the codebase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jjolton-contentful
Jared Jolton (jjolton-contentful) force-pushed the fix/remove-accidental-dependencies branch from 7a700f6 to 337b50a Compare May 12, 2026 21:24
@jjolton-contentful

Copy link
Copy Markdown
Author

Gustavo Zago Basilio (@gbasilio) please merge at your convenience, I'm lacking perms :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants