{"name":"find-yarn-workspace-root2","version":"1.2.10","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":{"ncu":"npx yarn-tool ncu -u","prepublishOnly":"yarn run ncu && yarn run sort-package-json && yarn run test","sort-package-json":"npx yarn-tool sort","test":"ynpx mocha -- tests/**/*-test.js"},"dependencies":{"micromatch":"^4.0.2","pkg-dir":"^4.2.0"},"devDependencies":{"@types/chai":"^4.2.11","@types/micromatch":"^4.0.1","@types/mocha":"^7.0.2","chai":"^4.2.0","mocha":"^7.1.1"},"gitHead":"b836798514eb09a543c541ab360c54a514599150","_id":"find-yarn-workspace-root2@1.2.10","_nodeVersion":"13.12.0","_npmVersion":"lerna/3.20.2/node@v13.12.0+x64 (win32)","_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"dist":{"integrity":"sha512-ITElSon3Ci9nybx8aZX8tYi/pyxnnnaDRZcQ7qfCXuIPMnv8WITmKnHZo4uic4UCwGvM11YBYevlWWm1M/2dmA==","shasum":"644c008e9db32f002d6dd77dbbc58b31b06b2523","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.10.tgz","fileCount":10,"unpackedSize":25112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeimR6CRA9TVsSAnZWagAApcIP/1vOj932K9JA/pTZZ9Qc\nv1j1M6ajiZmymqmdMvrl6PmfASahg31q2ysS5AK1n+veaWcqWJopnP32JLFU\nU8nvzcu3vJP00fcJvTJjYDlz6L7EIc30VBsy71Jr7CqmOTVi+cHv3kVhfQIp\negw8vDPI9XVpx4SaxS8Rl+T7yAFIZB6oitrO9DjxqWAmZ0rLliXjO9AWytvG\n3M6IeKdvb9OSP8upmiCri3oQG0d1h1Swhpu1BIINN2SMMNRrZnbEotSVwRTL\nB3sLEtFF9O7K7TsKSA6xU1r2TZbT5wqtJ4K6+kdehVisITZ72/p/DNIdiVb4\nRfMcm2Y4xmmm/lQKchBKIRhfh3+1k/mrJu7dhE2tzSibYRSWrw+7dtONSBNE\nAcwJ4fcqrFIy0QxYAChg3+E7u50xGU/+L9oigzzDxiYyxYOCxDowjDQ6a1vR\nDvgTY5eKGEIz10GomxdFwTeE6R8UvuLiqhAKkg/1TeOWjkU7GG4jKX5DmVMk\n61XfXszZahO0tKU3XKsDUhJ6IGkfMhg6DmzKXrHS9toFe0ncENON2N/EbOBQ\n3vVW/272AON5TfJ2x7/e/m8msRd+oOvtrYB3VNf+qrsPV14QRyN2q/Cn7ZLy\nqnvbmYRKNDjLGsRIRwKa4QhpJ7fjOdRiXT9GJzjhqmAJLdBRWo5OcZ4xhzdn\n6d8h\r\n=7W72\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3SG7tY5jc25snggEReYkvl81EIr6ApXbuctm/CV90YgIgWky45jT5js22rI1B0kB37WcBGP4etwHkLafBLECIgD0="}],"size":8099,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.10.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.10_1586127994032_0.3223759987568504"},"_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":1586127994262,"_cnpm_publish_time":1586127994262,"dist-tags":{"latest":"1.2.59"}}