{"name":"find-yarn-workspace-root2","version":"1.2.21","description":"Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com","keywords":[],"homepage":"https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/find-yarn-workspace-root2#readme","bugs":{"url":"https://github.com/bluelovers/ws-yarn-workspaces/issues"},"repository":{"type":"git","url":"git+https://github.com/bluelovers/ws-yarn-workspaces.git"},"license":"Apache-2.0","author":{"name":"Square, Inc."},"main":"index.js","types":"index.d.ts","directories":{"test":"tests"},"scripts":{"test":"jest","prepublishOnly":"yarn run test","prepublishOnly_":"yarn run prepublishOnly:check-bin && yarn run test","prepublishOnly:check-bin":"ynpx --quiet @yarn-tool/check-pkg-bin","prepublishOnly:update":"yarn run ncu && yarn run sort-package-json","ncu":"npx yarn-tool ncu -u","sort-package-json":"npx yarn-tool sort"},"dependencies":{"micromatch":"^4.0.2","pkg-dir":"^4.2.0","upath2":"^3.1.4"},"gitHead":"7dfd8568bd1938920ba51633d8508d1e7a7a35b5","_id":"find-yarn-workspace-root2@1.2.21","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (win32)","_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"dist":{"integrity":"sha512-ySf8b0gjZ3mS7Z29YYzrrBtHT644xHfpyWX7cE8vvfZS7ysEJJPE5282r+qBjY6Y2GcWYkt7r0Ypuk7YqJcd0A==","shasum":"73852ac85b6292bae9ec09110c40de446228e38c","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.21.tgz","fileCount":10,"unpackedSize":28265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9sbQCRA9TVsSAnZWagAAr6sP/0YVnXScQFOUA4R176em\nynW313KyF1uGLA+3vLRmsYoO/bfQ7+5kOCZRttpgR/fNPE6GHiMS9lABaqeY\nVVdWkIgljR8Rf8/tBcLSZzLYoDRhZoSa5xw+4d6zv1Uy/VYvvuNNiP+aoacB\nbvVuCbH1JR8L2HfKtGQQck0JGvxivjafnSGTfpbZXtXbBbRNflgpsO/Y8vtd\nHxc2GEDR+i4DCXm0MnX2A7korHE10VCJWLNBdwvA9E9Z1SSZGLYyAd4fg5bK\nMCF5QbhDi+5t0/zQFFVKfGL8ql/b7RZ0d39HbOMvFLHKDrR86Pw4+7gdcMBb\nRRc3NvigS18byKbtf5GSWMTNtvJZDE9b06asO8lqqfQQ7RIu69V0bOhs22BK\nlEmfTcHGsYv8waBnwNqNG3sWqOcs8lxdUF7U5GVc89u261ngngq+Mi/OlgSd\nG93F0+ywYRpTokfBrCHLBGrgyfPMl06kAoT1H8OaPqvQ1UAkAHJCuIeW/uau\nALwo8xK/P2suswXC10THPRLriqpiPX05OWGci+KdEkpXPRrhOnnkNedxsymA\nnMULC9YgwbugwLOJJgmvTbhsBLye48Onfc9Nih4+I1XCl1juzy0OBnfJEg/b\nK8y20GygexOKMVurdibhJ/RUDyVfLueMY+4ugkOj69KZLqymhtjOQk2wjh8D\nWiBI\r\n=4vbS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh/rNxau+K6K/o4U2v/yXQ/sogHAUK3QDj3Q63fs5e4gIhAImTvsBiyNXxCJ7gbVcQMHAjUYL6kWWkqmJhDgSoL/Tv"}],"size":8818,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.21.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.21_1593231056271_0.12437647889830905"},"_hasShrinkwrap":false,"readme":"# find-yarn-workspace-root\n\n[![Build Status](https://travis-ci.org/square/find-yarn-workspace-root.svg?branch=master)](https://travis-ci.org/square/find-yarn-workspace-root)\n\nAlgorithm for finding the root of a yarn workspace, extracted from yarnpkg.com\n\n## Installation\n```bash\nyarn add find-yarn-workspace-root\n```\n\n## Usage\n```js\nconst findWorkspaceRoot = require('find-yarn-workspace-root');\n\nconst workspaceRoot = findWorkspaceRoot(__dirname); // Absolute path or null\n```\n\n## Contributing\n\nContributions are welcome! Just clone this repository and install the dependencies:\n\n```bash\ngit clone https://github.com/square/find-yarn-workspace-root.git\ncd find-yarn-workspace-root\nyarn\n```\n\nNote that you'll need `node` and `yarn` installed. Next, verify the tests all pass:\n\n```bash\nyarn test\n```\n\nThen create a branch for your bugfix/feature, make changes and update the tests, and submit a pull request. Please do not change the version in `package.json` when submitting a pull request. We determine the next version automatically based on the commits since the last release.\n\n> *NOTE*: Commit messages follow the [Angular commit message guidelines](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits).\n\n## Releases\n\nReleases are handled by Travis CI once a build succeeds on `master`. To trigger a release, bump the version using `standard-version`:\n\n```bash\n$(yarn bin)/standard-version\n```\n\nThat should update the CHANGELOG, bump the version in `package.json`, and create a git tag. Then, just `git push && git push --tags`.\n\n---\nCopyright 2017 Square, Inc.\n","publish_time":1593231056433,"_cnpm_publish_time":1593231056433,"dist-tags":{"latest":"1.2.59"}}