{"name":"find-yarn-workspace-root2","version":"1.2.43","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","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":"fccc2913440df31b04f2971e479fbe1d4c3a7a0c","_id":"find-yarn-workspace-root2@1.2.43","_nodeVersion":"18.7.0","_npmVersion":"lerna/5.4.3/node@v18.7.0+x64 (win32)","dist":{"integrity":"sha512-ksnJgAoDSVDvCeKha7vS7ZU3OMaKV1fI0dnLivLf1/3ghXrOPhlQHE1Uwr8A8A5DRh7XRWuGpIWeTG/dcF2zNw==","shasum":"a7c278d37bae2c6471b2a39ec700d506efe98918","tarball":"http://registry-npm.ywwl.com/find-yarn-workspace-root2/download/find-yarn-workspace-root2-1.2.43.tgz","fileCount":10,"unpackedSize":36029,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxg63al8SYr6bOGP+LiOUVFU1gBcK1J991+g5zjnKh6AiEAyUN5bkWk8/R+HlAgC2o94vgCk1HrkUZtSPyxxAst7Fk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFpSxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZBhAAhcaKWpIYFCCDfZxlbCVARMqkp7NVt+k0lB1OoFqSVI0LTDaJ\r\nFyDtsvWNObiAWflgUc7wE4zff+k+9DblMsURK4O7nISa6re3EZTEYHdFjXR4\r\n4LlbYDkay/Z7joPC/KEv8l7+HCqd6SFqrAY4jLxe2WAEjfzoZlMLmpHnSyww\r\nSj/QgSp5LwJmduDfmALTOFkb+MSN9RdwzeoMWlzqhYPA49M70yXUV5UrtioT\r\nWZsm6YYnLqmehTSEedHwz9s22neT8PkDDThBfMVvQMuL0v4i75TAAROpvDVs\r\n4UMwFPu4ZkyvgoGq5TQXOxfWy7kXKpCuU49AIv72+ewi4cymWYToY6Hn9O1M\r\nXle6tolk0kOVTVksAVKBvboApcVlrr4CNa6wFI+gQ2hfbltRykBYkn4QXj1S\r\nt4Z/YjSiUnOGs/XSMqJBA7fYqkcO/xbjICj6wS8astVhONxifRxBHcwbMsI9\r\nmcHRu9Ud+sWMlfXm9awobOSb0BxQZfnTRxX3ccQNhZefGB9YqwXdI5goKBEp\r\nsU16X2dNq2fNTZwTqrRa/68QnxEMwMhWcPVjM9QDM88lWxGWQMxUjsfildI0\r\nDNxoZHO9fnoRCFpajvAtFq5c/hebs1KzHMo06K9HYB2xQzZnVSl9s/luu6ev\r\n5UpNCd9fwQOdS62sbBY5m/U0QpEBEc3q21s=\r\n=0HD+\r\n-----END PGP SIGNATURE-----\r\n","size":10276,"noattachment":false,"key":"/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.43.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.43_1662424241119_0.3473688301172606"},"_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":1662424241309,"_cnpm_publish_time":1662424241309,"dist-tags":{"latest":"1.2.59"}}