{"name":"find-yarn-workspace-root2","version":"1.2.16","description":"Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com","homepage":"https://github.com/bluelovers/find-yarn-workspace-root/#readme","bugs":{"url":"https://github.com/bluelovers/find-yarn-workspace-root/issues"},"repository":{"type":"git","url":"git+https://github.com/bluelovers/find-yarn-workspace-root.git"},"license":"Apache-2.0","author":{"name":"Square, Inc."},"main":"index.js","types":"index.d.ts","directories":{"test":"tests"},"scripts":{"test":"ynpx mocha -- tests/**/*-test.js","prepublishOnly":"yarn run ncu && yarn run sort-package-json && yarn run test","ncu":"npx yarn-tool ncu -u","sort-package-json":"npx yarn-tool sort"},"dependencies":{"micromatch":"^4.0.2","pkg-dir":"^4.2.0"},"gitHead":"5d21afdc6195a5df0d3888e91f6672cba1d63db8","_id":"find-yarn-workspace-root2@1.2.16","_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-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==","shasum":"60287009dd2f324f59646bdb4b7610a6b301c2a9","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.16.tgz","fileCount":10,"unpackedSize":26400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4rJgCRA9TVsSAnZWagAA2z4P/RJ+Pj3HohibhIjP99md\nCJ6PR9XnP65LqGhLeqIg4uJwubSytN8S25r9G3TLkMVQdGO0qGvfNBKusSgi\nDUxfPt4/G9Jgf2nMP7WdIAVb8uuq1bM7MtgfB/vgZsOzY1afSHYQiZ7eaboa\n438x+U0au8yhhUdkCj/sy0HmhZLXQjVAV+TvtXFDiGEpf2iCXs/WqCcJlV/L\n7u3i6jlplNuWl/LQEeUuBWIHNbc9S19lGLJaVTdrWFU7jGEa0E3TF+AGrKcx\n72GkH0ssW0uIK8IWDNxOcgLbR4zA9D/lXbrBvl7LWbu+IJj1fene0V+aZM1Z\nCXbmM4+bB8Dm18VToHRSmEJVVaOVLueLujfMwChG5VeOYiQj+7kgla8I5s7L\nZCOlkblLNY7aR3MFHCi8WWe+a31A/SxHoHFtk2Kww0M20Ib74uEhEJhTTjZ2\niEZhQcS5jjXPDY1P8r/OO83qrolTixFZpwrQ91CodRzx/vg5Bh7Z7UqWngdb\n1YsamJU6kMeeaTkUDLQOKzldP+nkP6gFCmRUgXJd2FNKArY5t+z83Ors4Hzm\nHp3FTYvZekng8L4L79yaWgPSGyqnj53h6oe3eRV1uPUVZQGAFDOjpKpcAESE\ndRGfjx6g1kLKxWDD6gi149/BvzTNDHKBiNgRNZjqQ+s93U715sP//MF9NJZH\n0EQ0\r\n=Gj0N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/uMRZoqxfwIt2txynVYTj6NhcY+npcK6D1RZUIUOwdQIhAPB+2f7IGQzbIPnQdfW+no+aPHkC8PiQp1NiquRLRPJG"}],"size":8260,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.16.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.16_1591915103464_0.6692840106972593"},"_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":1591915103578,"_cnpm_publish_time":1591915103578,"dist-tags":{"latest":"1.2.59"}}