{"name":"jest-changed-files","version":"28.0.0-alpha.0","license":"MIT","_id":"jest-changed-files@28.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":"15a56fe429607d871d10e40137d937a4ecb44ac0","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-28.0.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-Ng6lCxLppbJeDAcS2huW8TWB2Y8ZxZGaOAM8onMLvC0Mzvc+OcFf21Bv/7sZC9vZdUzeqj9Z7iyFyBLqhlEnfg==","signatures":[{"sig":"MEUCIQC/6s0xmD6rnYC5O815l+j3UgqdUImJqeKRb3NMBfr8fAIgQQ6hoYSIlMQ74yFgKd662wXd8QoOuQASR/TkBWxsCRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBVa6CRA9TVsSAnZWagAAAPcP/3DltBsXYTiDdQLcUnsa\nqMYPbTKmzL6S+E57iA/qhrPJAkwWloi+vv1LOID9LK01Fa8pWmwcYvuKGLZ/\nbVRvMnLscyPuewP++078q8BZTj6IacRvJSj2RyYVswvCBUOnb/1tjOp2yQYn\nQ/44QxEoxbSVeoHDlG9bkKqJjeWNz3k+XXV8KG10SrqbkylIBWarfqWJCyc6\nGDhWNvstf6RFi3QPlVNz4k7Y5Hm7lTy2ARSwsswc2YzDIMiug9pTCRDOVJ0Z\nRJTpfaxaw5MPH4VDQBRN2j6wW3DWc0c06KosFv/n5+Hk4IA1E8+Wos78VkCI\ncgP8lJtWr23Dw8MjE/c19wLFBHOusCesmQXhdAav8X/ijjqXEA78deGJK9s+\n3QizzjpL4+2AEizFNNrItPcrMe0Y3hKb8ABS27mQZkIYCFxK9YTm8vaMAjHR\n1ycs03Liu88pUMpsZTWTHg7iB0iHeObiLo5/YOQ++P5a7FHUnMnHSH1hT+hW\nsfO3DvVAyB3CR6sMEScTZUNp1CS+wGlydf8ukn8Ew2Ilh+284/M36p2ic/3x\nzg0S5MIRolhRsAZsaJGt58VcBjraOpmsPFc+rNM4Iqb/NhBKYxqklZGdykys\nmM9KAOnPRxWQLsW2QDwgxBmOuDfbs4Laujat2Yc3ljgSGGx49b3EwT3p2iq0\n1/CF\r\n=iTYm\r\n-----END PGP SIGNATURE-----\r\n","size":4089,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-28.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":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"89275b08977065d98e42ad71fcf223f4ad169f09","_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.14.0+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.14.0","dependencies":{"execa":"^5.0.0","throat":"^6.0.1","@jest/types":"^28.0.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_28.0.0-alpha.0_1644517050832_0.420292458655531","host":"s3://npm-registry-packages"},"publish_time":1644517050995,"_cnpm_publish_time":1644517050995,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}