Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

Dynamic Typechain Target#18

Open
bradennapier wants to merge 4 commits intomasterfrom
feature/dynamic-typechain-target
Open

Dynamic Typechain Target#18
bradennapier wants to merge 4 commits intomasterfrom
feature/dynamic-typechain-target

Conversation

@bradennapier
Copy link
Contributor

We have a need to use TypeChain in a variety of targets. With the addition of ethers-v5, it makes sense to allow multiple targets to allow others to use this as well to generate the appropriate types for their needs.

This is a simple non-intrusive change which does the following:

  • Adds some parallelism to commands
  • Adds yarn generate:types:$target
  • Allows running generate:types without first building via a shell script
  • Allows running yarn generate:types $target ?--overwrite
  • Allows running yarn generate:types-all to generate all in parallel
  • Adds in an engines property to package.json so we know user is on a compatible node version - the user will otherwise currently get some confusing errors due to the async library not working with Node 14.
  • Does not otherwise change any logic or flow

@bradennapier bradennapier requested a review from dileepfrog July 9, 2020 01:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant