ToddThomson / tsproject

Typescript minifier and modular typescript bundle optimizer for gulp (Ts Vinyl Adapter).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include non minified source in npm package

niemyjski opened this issue · comments

I'm getting a crazy issue and I wanted to use the non minified source file so I could get unobfuscated code to try and debug this issue locally but unable to easily do that as you only contain tsproject.min.js. Ideally I'd also have tsproject.js which is a single file without minification .

@niemyjski I apologize for the delay in getting back to you Blake. As you may know, I was in the process of breaking TsProject into components. TsProject was/is to be deprecated. I don't want to leave you stuck, but I really don't have any time right now to work on TsProject. The earliest I can look at this is in early May.

@niemyjski I am looking at your issues now. I am not certain if I want to update TsProject so that it works with the latest version of Typescript ( currently 2.3.2 ). TsProject works only with the Typescript 2.0.x versions.

I'll take an hour or so to see what effort the update will take and make my decision...

I will include the non minified source for ALL modules in the future.

@niemyjski OK. I've updated TsProject to work with Typescript 2.3.x . Look for the npm release soon.

@niemyjski Bit rusty with NPM. Broke the 2.1.0 release. Will fix soon...

@niemyjski Typescript 2.3.x also breaks the minifier in TsProject. The un-minified version of TsProject is fine.

:( what's the best steps to move forward? Can I use your other project? Will that work??

@niemyjski I'll figure it out soon. It's just taking me a bit longer to remember how to debug within VS2017!
Don't worry, I should have it all put back together tomorrow hopefully.

Thanks, I greatly appreciate it!!!!

@niemyjski Update: I've fixed up a couple of minifier issues dealing with Typescript versions > 2.0.x . The minified version of TsProject with Typescript 2.3.2 now runs, but I am hitting another issue. I should have it figured out soon.

@niemyjski I have traced the issue down to Typescript changes to inheritance. I will need to modify the minifier.

Thanks, i really appreciate it and owe you a few drinks. I must write shitty code or be doing something wrong, seems I run into issues no matter what I'm doing.

@niemyjski No worries! Your coding is fine. The problem is more to do with how much Typescript changes between minor versions. The other problem is TsProject is too broad. I've also been too busy to finish the reorg and rewrite of the individual TsProject components. I've finally got some time, so hopefully I'll be able to get an initial release out soon.

Fixed in NPM release 2.1.1