{"name":"find-yarn-workspace-root2","version":"1.2.37","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","preversion":"yarn run test","prepublishOnly":"echo prepublishOnly","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.5","pkg-dir":"< 6 >= 5","tslib":"^2.3.1","upath2":"^3.1.12"},"gitHead":"5dda3d810f524371c25fd6517417d7af49e50fc8","_id":"find-yarn-workspace-root2@1.2.37","_nodeVersion":"17.8.0","_npmVersion":"lerna/4.0.0/node@v17.8.0+x64 (win32)","dist":{"integrity":"sha512-GjHtVHgjwPTSxJQ3K3EvseCDu9C48RC0PJlnrvWWGsu/gyCBAvrffEpHQr/1b5vuOwAIEfJX4CMWjwVAKnEVtw==","shasum":"a474990fb967a130f7eca0a91fc3aa3b369dcec1","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.37.tgz","fileCount":10,"unpackedSize":33827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQlBEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoE9Q/+KxCRcTutEHtS5vVo2lGeW6KSMyp5g+oJ1MqIC9la8jZba7qI\r\nDDDKccwnioNgqBax4T5ebggedXjtMA3gEfYvHcp0oImYEvSiZm3/M+b/fz7q\r\nEkBEl4qN4L2uiupiAbIBaOqLwAkDZ2DUWElhoDSyxKebXMjF1rVSO8BUUnh6\r\nkwTXigQ9DL+aVbJffbmtLu1ZU6HigJOdBnRRBVIDbV0VWfteqtyZ9EfcZ029\r\nc7M+hw3/oM74si8MnAUjNH8mste2+ks6dY5TqIMUrQivUszwYjEIgEdkn9U+\r\nys0HjJdsLVU2ZQEpl3FOMyX+RQFoc9WOvinyiWN7LXOjwpk4xc+1qUVATdIW\r\nJXf5utbtFLNhS6Na5DjVOJ57Fc4Ogb6eL4uRUF90mxd332II5j2DqE54Hezi\r\ntF3aWqYDmIyfFUirBdq0B+JymvDfz1Na5yWT7yHfXE7gPR/9xiUyCyKruEGO\r\nrFxBwtLprae6TYOtt+nfZqoP4ahejrJpGS9ZQNdOJfrkPPRxcVvPEA6t4Pis\r\nFQA1ercHj7e/qjfj4LW84OdvKUha2sGHHJvAW5AK0sbKWiPRMfrkZNFgtPyw\r\nFfzpCsL/CQBOitV3mc8Dkn+PSWcIJSGJjAifpBCRx6qbAPyZs+KMwY+8iUwr\r\nq62z/u5KqXlAf/OPLXlE7MXECggk1Rr9xGM=\r\n=BOoK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHPjsLPehenB/nVwDMobl7M/0wEBneEMmpdOwmHFG9uQIgcaH/tIY1mSm5C+EiuRWbdTltd6/57VzLALTRlO3iYmc="}],"size":9787,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.37.tgz"},"_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.37_1648513092792_0.09173826411118857"},"_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":1648513092954,"_cnpm_publish_time":1648513092954,"dist-tags":{"latest":"1.2.59"}}