Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

[v5] Allow configuration of allowed_extenstions for the migrations #1361

Closed
roderik opened this issue Oct 21, 2018 · 4 comments
Closed

[v5] Allow configuration of allowed_extenstions for the migrations #1361

roderik opened this issue Oct 21, 2018 · 4 comments

Comments

@roderik
Copy link
Contributor

roderik commented Oct 21, 2018

I'm using https://github.com/ethereum-ts/truffle-typechain-example to get everything into typescript but truffle migrate cannot find any migrations ending in .ts due to thus config option:

options.allowed_extensions = options.allowed_extensions || /^\.(js|es6?)$/;

There is however no option to configure this in the truffle.js file.

Crosslink: dethcrypto/truffle-typechain-example#2

@CruzMolina
Copy link
Contributor

@roderik would love to support this. Please feel free to submit a PR!

@roderik
Copy link
Contributor Author

roderik commented Oct 25, 2018

Here you go: #1380

@sneko
Copy link

sneko commented Oct 26, 2018

Thanks @roderik for making Truffle Typescript-compatible , I hope it will be included in beta.2 👍

@CruzMolina
Copy link
Contributor

Yes thank you @roderik for getting the ball rolling. Right now we have our hands full prepping for Devcon, but shooting to have some of this included in beta.2 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants