Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capability to do repo traversal and invoke yarn in dirs where yarn.lock file is detected #15

Open
punjabirocker opened this issue Apr 25, 2017 · 1 comment
Milestone

Comments

@punjabirocker
Copy link

I have scenario where repository contains multiple node projects with each project having its own yarn.lock. I want to be able to have this task to traverse the repo and execute yarn install when it finds yarn.lock file similar to nuget restore task where you can provide a wild card and the task does the the job of traversing and restoring nuget packages. I believe this is a common scenario and would be plus if you add the capability

@sandorfr sandorfr modified the milestone: 1.0.0 May 7, 2017
@sandorfr
Copy link
Member

sandorfr commented May 7, 2017

I love this suggestion, this will definitely bring an additional value to the Task. I've been thinking about the best approach.

I think I'll introduce a multimatch option to select the appropriate files, and then run yarn install on the containing directories of the selected files. It would give the opportunity to write exclusion rules if one don't need everything to be installed.

image

@sandorfr sandorfr modified the milestones: 1.0.0, 2.0.0 Aug 2, 2017
@sandorfr sandorfr modified the milestones: 2.0.0, Backlog Sep 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants