find-packages
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -32,6 +32,6 @@ "use strict"; | ||
.map((pkgPath) => __awaiter(this, void 0, void 0, function* () { | ||
let pkg; | ||
let manifest; | ||
try { | ||
pkg = yield readPkg(pkgPath, { normalize: false }); | ||
return { path: pkgPath, pkg }; | ||
manifest = yield readPkg(pkgPath, { normalize: false }); | ||
return { path: pkgPath, manifest }; | ||
} | ||
@@ -38,0 +38,0 @@ catch (err) { |
{ | ||
"name": "find-packages", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Find all packages inside a directory", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -23,3 +23,3 @@ # find-packages | ||
// path: "/home/john/src/foo", | ||
// pkg: { name: "foo", version: "1.0.0" } | ||
// manifest: { name: "foo", version: "1.0.0" } | ||
// } | ||
@@ -26,0 +26,0 @@ // ] |
Sorry, the diff of this file is not supported yet
6102