workspace-tools
Advanced tools
Comparing version 0.36.1 to 0.36.2
@@ -59,4 +59,4 @@ "use strict"; | ||
// these may be undefined if stdio: inherit is set | ||
stderr: (results.stderr || "").toString().trimRight(), | ||
stdout: (results.stdout || "").toString().trimRight(), | ||
stderr: (results.stderr || "").toString().trimEnd(), | ||
stdout: (results.stdout || "").toString().trimEnd(), | ||
success: results.status === 0, | ||
@@ -90,4 +90,4 @@ }; | ||
throw new GitError(`CRITICAL ERROR: running git command: git ${args.join(" ")}! | ||
${gitResult.stdout?.toString().trimRight()} | ||
${gitResult.stderr?.toString().trimRight()}`); | ||
${gitResult.stdout?.toString().trimEnd()} | ||
${gitResult.stderr?.toString().trimEnd()}`); | ||
} | ||
@@ -94,0 +94,0 @@ } |
@@ -66,14 +66,14 @@ "use strict"; | ||
if (filter.withDevDependencies && filter.withPeerDependencies) { | ||
dependencyMapWithPeerDevDeps ??= (0, createDependencyMap_1.createDependencyMap)(packages, filter); | ||
dependencyMapWithPeerDevDeps ?? (dependencyMapWithPeerDevDeps = (0, createDependencyMap_1.createDependencyMap)(packages, filter)); | ||
return dependencyMapWithPeerDevDeps; | ||
} | ||
if (filter.withDevDependencies && !filter.withPeerDependencies) { | ||
dependencyMapWithDevDeps ??= (0, createDependencyMap_1.createDependencyMap)(packages, filter); | ||
dependencyMapWithDevDeps ?? (dependencyMapWithDevDeps = (0, createDependencyMap_1.createDependencyMap)(packages, filter)); | ||
return dependencyMapWithDevDeps; | ||
} | ||
if (!filter.withDevDependencies && filter.withPeerDependencies) { | ||
dependencyMapWithPeerDeps ??= (0, createDependencyMap_1.createDependencyMap)(packages, filter); | ||
dependencyMapWithPeerDeps ?? (dependencyMapWithPeerDeps = (0, createDependencyMap_1.createDependencyMap)(packages, filter)); | ||
return dependencyMapWithPeerDeps; | ||
} | ||
dependencyMapWithoutPeerDevDeps ??= (0, createDependencyMap_1.createDependencyMap)(packages, filter); | ||
dependencyMapWithoutPeerDevDeps ?? (dependencyMapWithoutPeerDevDeps = (0, createDependencyMap_1.createDependencyMap)(packages, filter)); | ||
return dependencyMapWithoutPeerDevDeps; | ||
@@ -80,0 +80,0 @@ } |
{ | ||
"name": "workspace-tools", | ||
"version": "0.36.1", | ||
"version": "0.36.2", | ||
"license": "MIT", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
"scripts": { | ||
"api": "workspace-tools-scripts api", | ||
"api": "ws-tools-scripts api", | ||
"build": "tsc", | ||
@@ -33,4 +33,4 @@ "start": "tsc -w --preserveWatchOutput", | ||
"lodash": "^4.17.21", | ||
"workspace-tools-scripts": "*" | ||
"@ws-tools/scripts": "*" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
188071