Skip to content

Dependency Management and Redundancy #180#182

Open
ehsanqasimi wants to merge 1 commit intomeananddraj:mainfrom
ehsanqasimi:main
Open

Dependency Management and Redundancy #180#182
ehsanqasimi wants to merge 1 commit intomeananddraj:mainfrom
ehsanqasimi:main

Conversation

@ehsanqasimi
Copy link
Copy Markdown

solved

PR Template 🚀

🐛 Fixed Issue

Resolves issues related to inefficient dependency management and bloated static data files. The package.json incorrectly included development tools in dependencies, and helper/repo.js contained duplicate repository data entries, unnecessarily increasing bundle size.

🛠 Proposed Changes

  • Moved linting tools to devDependencies: Relocated eslint, eslint-config-next, autoprefixer, postcss, prettier, and tailwindcss from dependencies to devDependencies since they are only needed for code quality checks during development, not for production builds.

  • Removed duplicate repository data: Cleaned up helper/repo.js by removing 3 duplicate identical entries of the same repository object. Reduced file size from 488 lines to 124 lines (75% reduction), decreasing bundle size and preventing potential UI duplication issues.

🖼️ Screenshots

N/A (No visual changes)

📝 Notes for Reviewers

  • Verify that npm install correctly places production and development dependencies in their respective sections.
  • Confirm that the application still functions correctly with the deduplicated repos array in helper/repo.js.
  • These changes have no impact on runtime functionality—only on build optimization and bundle size.

Checklist ✅

  • [ x ] Starred this repo ⭐.
  • [ x ] Code adheres to the project's coding standards 💻.
  • [ x ] No sensitive information is inadvertently exposed 👀.
  • [ x ] Commit history is clear and concise 📃.

Reviewer Tasks 🕵️

  • Review the package.json structure to ensure all dev-only packages are in devDependencies.
  • Verify helper/repo.js contains only unique repository entries and no functionality is affected.

Specify any particular tasks or requests for reviewers to focus on during their assessment.

Additional Context ℹ️

These optimizations improve the project's build efficiency and reduce unnecessary bundle size, contributing to faster installation and deployment times.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

@ehsanqasimi is attempting to deploy a commit to the anand346's projects Team on Vercel.

A member of the Team first needs to authorize it.

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