{"name":"find-yarn-workspace-root2","version":"1.2.47","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":"70f3fb546a70fe2f65ce29d7ecb3a07e8b5e0483","_id":"find-yarn-workspace-root2@1.2.47","_nodeVersion":"18.10.0","_npmVersion":"lerna/5.5.1/node@v18.10.0+x64 (win32)","dist":{"integrity":"sha512-pPDvQQvVKLhEHxECb8TChVI0ueZRAG0XgrjsO/xFCV75WXZ1AYlfYn6ar9cvclfJLrkxcEe0aVjj16DugwM7BA==","shasum":"0c6b73a0f0e0973f780d7e26e730a8959d7f8619","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.47.tgz","fileCount":10,"unpackedSize":37254,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoN1mQWvW6aPot9yXkaSSkZF5iehXTNm8bz5LHX8jw/gIgLPTXOCVICg/9FU6H5V7LE1Gp0lgzKf9sfWfvCFzgZ3Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN7NEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow7hAAhUDqHLPr1KedNIGaOU3MWS1tta5tAwNwK5o5e8hASKBzgqD0\r\nrtEseuvIjhHThi8rlSgSfH8KiVGHvuDX91ccoD+ITtKX5pETjy4OXL9pUyse\r\nhn4UAOWVwaUZu8hVw+NwQ1K7sNsRFGc92a3zHrsBDZMKfPFsFCOGIVzAQv2D\r\nRwzcUp43pEIuQQM0+gQdfYc+jqgAqOy0zHk6THQydTcfuZ8dRpMp3bxXchZp\r\n1UOW07kgrUl+86L/0gc/C0p8ZW4DB+pDxBdPHD4pLSbYeQQ/e1rsMcaoCMZj\r\nOoNcY7qanmavCpwrDMvRccf9rocGi7rU6ew5OO69GGx2/bfB/83mQjG0HENm\r\nMcr5N1IxYCwXh1ytFdO72WpNj6FPqWhmapCqEyKXD0XpByXOads++d242vVR\r\nkCvDRBXghsGohuytQaLiC55/wqSlYRFvnO308jp+1EOkmb5yAYFLMzXU1Ntb\r\n4ImorkPa4wAiu0LltzAG9O/pZCxp7uzqGJJPe7ISJ1+D9XiWxtdpiHSsOwW0\r\nRwkW8E3A7ZgA2GMeD+0QCpg527XAxpfMhg/U4krDdejDcXufTf9e6U83GU26\r\nTE264i5CAMAzgOtUsC3OtcNGa+ireBIWlzH4/2SJ9StLmWX8/d1SL05862c9\r\nsLUSgyQRx3m25/bx2prNXWxNkuk93n5tXAE=\r\n=y8Js\r\n-----END PGP SIGNATURE-----\r\n","size":10498,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.47.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.47_1664594756620_0.6724948961912565"},"_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":1664594756881,"_cnpm_publish_time":1664594756881,"dist-tags":{"latest":"1.2.59"}}