{"name":"find-yarn-workspace-root2","version":"1.2.48","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.19"},"gitHead":"39eb95e4e4843dc78aca551c0ed3cddcf88438e1","_id":"find-yarn-workspace-root2@1.2.48","_nodeVersion":"18.11.0","_npmVersion":"lerna/6.0.1/node@v18.11.0+x64 (win32)","dist":{"integrity":"sha512-l7wrJqDQeu+jW4Vlh9Iu9fwAy2YBGeUymKd43Slt1mxkvAR+YOl8mO1Bi/I1v6J0ob72oDaE+iaYkSi7GXt3WQ==","shasum":"9381d1ea14872cb02300e1c769bf74816f14c5eb","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.48.tgz","fileCount":10,"unpackedSize":37560,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwY7vdo0rMZ5VmRmSwNzo4GiYxMZIGWkJUg7Xc1VFe3gIhAJ+OauaIDQdzq2uP+f4eCa6ct6dR5ltBYXrb9bzTQVw4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXCO1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaWQ//eiaAM89KBC9+1qBvJ1ZMPSCll8ck71y4PzcbovYBz+SPfI1r\r\nqkzg+mC49pyUC+j8V9kSIG/sDWLO0vr7A2+WbX0K8PW+0TcQcQDjuuqGYYDp\r\nIjbqUl9D85gIirLVQ51zSk/0dyT/Yk0c/zGYFFUP0XPQTym9jMhH+BUOMsEV\r\nGAlJNvkY9zdkZZf0mMeZyhff1JtY/vEliwwSyTAtSMVCYMIu0OsXhxKr3SOo\r\nBVyYs4aROh+7Q18szzHvm5Ul/Pu1izmVfKoU7eTSTDOYstOGlYvTsxoI0sgg\r\nl/9r1qanZvZAi7xK+XLPclY7344Auyar+FGLu63rxNKlscqF5KcyqZukDmMD\r\nKcXOQnP8ptE9zYHWDAMwi9I/TTVSEFWoe51DAbuQklL8KDD5xbdneRc8IoSM\r\nXdf15YAvCpdSsbKufZlBwms/66jZBD+fV4TTgonbPdObG4hMyeP2C8JN476h\r\nSwmKx5q+snhG9FeeaUiN9Xu+A1zHKZZJcx5Pn9Qkb3J3z7FB0ZiGc5awV87N\r\npQ9kbN+Q5JG26WCfquBb2RUu+7dxU2rbSw8MMshPKIuTpfXZgWPZdiYwvJ7d\r\n1sxlnCD9Ey3tHag6lsDIUIMiQ4IMjNoczguBFVmgC+nqIr+INM9OJEoIZgXE\r\nay1h2bH5rDB/gzWr/HOt1VxLK4smBPlX1ZU=\r\n=2e2I\r\n-----END PGP SIGNATURE-----\r\n","size":10551,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.48.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.48_1666982837591_0.631316186097967"},"_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":1666982837808,"_cnpm_publish_time":1666982837808,"dist-tags":{"latest":"1.2.59"}}