TypeStrong / grunt-ts

A grunt task to manage your complete typescript development to production workflow
https://www.npmjs.com/package/grunt-ts
MIT License
330 stars 121 forks source link

Support regex to prevent custom file from being cached #422

Closed shuky19 closed 6 years ago

shuky19 commented 6 years ago

When fast-compiling project with .d.ts files caching them meaning some typings will be missing, this allows the user to control what get cached or not.

nycdotnet commented 6 years ago

Hello - thank you for contributing this. Would you be so kind as to add documentation for this new feature to the readme.md, and to fix the broken test? I think the test can be fixed by updating the expected file as TypeScript has changed the order of declaration of the variables in 2.9.1 for some reason. Thank you!

shuky19 commented 6 years ago

Ok done, let me know if you need anything else? If not could you publish a new version of the package?

nycdotnet commented 6 years ago

Looks like the one file is missing a \n at the end. The Node 0.10 build appears to be broken due to chalk. I'll merge it with that broken as Node 0.10 is now deprecated.

shuky19 commented 6 years ago

Ok I'm ready

shuky19 commented 6 years ago

Can you please merge my PR? It passed all tests except Node 0.10

nycdotnet commented 6 years ago

Thank you - I will push a release ASAP that includes the deprecation notice for Node 0.10 (which has been unsupported for some time).

nycdotnet commented 6 years ago

Release should be tonight New York time.