{"name":"find-yarn-workspace-root2","version":"1.2.5","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":{"commitmsg":"commitlint -e $GIT_PARAMS","coverage":"npx nyc npm run test","ncu":"npx npm-check-updates -u","prepublishOnly":"npm run ncu && npm run sort-package-json && npm run test","postpublish":"git commit -m \"publish new version\" .","sort-package-json":"npx sort-package-json ./package.json","test":"npx mocha tests/**/*-test.js"},"dependencies":{"micromatch":"^4.0.2","pkg-dir":"^4.2.0"},"devDependencies":{"@commitlint/cli":"^8.0.0","@commitlint/config-conventional":"^8.0.0","@types/micromatch":"^3.1.0","chai":"^4.2.0","husky":"^2.3.0","mocha":"^6.1.4","standard-version":"^6.0.1"},"gitHead":"588b0e4c2e64c377016c14c98735de56f9192b80","_id":"find-yarn-workspace-root2@1.2.5","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+XUHHVZ9rcMws2i8jZeS95nWls3jxnVx3jS52Km43fjBT8SEdQzZeHIc6moXpqZXnPb35Fnd3AQdnKWSOnU5BQ==","shasum":"da67ed923529dfe8cd85295869fc363e68a019f4","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.5.tgz","fileCount":9,"unpackedSize":30210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8YYDCRA9TVsSAnZWagAAJ/8QAJqfsk41kl0vXHmJ6VcM\n/Y8PwP4CLrcg4wY+gea7mwZDxeV7bYLhlE6vqBYCO3NMLhKU2Ou0NDDAHNvw\nuyJ3URLpcBkSuhqOptUP5LRTDvXfm4136LqAruRJUlBSQkW2/XCS5Ds76DVp\nUFgSqxvai7s7R9UwGQ62EYDd5qvfavPNjxv6JsVFGcp6gJAl4vXS4SE7HU8E\nicRa17k2WJiRcVwCiV9gk0oK/8xccrAapK/olZodCGfz9D4NA5kmFgaHQB8b\nU7b/17KlqPqB7sIbrnbmaxpXrxx7X9mFu3Lx76QDx63zOa7S1tc5Q/CYG98R\nEx4h8pVTFE+biqB9xpz2g31fKLkgUyjFyxFTYxsw8PwG+JSeXn9DRh4d04qN\nH+0tKZLnaTzcuP5wMft5PlQnabxmG5wofbAIB2Ce1NFyP7I26nvdPIDECuUQ\nr48NfzSlvQf0+yCEvrQIDV0nZYhJ162Vuc+aDQNR4Qu5gwlLolKKqGZcXLes\nO3dSI6FHiCgFTaFL+TxKqPtt5IpHkp4BhNeidEGCZ/0vO8/WkxSx/rt5sSOj\nEgsPLorGofW7dTyOMyrxUoM/sVbEs7E7m0QC20FU+Tp3VAt0ItEXyJ5A5XhE\neCB4DflARKQR5Wo0i3F4L5F+PONmfDtcXsjG5G2VyVuxVDD8K3nMakofLwVV\noUzr\r\n=NiIP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0cIqjDibRrc0ibyneHU+ZZdOpmhk82PeuLiy2AEPtugIgP5rJNQvvNluy0h6PD9h+aq8R+Km+W0DJpqjwDbv2t1c="}],"size":10551,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.5.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.5_1559332354494_0.6639842891115644"},"_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":1559332354636,"_cnpm_publish_time":1559332354636,"dist-tags":{"latest":"1.2.59"}}