{"name":"find-yarn-workspace-root2","version":"1.2.46","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","directory":"packages/find-yarn-workspace-root2"},"license":"Apache-2.0","author":{"name":"Square, Inc."},"main":"index.js","types":"index.d.ts","directories":{"test":"tests"},"scripts":{"test":"jest","test:jest":"jest --passWithNoTests","test:jest:snapshot":"yarn run test:jest -- -u","test:snapshot":"yarn run test -- -u","test:tsd":"ynpx tsd","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.5","pkg-dir":"<6 >=5","tslib":">=2","upath2":"^3.1.18"},"gitHead":"3276b7881ad407d6da75804fee95de66d602805c","_id":"find-yarn-workspace-root2@1.2.46","_nodeVersion":"18.10.0","_npmVersion":"lerna/5.5.1/node@v18.10.0+x64 (win32)","dist":{"integrity":"sha512-FWUAIxwgW24Yth5hbDKIzLDEr2kStOKAqY463v1VVUgA+SJLHdP2720CEYsOT+A73xcSKfYvZMaZpovcxICqzQ==","shasum":"adff72434870e5a54c547669f9f7fcc428f2f92b","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.46.tgz","fileCount":10,"unpackedSize":36957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG9kw/P/7nDqKPoa3yw75D4n6iQIQa5S18eyxEJyTHYCAiATe/EXMR2bDXxW/76+S7vLqL4NREz1imHcsNYFj4QLEQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNf9mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvnBAAgjkYyxnSjSUMbobaK6PzGDG2DTBIPXAkXp9zqpE4/BvjqmkD\r\nX2MUUSxAzp6+By+vK0UYa2mnFjwVoXupWSmBogYel0YlBm8dE6gYZEnyM+TH\r\np/MgeHUdhSAdQwQOZh4mzdQ3TadzCxMFYfh20QA4HT7M+0RPG4b2MhK5Ls1T\r\nauRE8IQn8x/ZkDSAnfNbuQ7I5dLUwEP11cy38Iq1dwNjpvtIT9YOxlJqn1nD\r\nKdgMLb1tn+BO1NaaRFG7ZUJ3daR14UdhPZVd5xzJZ1WU50BPqwRsvtf/qBZ6\r\nY+LWcii3eyYWv7PwvBvV+yHuZ9xNdgqzLWSUk1Ngh5USRIMUsBYlIHKzE0E0\r\nGHDL7Tx0JdgccdnW/xlBhIrVFWqXr+IHD3s7H9DJZm9VGW66mOpCSyJ1YlUF\r\nvkAZ30Ozr41xJ/eKB5V1ZMDtNMjprahCQHK2jV42iH3/Uoca7Tfw+6YPh61g\r\numkmf8a0YdRTwfwW1hBwYs1uofMHU+Bn/+b6HQ5VsnmgGtyrGJ1yPlTFpfHB\r\noDrIfDIO2EE5Kk09C2DMuIcbggAAUl+6KB1anmSJ1SpF/Rqf7e99kik22m3s\r\n4hE3VFBdj+Z7o/duKu7sbA9kNJZADykKEKUX56iFB5lUpHc733spgJD1eswb\r\nGpO4FIPs8Uy/zelQSoc23MpROV1crqyYFGQ=\r\n=P/Cf\r\n-----END PGP SIGNATURE-----\r\n","size":10450,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.46.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.46_1664483174390_0.5334419546172291"},"_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":1664483174609,"_cnpm_publish_time":1664483174609,"dist-tags":{"latest":"1.2.59"}}