{"name":"find-yarn-workspace-root2","version":"1.2.8","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":"b6df125961fa589ddeeb23076bb05aa0ed569c0e","_id":"find-yarn-workspace-root2@1.2.8","_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-sebOkm8P3yB6J4C+JJoNLFxrpXhNTK95j6AievWq1wguXWZZSallY/qAk5iRk5zralWI/6KQZckpOfxxWNHH2w==","shasum":"d4ec0aa6ca46f14ae5a88c077c8f924841453ed2","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.8.tgz","fileCount":10,"unpackedSize":25111,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiQo7CRA9TVsSAnZWagAAbqkQAJPBzHID9M4uWPhIypn3\nKcyRMuS0o1DEObPbGAweDXGht07MvJnWHPH09hVwiwSojSIxk6EiE3lgkSBj\nQFiuYhIgqGsP+muBTtQnk9ixXhyRdgPYUUNd9OcVVFHNDNrMy/chljODNb6I\nip6dv+sJbQw0Bv1jsUZkx79AYAT/yqZh37gcCOWg01vo/ZCxvuRrXLwoog9l\n/XKeyhZsFwJPqvXXSw4309eiTuwjB32pWcd53b9TQAlzbYKCzTWR82Wvq2YT\nDA6eVrWuVvHFnzqhWc9Im2NxKUO8w56YgSZGAdugldtpQh+Lt4LBxlfL4nDN\n4NRzwldcLJO4BUOkQUWV3i5NaP3W8HKlPAui7PV3lkoN6h0k/QAplXzOTFi4\nDwqF6aYutnutnSUxUnBKyiNXz7iZPUGRwnf1gjo6P7DP0m0Qb0uz9CXwt+vi\nT0nJ5rWkHeay9PTwasnFJpjLkXG/K2FRHdFvC93FNWGn+2+84hfqN51ozPJT\noiQ6yyh1gmRqdXlmBENMYYRBiddxN4Xt8J6MpKZ+3g5jDNhK5VKuMLnf4Kif\n644dU0myElF5vmz32DVDRAbxrJIII1JABVXcTQm/IjjWjepwBRvMpNA3k5Qs\nkAJEOuwsfiO+ED8lgbEZwIM8NFWHYZxjtjupyigiDMxmpec4x5ht3et+ci82\nsON+\r\n=AdAJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJAWO4siFXp2kzihhaZsAGtNif1ztVSQS4Cxnj4nPBpwIhAPTSA78VQz7VWu7oCI3JAI8PqrYcMUYAuWBUTAoAulEU"}],"size":8101,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.8.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.8_1586039354992_0.7063301881994728"},"_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":1586039355182,"_cnpm_publish_time":1586039355182,"dist-tags":{"latest":"1.2.59"}}