Skip to content

chore: remove unused dependencies across packages#1252

Merged
yifancong merged 1 commit intomainfrom
remove_dependencies_0812
Aug 12, 2025
Merged

chore: remove unused dependencies across packages#1252
yifancong merged 1 commit intomainfrom
remove_dependencies_0812

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented Aug 12, 2025

Summary

Clean up package.json files by removing unused dependencies to reduce install size and maintenance overhead.

Found by Knip (Some of the results in the screenshots are misjudgments):

Screenshot 2025-08-12 at 16 23 37

Copilot AI review requested due to automatic review settings August 12, 2025 08:25
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 12, 2025

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit f0cd9f3
🔍 Latest deploy log https://app.netlify.com/projects/rsdoctor/deploys/689afa73126c120008891a67
😎 Deploy Preview https://deploy-preview-1252--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes unused dependencies from package.json files across multiple packages to reduce bundle size and maintenance overhead, as identified by the Knip tool.

Key changes:

  • Removed unused runtime and development dependencies from 5 packages
  • Eliminated both direct dependencies and their corresponding TypeScript type definitions
  • Cleaned up duplicate or redundant package entries

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/webpack-plugin/package.json Removed fs-extra and @types/fs-extra dependencies
packages/sdk/package.json Removed lodash and @types/lodash dependencies
packages/graph/package.json Removed socket.io dependency
packages/core/package.json Removed source-map-js dependency
packages/cli/package.json Removed @rsdoctor/client and tslib dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@chenjiahan chenjiahan requested a review from yifancong August 12, 2025 08:40
@yifancong yifancong merged commit 1329952 into main Aug 12, 2025
10 checks passed
@yifancong yifancong deleted the remove_dependencies_0812 branch August 12, 2025 11:19
@yifancong yifancong mentioned this pull request Aug 20, 2025
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