{"id":13769879,"url":"https://github.com/jest-community/jest-watch-select-projects","last_synced_at":"2025-04-09T15:50:48.621Z","repository":{"id":57280579,"uuid":"135388794","full_name":"jest-community/jest-watch-select-projects","owner":"jest-community","description":"Select which Jest projects to run","archived":false,"fork":false,"pushed_at":"2023-10-26T09:41:04.000Z","size":180,"stargazers_count":65,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T08:42:54.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jest-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-30T04:39:50.000Z","updated_at":"2024-05-19T13:52:52.768Z","dependencies_parsed_at":"2024-05-19T13:52:51.447Z","dependency_job_id":"75545bfa-242a-4a32-84e1-949a6ef2d48e","html_url":"https://github.com/jest-community/jest-watch-select-projects","commit_stats":{"total_commits":29,"total_committers":7,"mean_commits":4.142857142857143,"dds":0.4137931034482759,"last_synced_commit":"bf7ce457a323db1c0677c2e8282b3818c846b892"},"previous_names":["rogeliog/jest-watch-select-projects"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-watch-select-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-watch-select-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-watch-select-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-watch-select-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jest-community","download_url":"https://codeload.github.com/jest-community/jest-watch-select-projects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415950,"owners_count":20935388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:00:32.430Z","updated_at":"2025-04-09T15:50:48.596Z","avatar_url":"https://github.com/jest-community.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Watch plugins"],"readme":"[![Build Status](https://travis-ci.org/jest-community/jest-watch-select-projects.svg?branch=master)](https://travis-ci.org/jest-community/jest-watch-select-projects) [![npm version](https://badge.fury.io/js/jest-watch-select-projects.svg)](https://badge.fury.io/js/jest-watch-select-projects)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://facebook.github.io/jest/\"\u003e\n    \u003cimg width=\"150\" height=\"150\" vspace=\"\" hspace=\"25\" src=\"https://jestjs.io/img/jest.png\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003ejest-watch-select-projects\u003c/h1\u003e\n  \u003cp\u003eSelect which Jest project to run\u003c/p\u003e\n\u003c/div\u003e\n\n![select-project](https://user-images.githubusercontent.com/574806/40741798-3ca7c250-6401-11e8-8398-d39ab4eea011.gif)\n\n## Usage\n\n### Install\n\nInstall `jest`_(it needs Jest 23+)_ and `jest-watch-select-projects`\n\n```bash\nyarn add --dev jest jest-watch-select-projects\n\n# or with NPM\n\nnpm install --save-dev jest jest-watch-select-projects\n```\n\n### Add it to your Jest config\n\nIn your `package.json`\n\n```json\n{\n  \"jest\": {\n    \"watchPlugins\": [\"jest-watch-select-projects\"]\n  }\n}\n```\n\nOr in `jest.config.js`\n\n```js\nmodule.exports = {\n  watchPlugins: ['jest-watch-select-projects'],\n};\n```\n\n### Configuring your key and prompt name\n\n```js\nmodule.exports = {\n  watchPlugins: [\n    [\n      'jest-watch-select-projects',\n      {\n        key: 'X',\n        // function or string\n        prompt() {\n          const activeProjectsText = this._getActiveProjectsText();\n          return 'do something with my custom prompt';\n        },\n      },\n    ],\n  ],\n};\n```\n\n### Run Jest in watch mode\n\n```bash\nyarn jest --watch\n```\n\n## FAQ\n\n**Why is this running all of my projects?**\n\nMake certain that you're using the SPACE key to toggle the selected state of projects and the ENTER key to confirm your settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjest-community%2Fjest-watch-select-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjest-community%2Fjest-watch-select-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjest-community%2Fjest-watch-select-projects/lists"}