Merge pull request #8978 from meteor/scan-non-core-packages-in-checkout

Scan non-core packages as local packages when running from checkout.
This commit is contained in:
Ben Newman
2017-08-02 11:58:17 -07:00
committed by GitHub
23 changed files with 4 additions and 0 deletions

View File

@@ -651,7 +651,11 @@ _.extend(ProjectContext.prototype, {
files.pathJoin(files.getCurrentToolsDir(), 'packages');
searchDirs.push(
// Include packages like packages/ecmascript.
packagesDir,
// Include packages like packages/non-core/coffeescript.
files.pathJoin(packagesDir, "non-core"),
// Include packages like packages/non-core/blaze/packages/blaze.
files.pathJoin(packagesDir, "non-core", "*", "packages"),
);
}