{"name":"find-yarn-workspace-root2","version":"1.2.31","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","tslib":"^2.3.0","upath2":"^3.1.9"},"gitHead":"3c7bb4a5d14150471ef3243112d2afc29603cda3","_id":"find-yarn-workspace-root2@1.2.31","_nodeVersion":"16.4.2","_npmVersion":"lerna/4.0.0/node@v16.4.2+x64 (win32)","dist":{"integrity":"sha512-OmI4D/uWC8+fw4+ERcIzRmtOoBmJBk+eIIM9qZh5TtD/PLW5r98pwh6TCos04jv9erh1LAKiq4o+SGJCvRvOhQ==","shasum":"62ae357711efcdf3ffbfaa9aa9078a3545c9cd9c","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.31.tgz","fileCount":10,"unpackedSize":31828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6o0JCRA9TVsSAnZWagAAXsMQAKUmPyRFHRjQJrKZqWQm\nwjcjC9CpHY91Loc9CKq/BlN2XZU1nGLWlzH9Oah+eVUUS/gxQo/1t06KsVc/\n/hviHwrgtv+HeKd42jxAfgP82kgEciwlEQwuM5ZYNupJVP9Wt4B/t+PQY0KE\no2DWKJ1UvuEO/e+0fuJhcsn4IWx0JaMRAGXBjIbScnzFwp8vYq55aqIrF+oq\nrKfBceBdRl+iuFrGQyb08FV6p4UTgBnqLteZHL/3QsVtXylWfF24KSc+6IKn\nVzHUmBpcW7r6yw8DmtpzxR3Q9HWlViE5zXSP6aMlZg8HInkcGK4dIJd8t2Cx\n4ZRtZPXxIjlQMdfAsFEcP4P47oFQvGJZLz+T+g3Pq/IJBltUJQrBAP/PknK5\nIXXhX/rCrYhfG4oH7bMAtlZYq5LuL1Nnv97OpUVMa4iCuWnDE1QKGK1CA9bc\nGozzqCNEsMks9zad93SYHSIDjTXMHgeMwmAcLHivKsTGgopLQaW6KW8PlL91\nthJYKtWjvaz+hCToNvVqP1rz5ZQ4uhFssj4VK69h2S9NiNiwF6ShAGluv7NP\nYTnKQxlVXIIBz7XkcBDDCPzOjF1AaxSM12yaZVg/rKk9PAg21qxERzuJXO40\nWfxdTUVQBmk+6dqPJBVyJbvdeUdL85bz9fiE6Ao1ikj7LXd+BZ16KIQhloIJ\nz9Ql\r\n=v0T+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfB1HU9e4NM3LcClJC2jl6m3Fu7qxxPgLYlUWaAyjm/AiBlseU3iYiAaVqAPwv98zcxGrKcPh15XMQuFPK6WOfgIA=="}],"size":9430,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.31.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.31_1625984265088_0.7399943179424568"},"_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":1625984265240,"_cnpm_publish_time":1625984265240,"dist-tags":{"latest":"1.2.59"}}