{"name":"jest-changed-files","version":"29.0.0-alpha.0","license":"MIT","_id":"jest-changed-files@29.0.0-alpha.0","maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"576c0b4f35704858a8430d5ccd732593c0a9187d","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-29.0.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-haYxV40w1LIxYNWPiznnmDbWWl4MqU+vatnyrjpgVJ7EloguADYU1qFD+7/cMFQZGWs4yAVIgNujUQlKkwm76w==","signatures":[{"sig":"MEUCIA/prRPe2C6QTD6N/rm6TFd9VXh+s9nF8F8Ox4sApAmOAiEAspP7wTVby9zbPCk16gbrUwJBrR3/nfLt7gUpq4E/qh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1IgJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtgA/7Bfr5tWjKzK52K7JPREVcj03k5cU2YLWXMgbRvtiRu9qI2oYb\r\nBWG+puw3HOTrfM5LHfHy2NegI9mkrATrz2RbdRvh1kYu8lR37Lx+HXO7PYhc\r\nu8AzaDW1YxWdlnr9wj6D92C3RXMUl6jnGXgAB/r3ryiwJA/ZQZ2G3t2n6rP8\r\nYCaMxjAL0akluOZm93D4XUL6Hn6LTMQjbdHX5jouY8sSo/D2f97APelFhaQR\r\nChqCp5/xLHaxmZ9vDc5yykoaBL39PoR1mLy7lZJgMIPe2j5Oh2QNmw/99xuL\r\n0RBcfJN41ZW3FcKiWHjKlBtxAb7gewNg77wd6zSR9qaEj1JOiJ06jnZxA2BE\r\nfBKWAK5lq3cfS5z91um733MLxFlsVlyhOTYG3KwdDmwWNvYATCfym2hjvocq\r\ne0Z666H+N38uHsUScfxYhK0wU3fIaLJFvxuEws3qCT+sHopwazPKqUw/nBfu\r\nuswLQL3u0c3yrJVDazVz8HU9Uk0NIDch67Ib5jKjjNbyjjdhxfRJbmjS5l0b\r\nIwEHE+21FKZdcCytaknKDLjOzcMVQ5dcWtVxkB27jp/ySPiQBs/0fxdokSbT\r\nRFwCGiLkbBJviTFHer8UkpKbHDVC0u5tFrtUjgpO5hMt4//YAri/6zEq5Q/m\r\nYjvwLbnPhZ9emmK7pj3C/ZOqV+UG5QWIVVw=\r\n=SFf2\r\n-----END PGP SIGNATURE-----\r\n","size":4043,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-29.0.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#roots-arraystring).\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#roots-arraystring).\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":"^14.15.0 || ^16.10.0 || >=18.0.0"},"exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"6862afb00307b52f32eedee977a9b3041355f184","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git","directory":"packages/jest-changed-files"},"_npmVersion":"lerna/4.0.0/node@v16.15.1+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":"16.15.1","dependencies":{"execa":"^5.0.0","p-limit":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_29.0.0-alpha.0_1658095625779_0.5981355164170583","host":"s3://npm-registry-packages"},"publish_time":1658095625953,"_cnpm_publish_time":1658095625953,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}