Closed madskristensen closed 7 years ago
@madskristensen Let me know if you're looking for some help with this one. I'd be willing to give it a shot.
Please go ahead. I don't have the time to look at this for the next couple of weeks, so any help would be appreciated :)
@madskristensen I'm on it
@madskristensen I've finished my testing and pushed the changes necessary for Yarn CLI support. Take a look, and let me know what you think.
This looks great!! Thanks for taking a stab at this. I'll try it out shortly
Dude, this works beautifully. So cool!!!
@madskristensen It was a pleasure to work on. Now I can put this to use at work.
Very cool
The Verbose command flag -d
doesn't work with yarn
Good catch. What's the best way to get the configPath
value from within TaskRunnerProvider.Options
? TRX core must be determining that and providing it to methods like TaskRunnerProvider.ParseConfig
.
Perhaps pass an empty string instead of the -d
in the Option. Then in the task execution code we can check if the option is enabled and then append it ourselves
It seems like I'd need to hook into something like TaskRunnerNode's Invoke method to append the option. Did you have something else in mind when you said "task execution code"?
That's what i meant
@madskristensen Pushed the commit. Give it a try now.
When a yarn.lock or .yarnclean file exist in the same directory as package.json, the extension should automatically switch to call the Yarn CLI instead of calling npm