@pnpm/link-bins
Advanced tools
Comparing version 5.1.7 to 5.2.0
@@ -5,3 +5,3 @@ import { DependencyManifest } from '@pnpm/types'; | ||
warn: (msg: string) => void; | ||
}) => Promise<void>; | ||
}) => Promise<string[] | undefined>; | ||
export default _default; | ||
@@ -13,2 +13,2 @@ export declare function linkBinsOfPackages(pkgs: Array<{ | ||
warn: (msg: string) => void; | ||
}): Promise<void>; | ||
}): Promise<string[] | undefined>; |
@@ -49,3 +49,3 @@ "use strict"; | ||
if (!allCmds.length) | ||
return; | ||
return []; | ||
await makeDir(binPath); | ||
@@ -69,2 +69,3 @@ const [cmdsWithOwnName, cmdsWithOtherNames] = R.partition((cmd) => cmd.ownName, allCmds); | ||
} | ||
return allCmds.map(cmd => cmd.pkgName); | ||
} | ||
@@ -135,1 +136,2 @@ async function isFromModules(filename) { | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/link-bins", | ||
"version": "5.1.7", | ||
"version": "5.2.0", | ||
"description": "Link bins to node_modules/.bin", | ||
@@ -8,2 +8,3 @@ "main": "lib/index.js", | ||
"files": [ | ||
"!*.map", | ||
"lib" | ||
@@ -16,6 +17,9 @@ ], | ||
"lint": "tslint -c ../../tslint.json --project .", | ||
"tsc": "rimraf lib && tsc", | ||
"test": "pnpm run tsc && ncp test/fixtures test/fixtures_for_testing && ts-node test --type-check && rimraf test/fixtures_for_testing", | ||
"prepublishOnly": "pnpm run tsc", | ||
"fix": "tslint -c tslint.json --project . --fix" | ||
"pre_test": "ncp test/fixtures test/fixtures_for_testing", | ||
"post_test": "rimraf test/fixtures_for_testing", | ||
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/link-bins/coverage ts-node packages/link-bins/test --type-check", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"prepublishOnly": "pnpm run compile", | ||
"fix": "tslint -c tslint.json --project . --fix", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build" | ||
}, | ||
@@ -54,5 +58,5 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/link-bins", | ||
"@types/ncp": "^2.0.3", | ||
"@types/node": "^12.12.29", | ||
"@types/node": "^12.12.30", | ||
"@types/normalize-path": "^3.0.0", | ||
"@types/ramda": "^0.26.43", | ||
"@types/ramda": "^0.26.44", | ||
"@types/sinon": "^7.5.2", | ||
@@ -62,5 +66,5 @@ "@types/tape": "^4.2.34", | ||
"path-exists": "^4.0.0", | ||
"sinon": "9.0.0", | ||
"sinon": "9.0.1", | ||
"tempy": "0.4.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14468
6
145