lkytal / quickTask

Task runner and manager extension for VSCode
https://lkytal.github.io/quickTask/
GNU Affero General Public License v3.0
11 stars 7 forks source link

Please add typescript gulp files #28

Closed RuntimeRascal closed 5 years ago

RuntimeRascal commented 5 years ago

Gulp has built-in support for typescript.

If you have ts-node installed eg: npm i -D ts-node then you can include a gulpfile.ts file and simply run the gulp command.

gulp will automatically register with ts-node to transpile in memory and execute the resulting javascript. I think it does it like so gulp --require ts-node/register

I use typescript for my gulp files as it gives me great intellisense and library discovery. Also, everything in my project is typescript so the uniformity is nice. I allready had ts-node since mocha requires it to use typescript.

I really like your extension and use for my vs tasks and npm scripts.

Please allow .ts files for gulp file globs to allow typescript.

lkytal commented 5 years ago

Hi, I've added tentative support to gulpfile.ts, let me if it works as intended.

RuntimeRascal commented 5 years ago

Seems to work great. Thank you so much.


From: Kaiyuan Liu notifications@github.com Sent: Thursday, September 27, 2018 1:33 PM To: lkytal/quickTask Cc: Tommy; Author Subject: Re: [lkytal/quickTask] Please add typescript gulp files (#28)

Hi, I've added tentative support to gulpfile.ts, let me if it works as intended.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flkytal%2FquickTask%2Fissues%2F28%23issuecomment-425178161&data=02%7C01%7C%7C4dfe04d4a88341a0e9a208d6249f5517%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636736664070651364&sdata=17tmcxdmXRCj4wuWtMG%2FIoyjaQv6yEXRGJVxJjlgFxQ%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACT1zpuXK0-WsJRbd-kPWM6HL3B-egXXks5ufQvlgaJpZM4W5z3f&data=02%7C01%7C%7C4dfe04d4a88341a0e9a208d6249f5517%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636736664070651364&sdata=6Fr6qfAep5xxLG6AHIJsGyyLUEebm7HzOraXVyIb274%3D&reserved=0.