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

hardhat --init cleanup #5954

Open
3 tasks
kanej opened this issue Nov 18, 2024 · 1 comment
Open
3 tasks

hardhat --init cleanup #5954

kanej opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented Nov 18, 2024

The Hardhat v3 alpha includes --init support. Testing for alpha has shown we need some follow up tasks.

TODO

  • Tests for installation of --init, this doesn't need to be e2e but it should test at a minimum it should prove that spawn works on different platforms.
  • --init doesn’t show “help us improve…”
  • --init doesn’t check for existing dependencies.
    • e.g. if you have viem already installed in the package, it just installs it again, potentially a different version
    • Maybe we should check this before even copying any file and fail
      • except for a hardhat clash, which will be common
@kanej kanej added the v-next A Hardhat v3 development task label Nov 18, 2024
@kanej kanej added this to the Private Alpha milestone Nov 18, 2024
@kanej kanej added this to Hardhat Nov 18, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Nov 18, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Nov 18, 2024
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Nov 18, 2024
@galargh
Copy link
Member

galargh commented Nov 20, 2024

One of the items listed in the original description wasn't directly related to --init so I moved it to a separate issue - #5960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: In Review
Development

No branches or pull requests

2 participants