{"name":"find-yarn-workspace-root2","version":"1.2.1","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.ts","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","sort-package-json":"npx sort-package-json ./package.json","test":"npx mocha tests/**/*-test.js"},"dependencies":{"micromatch":"^4.0.2","pkg-dir":"^4.1.0"},"devDependencies":{"@commitlint/cli":"^7.6.0","@commitlint/config-conventional":"^7.6.0","@types/micromatch":"^3.1.0","chai":"^4.2.0","husky":"^2.2.0","mocha":"^6.1.4","standard-version":"^6.0.1"},"gitHead":"376bfbfe23228e7ea90932f5fca61140bad154f3","_id":"find-yarn-workspace-root2@1.2.1","_nodeVersion":"12.1.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-8PBv88MAyLlH4YMu+Mek36ze9T6h5SA4px6wc/TIRi9peqpJi5hiYYen6mn7HCmAzj1Am7WTbn4qfAzOnlVaTA==","shasum":"cb60424d7b2c2f5cb49998ec1f548f0128b98db5","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.1.tgz","fileCount":6,"unpackedSize":18181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0VsRCRA9TVsSAnZWagAAcQsP/2az87Gii5NT0qY7Ujop\nU07K+MqzycUb4XP8ZCT44/9IHuHjFm+KEqcAMGakocY6NtjR8pbfBSpNNeP+\ny4RqBzKSlQg6XUihkOuJavku78KybIp8yxFmw0KS0TnOPUnhpC7Fp4eMYIVg\nAksMD4zlNizeuNrNWwYzvyOmJjC/6LEGFHIFi/be8fH0efvZxkIXnpok6Xom\ncFsr3i4X+ZitpZa4OISeNf/grHt5EwXKnPtgtfX/75raaj1onIj97bJ5uXgm\ncQNO4f2WgZkLReEhLUfo93qYRfqas5WocYaC7B48UuwcVfGK7bhobepgLBOS\nE4JIPAQTbKguQBTK7ciqlqGVzAiCUGOKBsa9LTeWHJapRmgsgXxGaHngtBUT\nreM7q2mpKs4NexhJ+9vrteVgXh015qfjMrJrMN1jTj8lxq7SKd7FUT5U8Atq\n+SDtW/9ewuTQCd8z0mrvWXFv8sXZJQD8spdn7rTYYnz/qRU9TFb8JX0k8IsO\n1JWyJlI7/DkJqzre+4CSWLHytLKMf1yAYD/7U6D2yKyCyrZaPvbtIrB5vU9i\ndEvVBFF/5TeCeTMGHHkePJw8yQ9JEom9LtRDvyeBESQcHjVoh/W3xMepodz1\nKZW95xfUePLuJOUhjI4DyjIfs0Ltpp+B7hXE+sB+Dn+QGg1MZGVTTm/glh4N\nlyTd\r\n=UaE+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnzE3wtEbamQG2HH5pWcTpomyZCBCNkiQXGGumorawwAIhAIUp6ZL22N0IEV7/LHiPc042K/YD+Fy6LW/BN+x8V74n"}],"size":6437,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.1.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.1_1557224209010_0.8295903950853638"},"_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":1557224209143,"_cnpm_publish_time":1557224209143,"dist-tags":{"latest":"1.2.59"}}