From 58f666b5ad2983e3f562d29260f0eeffc254e00d Mon Sep 17 00:00:00 2001 From: "Benjamin S. Berman" Date: Mon, 23 Mar 2015 10:00:34 -0700 Subject: [PATCH 1/2] Skip folders called `test`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some packages, like Mozilla’s Add-On SDK and its dependees, use this folder to store test node modules. Ideally, there would be a way to detect if a module were local only, and not add its entry to the `package.json`. This fix also removes a considerable number of resolved but nonetheless unnecessary packages from the `package.json` for Workpop. --- lib/demeteorizer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/demeteorizer.js b/lib/demeteorizer.js index 400e5ce..eab0ff3 100644 --- a/lib/demeteorizer.js +++ b/lib/demeteorizer.js @@ -242,8 +242,8 @@ Demeteorizer.prototype.findDependenciesInFolder = function (folder, inNodeModule } } - // Skip the examples directory. - if (file === 'examples' || file === 'samples') { + // Skip the examples, samples and tests directories. + if (file === 'examples' || file === 'samples' || file === 'test') { keepGoing = false; } From 1b592fa7fd93cd823d7a2a355580666c5f194bf5 Mon Sep 17 00:00:00 2001 From: "Benjamin S. Berman" Date: Mon, 23 Mar 2015 10:01:29 -0700 Subject: [PATCH 2/2] 2.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 333d0eb..ca49ec1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "keywords": [ "meteor" ], - "version": "2.1.2", + "version": "2.1.3", "author": "Modulus ", "maintainers": [ "Brandon Cannaday ",