{"name":"find-yarn-workspace-root2","version":"1.2.20","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.0.6"},"gitHead":"4f83343b5ffe244c397fd819197f6a7b1b24813d","_id":"find-yarn-workspace-root2@1.2.20","_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-/HC7P/+AoV0JMIOBIFngF4SkA6hdjis7S5lvG7itb3VFQMTMM6q/IcEW45wmMof1dbLR75gpr3Z8w3V3HYH0ew==","shasum":"30746c4918840174412b23524c18d9f6896502c8","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.20.tgz","fileCount":10,"unpackedSize":27962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8h5XCRA9TVsSAnZWagAAOdwP/jrQLB4XZqIQETNQpptW\n0zCe5QwYUMwdqE3Xv/bqzAaprPhuzZwGfNo9pQ7dDyf3bPMdXKt1jnQDEZBx\nyKz9nKNZ0Q19t1f9+03VnUuL05h3sTrlWB+WxPNOgz2PPjkuI+q34VjVnmjv\n/UeE0x7Ou9lkVE/nvvbzF5GFHtFThmg8xNay6srasOtw7Ls4iVSJyMFZLh0l\nhN5JD33BDXq2R5kYIE5cBtlk46K6VVptzyEtFIZnSDPK+SQYPHOnYNCqXWxt\n+4lXwkSzUUGzdby0FL1/2U13F4q7xzt59lceJ+AutQWWE6j5fSOOgo5sPEzF\nYh4qo3qz+34tjYi9Fp4kwpwTbOv+hiA2B4wn/m/sX4z8Jp8+2j9D4x/0Vnce\n8nOw07HzD0FD1hAkZ882mAG4dN7APVFiHKuR5kWNhkMQw1tNI1R/yzo8LXXP\nm/8leh6ysjj1X3dWkIC0NyEFC00apGSSBk7lNpIlyvImSPOENSUwEiqHD/B1\nVZJwL5welZqBlXCl9Zxmk5d0kZwnDOXd4WFv//3OsS/UaqOWtffIA64GQ7sz\nQkJAQGShbv1G1E6Wa9UqsUQcllrA0Rg9PHiNoVzWJfrXzPctLOBDFRK5OM/c\ni8PuGr9rMn9F3Ba4GY+5fwL422BwJnuRfE8AfKVWoFiz/0ZPcm/yAgiFQ4j8\n+J6W\r\n=QDns\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGbiwQxe3l/hwATt2QwgSlbO1pFLl2mlMDM6UQ/fHwPQIgD+kjoHCj9JcxLNY8vrdSnNq2RqRrM3CQ3pXBgVXcXcg="}],"size":8758,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.20.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.20_1592925782907_0.03277428721007869"},"_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":1592925783055,"_cnpm_publish_time":1592925783055,"dist-tags":{"latest":"1.2.59"}}