Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 30, 2025

Adds a CI step to enforce deduplication of dependencies and fixes existing violations.

Changes

  • CI: Added yarn dedupe --check step to lint workflow, positioned after dependency installation to catch duplicates before code checks
  • Dependencies: Deduped 31 packages in yarn.lock (e.g., acorn, debug, es-abstract, @types/node) using highest compatible versions

The check fails the build if duplicates are detected, preventing regression.

Original prompt

Add a CI step to run yarn dedupe to check for duplicate dependencies. Fix any existing violations before opening your PR.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Oct 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cookbook Ready Ready Preview Comment Oct 30, 2025 4:27am

Copilot AI changed the title [WIP] Add CI step to check for duplicate dependencies Add CI check for duplicate dependencies Oct 30, 2025
Copilot AI requested a review from nwalters512 October 30, 2025 04:29
Copilot finished work on behalf of nwalters512 October 30, 2025 04:29
@nwalters512 nwalters512 marked this pull request as ready for review October 30, 2025 04:30
@nwalters512 nwalters512 merged commit 79a9488 into main Oct 30, 2025
4 checks passed
@nwalters512 nwalters512 deleted the copilot/add-ci-step-yarn-dedupe branch October 30, 2025 04:30
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.

2 participants