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: remove unused dependency fuels from the create-fuels package #2019

Merged
merged 5 commits into from Apr 8, 2024

Conversation

Dhaiwat10
Copy link
Member

@Dhaiwat10 Dhaiwat10 commented Apr 5, 2024

Summary

We had fuels listed in the dependencies for create-fuels even though we were not using it, and this was causing the initial install/execution of the pnpm create fuels command to be extremely slow. Now it's almost instant :D

Closes #2013

@Dhaiwat10 Dhaiwat10 changed the title feat: remove unused dependency fuels from the create-fuels package feat: remove unused dependency fuels from the create-fuels package Apr 5, 2024
@Dhaiwat10 Dhaiwat10 changed the title feat: remove unused dependency fuels from the create-fuels package fix: remove unused dependency fuels from the create-fuels package Apr 5, 2024
Copy link
Contributor

github-actions bot commented Apr 5, 2024

This PR is published in NPM with version 0.0.0-pr-2019-20240405203944

@Dhaiwat10 Dhaiwat10 self-assigned this Apr 5, 2024
@Dhaiwat10 Dhaiwat10 added the bug label Apr 5, 2024
Copy link
Contributor

github-actions bot commented Apr 5, 2024

Coverage Report:

Lines Branches Functions Statements
79.38%(+0%) 69.68%(+0%) 77.44%(+0%) 79.51%(+0%)
Changed Files:

Coverage values did not change👌.

@Dhaiwat10 Dhaiwat10 enabled auto-merge (squash) April 5, 2024 21:03
@maschad
Copy link
Member

maschad commented Apr 5, 2024

Good find @Dhaiwat10 , but we probably should integrate a tool like depcheck into our CI to see what other unused dependencies are polluting the repo and ensure they are removed before being merged.

Copy link
Contributor

@petertonysmith94 petertonysmith94 left a comment

Choose a reason for hiding this comment

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

Approved 🍏

I agree with @maschad about the dependency check in the CI - I would say this could be follow up issue.

@Dhaiwat10 Dhaiwat10 merged commit 4b0d44e into master Apr 8, 2024
20 of 21 checks passed
@Dhaiwat10 Dhaiwat10 deleted the dp/create-fuels-slow branch April 8, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npm create fuels 'cold-boot' time is very slow
4 participants