{"name":"find-yarn-workspace-root2","version":"1.2.41","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.5","pkg-dir":"<6 >=5","tslib":"^2","upath2":"^3.1.15"},"gitHead":"1e294e0d844e53ead65f2cd9a501229de44d4bb5","_id":"find-yarn-workspace-root2@1.2.41","_nodeVersion":"18.7.0","_npmVersion":"lerna/5.4.0/node@v18.7.0+x64 (win32)","dist":{"integrity":"sha512-iyxdxuEsvY8L+ekmypoOL+gClfzi9xVIVKRT5KHqod71uu3VwTDUufOTvIqzA1b2583Fa21MxahwX/KcFCEiQg==","shasum":"f2b725709d92618cfadb1f642f595d267b151e94","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.41.tgz","fileCount":10,"unpackedSize":35084,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH59DlWsSo5J6Z16eGctRxR+KIBMTW2qR6PC9yonVLtNAiBi/Hy+DoK0VukGystpZiBA87IQKElqz5jY1GCEM5iraw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+DgiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTdg//a3qhD6vmJr24kT7JEXsJACiz//yiLytMM/fHeOD5y+nXqscp\r\nu4inKtTVrOrRYWXGKCzLj3nGoO0Xzu1v/OBXcAWzSGbJb5S3LGrtV1CEl7X8\r\nVUiNjSkkBVpU5OOMQapIcAyCaevPpUjalNkgxZHFBo6Bnul0g9SfwIDR6d0E\r\nL/RowPMLR0MKBndFR4cr4HkJiEVZnZu8ANJmMl+8BtYwWc9GVNpL9h7oQRp1\r\nPFF3H8UUMQx0WW8e1Dq3mIjU+gYHcYGxLVqRVt/aoSHP+w19dKQ9t/UZXGaB\r\n7a4UhT+b1DXKF1sTVVox8qlJLssnYaIXQMIWvuptQexcUQowY7NuhrR/RT5e\r\nBrURU+xD7f7VT3trp7q5u9o2CT4P0nTASMwbtuBHpamyy/sOm1OXgG4H3Q4t\r\ng/MQ5bxCRWk7AJo9YXs58dPfVLKD+MWqC/P/ZNThXFbnje6oanF3uZSl94O2\r\n2ezNDM9hVQZx41sQgGVaUy6nPTUnSGFgkQl579o9gK+I7jyUp+9nSnh69EJB\r\n22gAUzF4nDLAGJqGBQA4CKV4jxWw3CkviHCbT0hrX/5CQ4pc1HK3nmyZVvjL\r\n/3TZtKmlu7tkZhGqhqDSNOaktoG7eurxRbX7jnwLANk7g7EJubUHirKVIGqi\r\nfMStnP5OeSNtbG5nihwGzQyoUfVlMaFgeWY=\r\n=tVJg\r\n-----END PGP SIGNATURE-----\r\n","size":10054,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.41.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.41_1660434466590_0.3413250147318041"},"_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":1660434466754,"_cnpm_publish_time":1660434466754,"dist-tags":{"latest":"1.2.59"}}