{"name":"find-yarn-workspace-root2","version":"1.2.23","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","prepublishOnly":"yarn run test","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.2","pkg-dir":"^4.2.0","upath2":"^3.1.6"},"gitHead":"b726f26e5608e205b10f12da96d49a59d3a52fb0","_id":"find-yarn-workspace-root2@1.2.23","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (win32)","_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"dist":{"integrity":"sha512-LrQNFP1V9e9F4z3lF5mq3DyahvnX/Z4F5PyggBYndkk/WXEE4/G5ZF6wHK9AEWjjgc2GtyNAmsOhDyGnBbC9Hg==","shasum":"898efc8ac483bea133623af2a6ed9059e53bea06","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.23.tgz","fileCount":10,"unpackedSize":28871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfL7fTCRA9TVsSAnZWagAAu3gP/3BbVeXVfFnnbJbzqQHy\n8HXIVYLaVQ5ALigP1qa4ImHET6Sg0bLcAdqL95mlmaLgmm4LoEJ1HwHasIS7\n1gOP9fPXvs18vp5d98RvbSUKSZ+Z2sTTQwUanmTk/A2OyGqkixjS1z5GvxvO\n2BSTQPRwW21MIjauGti0vb2LU1iYWTtxJUezyBows7WU0WDowcL1ajADvKKY\nli2ccHJp97pPfmJJdNOfbzb02DkSoMfVu42lFio2KI4jQkMYiOYs+SFCo5x+\nznsQSDYxUyMh8M1MAyMDE0721lMkXTw/arLuL2LmBUuO4dV3bOCwc7L90qQs\nMIUaEN4XvSDh2jhsf9gWzTpGLS5jDH6OGcMsl1kwJYjFSuF6avfv6WDcT3PV\nCeqNMieDY8ZGBbpvxDbu4w7PSn9fPdJjKRxvlH7T+2cPiGE5tgK93I3lUiDS\nZDP1BXEmaxHbOOlMzAoXtqRPUTlFgaH2zqLDR+Kiu/3WJPnDnuGja+jHaOEk\nyd6YcXFyqx20NexLexbaR5nSsVY6AtduaaF2HlDSTBrsFzhrURHH129lA15+\nlaP2JSK9D/kZMdfzKN5UAxeYOG0Eu8A/lI4GRKuY4FqcT5fkbOqsBQVGgmV4\nCXyQhmy6SaNAZ629rcZCQL6QT+M5Wq5prGresU6Ob5VKbD6vDzywF13gDo3S\nkKkX\r\n=r3og\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4Qaa2N8m2OWQ/TwsY0wPO1dkdB78CTDc24ndicXbGFAiEAwupYftfXpSTS5tmkeu6UqNJRBauCs2dQvsQf13eTLLE="}],"size":8936,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.23.tgz"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-yarn-workspace-root2_1.2.23_1596962771187_0.673338961654546"},"_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":1596962771344,"_cnpm_publish_time":1596962771344,"dist-tags":{"latest":"1.2.59"}}