@pnpm/link-bins
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -11,2 +11,3 @@ "use strict"; | ||
const error_1 = __importDefault(require("@pnpm/error")); | ||
const logger_1 = __importDefault(require("@pnpm/logger")); | ||
const manifest_utils_1 = require("@pnpm/manifest-utils"); | ||
@@ -28,2 +29,3 @@ const package_bins_1 = __importDefault(require("@pnpm/package-bins")); | ||
const fix_bin_1 = __importDefault(require("bin-links/lib/fix-bin")); | ||
const binsConflictLogger = (0, logger_1.default)('bins-conflict'); | ||
const IS_WINDOWS = (0, is_windows_1.default)(); | ||
@@ -89,3 +91,8 @@ const EXECUTABLE_SHEBANG_SUPPORTED = !IS_WINDOWS; | ||
if (usedNames[cmd.name]) { | ||
opts.warn(`Cannot link binary '${cmd.name}' of '${cmd.pkgName}' to '${binsDir}': binary of '${usedNames[cmd.name]}' is already linked`, 'BINARIES_CONFLICT'); | ||
binsConflictLogger.debug({ | ||
binaryName: cmd.name, | ||
binsDir, | ||
linkedPkgName: usedNames[cmd.name], | ||
skippedPkgName: cmd.pkgName, | ||
}); | ||
return Promise.resolve(undefined); | ||
@@ -92,0 +99,0 @@ } |
{ | ||
"name": "@pnpm/link-bins", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "Link bins to node_modules/.bin", | ||
@@ -42,2 +42,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/logger": "^4.0.0", | ||
"@types/is-windows": "^1.0.0", | ||
@@ -54,4 +55,7 @@ "@types/ncp": "^2.0.4", | ||
"funding": "https://opencollective.com/pnpm", | ||
"peerDependencies": { | ||
"@pnpm/logger": "^4.0.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"lint": "eslint src/**/*.ts test/**/*.ts", | ||
"pretest": "ncp test/fixtures test/fixtures_for_testing", | ||
@@ -58,0 +62,0 @@ "posttest": "rimraf test/fixtures_for_testing", |
Sorry, the diff of this file is not supported yet
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
19442
194
15
10