{"name":"find-yarn-workspace-root2","version":"1.2.38","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","upath2":"^3.1.13"},"gitHead":"58acad356d9aeaa8fcdf2455741991b89b38a751","_id":"find-yarn-workspace-root2@1.2.38","_nodeVersion":"18.1.0","_npmVersion":"lerna/4.0.0/node@v18.1.0+x64 (win32)","dist":{"integrity":"sha512-l35J9EwhEzMU8uH7mTZJLuJ2DNA6+49ToNEuTM8VFzk1U/Xm9q2R58PWl8N9bimg0N2rjldSOc6l/wHWz52qKw==","shasum":"577043b2f6047eaa7d370a77baee086baaee2037","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.38.tgz","fileCount":10,"unpackedSize":34126,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6gcs5Gx0hsryufS11G0g+NnA5Za/QDjU1Fq6qDXbYDAiAQ6CTqh9f5VdYqq37OsW24LW40HfH8b3r9Nl733qgy1w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifAyUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnKQ/9F/Dyp5kRXioQSyPW9WG+vNYNC5JJHU9zSejAl45iYTXo7DCW\r\nJdpjB1sQSxub8Xsc+OjhKtBFaEkcdDO7CidG07+1sSa9hjgVqXtUHUBkrsnA\r\nozCGWN8QqCJ5+GKX+ycO3XEkBq3BtUKfAiE0rFoaWT5zVuAw9+2KDxixIepE\r\nnPjSY4po4NExyqAwInCxOFz9JOKgdWpUeqvOj8u2YRhfeKWbBUqWiCUrEXW3\r\nW28wgjcJNberomIfOaHE9pfdt8rBPp56CJf9/u8djUjwvjd4gaxgNgeiFKLO\r\n6MllAoaPtFSS7hJg/+db0pgDNzEkewLcIDZDzZHtClFu1iUeh+UCMB5YrHwA\r\nBs3lUqXoA6HQXmWAZoTxZ+eIdNbCnDQzfKTSTEMTD5q0ArEMsmAXJO3TH2yz\r\nbLOGvyeNbIcvevN+habzmCFYGO3T6kXTOEdsubhCeVhv7RwP92o4s2rT14KV\r\nSqHjsrpCmFoIT1nL4ED8FVT3LtNK3SOQrMz7V9hn2QQ1qihz39CtvphTM6i6\r\nKCTB+dG9Dup1HW0VT99VDIbx4LU7VzuvVnySXKIC8aPuVfJMnfurkcdYeob/\r\nnFDFJuQkGNS59hkC8sgJl1r0s17bx7hnbo+raG71xzOvYmTK9OkTgDwiFV4D\r\niww5X+nEg3CKjA3bsLw4mUoUy0kBsk8epPk=\r\n=dHX5\r\n-----END PGP SIGNATURE-----\r\n","size":9839,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.38.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.38_1652296852396_0.9789175868656272"},"_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":1652296852653,"_cnpm_publish_time":1652296852653,"dist-tags":{"latest":"1.2.59"}}