{"name":"find-yarn-workspace-root2","version":"1.2.22","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.5"},"gitHead":"9d9c9653fb8ae6e51bb59fc2e13614a068526bf4","_id":"find-yarn-workspace-root2@1.2.22","_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-+xwg2xnum+nHrl9SfRMm2ln4fvH8bBxoAlBztEgSdDy33kXSTDGJdWWy8Lb+GOtqbzvMi//n+AKodimD0cPR5A==","shasum":"c177793625fd54f1b26dfb4b9e1c17fe83e48ca6","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.22.tgz","fileCount":10,"unpackedSize":28568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAcWuCRA9TVsSAnZWagAAwvgP/AldHVWQhqCkQkFMSnQz\nYTnl0FMZ2KCZbhmsYFtyhAn3psj6WkrhXULzgWYaGmnuwBaXftDgHX1V6XdN\nuqa/S2FVfcRVaO1aiR5vuT/DedSMjUSGFXo/jPIvWedo4LmEnEG/Fi3aAXKs\nvCfpl3nowQw24NQ6vd5RyZPnF9uQo8YDQwY6BlYAViZJFhAe03dwFmePxuad\nA21llO88/aGfb+wvXyfNFljx2mr7RSddE18hEyxhts7qzvXzpl4M9RpX3EIB\nxd73nPhZFjUOx15sIsh0+PMK5XYzxhaXYnqjOY0uaFoE8AeOTbFJmiyvhjlX\neOeHhjmgcUW3+HJnMGc0d70XYAsmWN61Zq9UkpxDXH/jbjxGRF3FZXiBB0TX\nLzK16CleimPnRfHv/y5CsNSITqXOin4PcMPH8zgSVDcl3WVZkSEkAsGlJOMn\neOnOH3eesvRYCoDngIVPNdioZrqEz7tlf0o7AdsACUvsTaGy3NIHAo9cT/uS\nQm42nWA9EqNlwlCWDPWtxkjSE1pkLzAtm0Dogk8O++rLfF4JkS169QIy0tmo\nC+cIEU+dZQIDbKN9W9RVv/9xlt362hnIM/aEOyCcnR5hA6o3sJqu4FOcdNYN\nVg1/Giv2RNcvurqWeqDTxH/P0uh1Q1cAp6IQjJqVNjFeEJ4p7Ib0USqW8bq+\necwg\r\n=3+NO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDR0CeVpbxcffgXoWLNDl3IuXB/Hdfo1R0KKhj2btHGDAiBpVyfTuBhAi7kl2KI7ciyMOTW44gSdownd4aBVEYFTMw=="}],"size":8878,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.22.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.22_1593951661510_0.9273103636656883"},"_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":1593951661772,"_cnpm_publish_time":1593951661772,"dist-tags":{"latest":"1.2.59"}}