find-yarn-workspace-root
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/square/find-yarn-workspace-root/compare/v1.0.0...v1.2.0) (2018-08-09) | ||
### Features | ||
* allow new `manifest.workspaces.packages` format ([5521d97](https://github.com/square/find-yarn-workspace-root/commit/5521d97)) | ||
* make initial path optional ([475aaff](https://github.com/square/find-yarn-workspace-root/commit/475aaff)) | ||
<a name="1.1.0"></a> | ||
@@ -7,0 +18,0 @@ # [1.1.0](https://github.com/square/find-yarn-workspace-root/compare/v1.0.0...v1.1.0) (2018-03-23) |
@@ -12,6 +12,9 @@ 'use strict'; | ||
* https://github.com/yarnpkg/yarn/blob/ddf2f9ade211195372236c2f39a75b00fa18d4de/src/config.js#L612 | ||
* @param {string} initial | ||
* @param {string} [initial] | ||
* @return {string|null} | ||
*/ | ||
function findWorkspaceRoot(initial) { | ||
if (!initial) { | ||
initial = process.cwd(); | ||
} | ||
let previous = null; | ||
@@ -18,0 +21,0 @@ let current = path.normalize(initial); |
{ | ||
"name": "find-yarn-workspace-root", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
16020
44