andrewdavey/cassette — pull request #414 by johnnyreilly (2013-10-08 14:41:55+00:00)
Title: Added Cassette.TypeScript to make Cassette and TypeScript work together ...

...(deals with Asset References issue)

Hi Andrew,

I took the blog post I wrote about getting Cassette and TypeScript to work well together ( http://icanmakethiswork.blogspot.co.uk/2013/07/how-im-using-cassette-part-3-typescript.html ) and formalised it into a Cassette project called Cassette.TypeScript. I used Cassette.CoffeeScript as a rough template to do this. To be honest it's much simpler because it's not performing the compilation step; it essentially comes down to preventing Cassette from parsing TypeScript references.

I've also enclosed unit tests. If you wanted to use this to create a Cassette.TypeScript NuGet package that's absolutely fine with me (I've seen a couple of comments on Twitter asking whether a package like this existed).

The only change to Cassette was really to expose the internals for unit testing purposes to Cassette.TypeScript.UnitTests. I hope I've covered all bases - let me know if I've missed anything.

Best,
John