Skip to content

fix: remove unused dependencies, add undeclared dependencies #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

serhalp
Copy link
Member

@serhalp serhalp commented May 27, 2025

Remove unused dependencies 5e684fa

Note that the eslint config is broken anyway (fix underway in another PR), so I also removed the reference to an eslint dependency that wasn't declared as a dependency in the right package and would have just happened to work due to hoisting.

Declare undeclared dependencies 2ed5bb5

These happened to work for now due to npm node_modules dependency hoisting.

This should have been caught by eslint, but that's broken too (work underway in another PR).

serhalp added 2 commits May 27, 2025 16:01
The eslint config is broken anyway, so I also removed the reference to an
eslint dependency that wasn't declared as a dependency in the right package
and would have just happened to work due to hoisting.
These just happened to work due to dependency tree hoisting, but could have
easily broken in the future.

This should have been caught by eslint, but that's broken too.
@serhalp serhalp marked this pull request as ready for review May 27, 2025 20:21
@serhalp serhalp requested review from a team as code owners May 27, 2025 20:21
@serhalp serhalp enabled auto-merge (squash) May 27, 2025 21:02
@serhalp serhalp merged commit 180546a into main May 27, 2025
23 checks passed
@serhalp serhalp deleted the serhalp/frb-1854-add-missing-undeclared-npm-dependencies branch May 27, 2025 21:07
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