Skip to content

chore(deps): remove unused dependencies#516

Open
gkriegspeedbay wants to merge 1 commit into
wonderwhy-er:mainfrom
gkriegspeedbay:chore/remove-unused-dependencies
Open

chore(deps): remove unused dependencies#516
gkriegspeedbay wants to merge 1 commit into
wonderwhy-er:mainfrom
gkriegspeedbay:chore/remove-unused-dependencies

Conversation

@gkriegspeedbay

@gkriegspeedbay gkriegspeedbay commented Jun 15, 2026

Copy link
Copy Markdown

What

Removes 8 dependencies that are declared but never used:

  • dependencies: file-type, remark, remark-gfm, remark-parse, unified
  • devDependencies: commander, ts-node, nexe

Why

None of these are imported in source, invoked by an npm script, or referenced in any config. Removing them drops ~4,900 net lockfile lines — the unified/remark markdown stack, file-type, and nexe's large stalled-beta subtree (archiver@5, got, caw, download, @yarnpkg/*, app-builder, …). nexe's latest dist-tag is still a 2025 beta and nothing in the repo invokes it.

Kept (depcheck flags them, but they ARE used)

  • @tiptap/pm — a required peerDependency of @tiptap/core and @tiptap/extension-table.
  • @anthropic-ai/mcpb — invoked by the build:mcpb script via npx @anthropic-ai/mcpb validate|pack.

Verification

With all eight removed: npm install resolves, npm run build (tsc over the full source tree) succeeds — proving nothing in src imports them — and exceljs round-trips pass.

Summary by CodeRabbit

  • Chores
    • Removed unused dependencies from the project
    • Streamlined development configuration

Several declared dependencies are never imported in source, invoked by an npm
script, or referenced in any config (verified by a full source-tree scan plus a
clean tsc build):

  dependencies:    file-type, remark, remark-gfm, remark-parse, unified
  devDependencies: commander, ts-node, nexe

Removing them drops ~4,900 net lockfile lines -- the unified/remark markdown
stack, file-type, and nexe's large, stalled-beta subtree (archiver@5, got, caw,
download, @yarnpkg/*, app-builder, ...). nexe is a single-executable builder that
nothing in the repo invokes; its `latest` dist-tag is still a 2025 beta.

Kept (depcheck flags them, but they ARE used): @tiptap/pm -- a required
peerDependency of @tiptap/core and @tiptap/extension-table; and @anthropic-ai/mcpb
-- invoked by the build:mcpb script via `npx @anthropic-ai/mcpb validate|pack`.

Verified: with all eight removed, npm install resolves, `npm run build` (tsc over
the full source tree) succeeds -- proving nothing in src imports them -- and
exceljs round-trips pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c9e51d9a-b174-478b-8465-a4c712e52339

📥 Commits

Reviewing files that changed from the base of the PR and between 7a9b2ff and 014fcbc.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
💤 Files with no reviewable changes (1)
  • package.json

📝 Walkthrough

Walkthrough

package.json removes file-type from dependencies and removes commander, nexe, and ts-node from devDependencies. Additionally, sharp and tiptap-markdown are repositioned before the remark-related entries in dependencies; their versions are unchanged.

Changes

Dependency Cleanup

Layer / File(s) Summary
Remove and reorder dependencies
package.json
Removes file-type from dependencies. Removes commander, nexe, and ts-node from devDependencies. Reorders sharp and tiptap-markdown before the remark/remark-gfm/remark-parse entries in dependencies (versions unchanged).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 Snip snip, out go the strays,
file-type hops along its way,
nexe and commander bid adieu,
ts-node vanished from the queue.
Fewer deps, a tidier burrow—
less to chew through tomorrow! 🌿

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: removing 8 unused dependencies from package.json, which is the primary focus of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant