{"name":"find-yarn-workspace-root2","version":"1.2.29","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.4","pkg-dir":"^5.0.0","upath2":"^3.1.8"},"gitHead":"0ec41f9fa306a0d007f77c7f0cf3d36854c20b8b","_id":"find-yarn-workspace-root2@1.2.29","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (win32)","dist":{"integrity":"sha512-ui5XUFK3ziJavBRSMXnjpln3kqorHFwlzG5zynq/uzxyZIgILdwpMGqYul5JDhIieD5b9+eSnM3jLys8oz/Zjg==","shasum":"49ae063e71461728ba552ba620e09d9c5bf8b3e3","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.29.tgz","fileCount":10,"unpackedSize":30750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0C8BCRA9TVsSAnZWagAAQfsQAIRVCyfggetF0IOQZ/j7\naN0wV2b54QjCC24hWfBNxr5dChUJbASEMkkA+HCJmHIFPvEGU4fcW8r5KGoF\nIoN6xgo45IkJaZE7lPQcSGdWpWapqg8T313cJn/7kA7Be885QHhRko1JgYfF\nmRCFVQotLw1+vqUswvxCMEK/oCQrgjEfZh8m8BlfaYaTBDjz/58+2xfhGWOZ\nrhnVzxExjS8GTNoq5EWNzjZyuDPZZ1zo5vxLbwLMuI6G1A434Pi28TEgD/Nb\nEJfF6W1eCtD5yW+SlA/ud45YtG0r+4Sq9CFIydYSbvtrquHm/BQ2lk2oWca6\nugRQGwax6hvp/fyaBL/jThJeMLUDSBr8hyt/GmJDqwODhjatUiYBZxDG6G6Z\nKL8FQbcDF5hC91T1dyVil18ImooKN9s+4BWz2bcMQwijPiJJFgxdUo2jLn5i\nnRWm6VMvCSLokK7ub1vE/cNHGEN9TCnhLHt7kQiM+/7sM3WWgO34yvkPFgat\nUBOftHIMJSpdv36xq2ZQpWTjqf/j+J8zZYTZVuxJ/7w4QGr0pLHe9zAulpQi\ncNWQgBdbD0jvQWgw4gpkhSo4cf5TpfjkEM4exF9pA1WafPDHANbLhuLn7myF\n80+x0xc5kPL5Wy/1RDHxqXDPX0aTpSpIMrnztZtaCef5tLVJdbtoadEk9nWi\nLpUW\r\n=9VTF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDmN3RgbqcgijY5ti/robr2GBiyburXNvv2ATUhBDLOgIhAMD57QR5z3Z54eMS1eKTQdIsSlT8TR0yiHZzyDXBojUR"}],"size":9244,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.29.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.29_1624256256695_0.800733760780713"},"_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":1624256256831,"_cnpm_publish_time":1624256256831,"dist-tags":{"latest":"1.2.59"}}