ArpNetworking / sbt-typescript

A plugin for SBT that uses sbt-web to compile typescript resources.
Apache License 2.0
60 stars 26 forks source link

Support tsconfig.json #45

Closed wassertim closed 8 years ago

wassertim commented 8 years ago

This is still work in progress. The idea is to drop the settings via sbt keys and use tsconfig instead.

Any remarks and comments are appreciated.

I think we should use only tsconfig for the settings, so this is a breaking change.

Not all the settings of tsconfig could be used (outDir, include, exclude) due to the sbt-plugin specifics.

wassertim commented 8 years ago

@BrandonArp I'm done with tsconfig support but I'm still refactoring it (because, apparently no one has done it since the beginning). I added some es6 features and cleaned the compile method, moving out the functions. You can see the progress with every commit. Please let me know if you have some remarks and suggestions.

BrandonArp commented 8 years ago

The refactoring is looking great! Let me know when you're good with me merging it.

We'll need to update the README file to reflect the new usage. We should also probably bump the Y version to 0.3.0-SNAPSHOT since this is a breaking change (and I don't quite feel comfortable calling it 1.0 yet).

wassertim commented 8 years ago

Yes, I will update the README file as well. I will let you know when it is done, so you will take a look again.

wassertim commented 8 years ago

@BrandonArp could you please review it again. It is ready to be merged.

wassertim commented 8 years ago

@BrandonArp Hey, I think we can make the world a little bit better if we merge it :) Everything's done, including the readme

BrandonArp commented 8 years ago

Thank you for all the hard work. This looks great.