{"name":"jest-changed-files","version":"24.2.0-alpha.0","license":"MIT","_id":"jest-changed-files@24.2.0-alpha.0","maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"jeanlauliac","email":"jean@lauliac.com"},{"name":"mjesun","email":"mjesun@hotmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"9fdfa428106a116eca363a15ed61eb8755f82332","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.2.0-alpha.0.tgz","fileCount":16,"integrity":"sha512-ChFWRyR9JlKy7Pa+4pMcFP/YBkF28F9Rp1PN2EwnYMJnsFhdCXeSHEsie927kJVWXXThCGQWQqoV9NayASSgRQ==","signatures":[{"sig":"MEUCIQDj4GYZxAHElaChiq1SFhbJ03kkRBhAr50luxzW68Fp4QIgD0SGER8dKrzuKB0u4Q74zju4wDkSlJCRHG0SG0Y+p70=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfovhCRA9TVsSAnZWagAAfMsP/ijbiA+SK6zHItHJuDBl\njArZRWLK2SRkVp3HvBHVGPj/FuTBioDvpHg7/b0J8n55ok3GR3VYQzOY3nXj\n4B9SydsIv00fCGbcJbC2xZ+K95wmrMTWZryOJSCzCMQxU4/lpSivnrSW6hOR\nkwdjg2RTlwI+LMIlY6dRw5ECfJs8xLtf4x3sUSQRfPEVOI/3+uKMG1RBOA7x\n6NGIbJF2wme3ESJAYA8aVc2UBTrdd6EiS5NQRTZSft9QEhBYp5G7CBpX2g+C\nN0j+nQPYKgq/7Yy25F8CAcO0VF6A+XeEymuwMIl/26CzUETMdZ4XntIEBXHJ\nHOruSMOIF/WzfZKdMO90RIjLW08Wi5QGD+nEbvmyja/3ww42Ql6tAlqhNvcx\ni4IcEP3LKU/Hly+L6k1/KUfvVoFvoa+TIaD+Eq/S9ULMi67T5/FdD5zjO5jA\n5E1a8mUihpNUBrqkzVcWUicSTzkpWQPvmN9xR/EVAj+KKbMI1LgBwF0nGdH3\nkdJ8QJ3BmqBPnKK0XtpZ/cF+B/San1+Kj+upmEHZU2az9BSbWeUpbOGkZN/X\n8Wzmf82GCdet6nWbuo1jFACqdwvMYJbhy1rvTCe+v35iEwxqWwfjaXduXgpv\nFmyrrZOBNs+WOvPioYJJcGEYV1JAM7YwLe+ZyYKBiW6VOX9gMAvW00QnWfKv\nHa+S\r\n=R3XV\r\n-----END PGP SIGNATURE-----\r\n","size":5308,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.2.0-alpha.0.tgz"},"main":"build/index.js","types":"build/index.d.ts","readme":"# jest-changed-files\n\nA module used internally by Jest to check which files have changed since you last committed in git or hg.\n\n## Install\n\n```sh\n$ npm install --save jest-changed-files\n```\n\n## API\n\n### `getChangedFilesForRoots(roots: <Array<string>>, options: ?object): Promise<?object>`\n\nGet the list of files and repos that have changed since the last commit.\n\n#### Parameters\n\nroots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration.html#roots-array-string).\n\noptions: Object literal with keys\n\n- lastCommit: boolean\n- withAncestor: boolean\n\n### findRepos(roots: <Array<string>>): Promise<?object>\n\nGet a set of git and hg repositories.\n\n#### Parameters\n\nroots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration.html#roots-array-string).\n\n## Usage\n\n```javascript\nimport {getChangedFilesForRoots} from 'jest-changed-files';\n\ngetChangedFilesForRoots(['/path/to/test'], {\n  lastCommit: true,\n  withAncestor: true,\n}).then(files => {\n  /*\n  {\n    repos: [],\n    changedFiles: []\n  }\n  */\n});\n```\n\n```javascript\nimport {findRepos} from 'jest-changed-files';\n\nfindRepos(['/path/to/test']).then(repos => {\n  /*\n  {\n    git: Set<Path>,\n    hg: Set<Path>\n  }\n  */\n});\n```\n","engines":{"node":">= 6"},"gitHead":"800f2f803d01c8ae194d71b251e4965dd70e5bf2","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git","directory":"packages/jest-changed-files"},"_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","description":"A module used internally by Jest to check which files have changed since you last committed in git or hg.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"execa":"^1.0.0","throat":"^4.0.0","@jest/types":"^24.2.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/execa":"^0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_24.2.0-alpha.0_1551797217310_0.8111319964743482","host":"s3://npm-registry-packages"},"publish_time":1551797217402,"_cnpm_publish_time":1551797217402,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}