Skip to content
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

fix(deps): remove unused dependencies #3933

Merged
merged 6 commits into from
Jan 6, 2022
Merged

fix(deps): remove unused dependencies #3933

merged 6 commits into from
Jan 6, 2022

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented Jan 3, 2022

🎉 Thanks for submitting a pull request! 🎉

Summary

I hope tests pass, but these are unused AFAICT.


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@XhmikosR XhmikosR marked this pull request as ready for review January 3, 2022 14:42
@XhmikosR XhmikosR requested a review from a team as a code owner January 3, 2022 14:42
@lukasholzer lukasholzer added the type: chore work needed to keep the product and development running smoothly label Jan 3, 2022
package.json Show resolved Hide resolved
@@ -7,25 +7,23 @@
{
// Those cannot be upgraded to a major version until we drop support for Node 10
packageNames: [
'path-type',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I sorted these by mistake 👼

Copy link
Contributor

Choose a reason for hiding this comment

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

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Jan 3, 2022

I pushed one more patch about mock-require.

I'm pretty sure quite a few dependencies can be replaced by a single one. For example, you could use escalade to find files like .nvmrc, package.json etc, instead of using read-pkg-up and find-up etc.

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Jan 5, 2022

Can we get this moving please?

renovate.json5 Outdated
'better-opn',
'to-readable-stream',
'configstore',
'http-proxy-middleware',
Copy link
Contributor Author

@XhmikosR XhmikosR Jan 5, 2022

Choose a reason for hiding this comment

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

I discovered that this package can be updated since Node.js 10 is no longer supported and doesn't have any other breaking changes.

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Jan 5, 2022

I added one more patch for the docs. It seems it had some peer dependencies specified but are unused?

renovate.json5 Outdated
'http-proxy-middleware',
'p-map',
'inquirer',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Inquirer update should also be possible

renovate.json5 Outdated
'better-opn',
'to-readable-stream',
'chalk',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added chalk to the list since v5.0.0 is ESM only.

@erezrokah erezrokah added the automerge Add to Kodiak auto merge queue label Jan 6, 2022
@erezrokah erezrokah enabled auto-merge (squash) January 6, 2022 12:46
@XhmikosR
Copy link
Contributor Author

XhmikosR commented Jan 6, 2022

@erezrokah it seems CI failed, can you restart it please?

@erezrokah erezrokah merged commit 495cf5d into netlify:main Jan 6, 2022
@XhmikosR XhmikosR deleted the rm-unused-deps branch January 6, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to Kodiak auto merge queue type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants