{"id":22275662,"url":"https://github.com/igrek8/yarn-changed-workspaces","last_synced_at":"2025-08-09T15:16:23.643Z","repository":{"id":46046046,"uuid":"289664794","full_name":"igrek8/yarn-changed-workspaces","owner":"igrek8","description":"Show changed workspaces for a mono repository pattern","archived":false,"fork":false,"pushed_at":"2021-11-18T01:15:20.000Z","size":94,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T15:49:02.530Z","etag":null,"topics":["changed-workspaces","monorepo","monorepository","workspaces","yarn"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igrek8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-23T10:36:46.000Z","updated_at":"2024-10-03T05:41:08.000Z","dependencies_parsed_at":"2022-08-30T21:21:02.675Z","dependency_job_id":null,"html_url":"https://github.com/igrek8/yarn-changed-workspaces","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igrek8/yarn-changed-workspaces","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrek8%2Fyarn-changed-workspaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrek8%2Fyarn-changed-workspaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrek8%2Fyarn-changed-workspaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrek8%2Fyarn-changed-workspaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrek8","download_url":"https://codeload.github.com/igrek8/yarn-changed-workspaces/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrek8%2Fyarn-changed-workspaces/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269579524,"owners_count":24441365,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["changed-workspaces","monorepo","monorepository","workspaces","yarn"],"created_at":"2024-12-03T14:11:29.613Z","updated_at":"2025-08-09T15:16:23.589Z","avatar_url":"https://github.com/igrek8.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yarn-changed-workspaces\n\nA small utility tool to be used in CI/CD pipelines along with `git` to trigger dependent libraries' workflows in a monorepo pattern.\n\n![CI](https://github.com/igrek8/yarn-changed-workspaces/workflows/CI/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/igrek8/yarn-changed-workspaces/badge.svg?branch=master)](https://coveralls.io/github/igrek8/yarn-changed-workspaces?branch=master)\n\n## Install\n\n```\nyarn global add yarn-changed-workspaces\n```\n\n## CLI\n\n```\nyarn-changed-workspaces --help\n```\n\n## Node.js\n\n`./package.json`\n\n```json\n{\n  \"workspaces\": [\"packages/*\"]\n}\n```\n\n```js\nconst getChangedWorkspaces = require(\"yarn-changed-workspaces\");\n\n(async () =\u003e {\n  const workspaces = await getChangedWorkspaces({\n    branch: \"master\",\n    projectRoot: process.cwd(),\n  });\n  console.log(\"changes\", workspaces);\n})();\n```\n\n## Control scope of change\n\n`./package.json`\n\n```json\n{\n  \"private\": true,\n  \"workspaces\": [\"packages/*\"]\n}\n```\n\n`./packages/app/package.json`\n\n```json\n{\n  \"name\": \"@team/ui\",\n  \"version\": \"1.0.0\",\n  \"workspace\": { \"files\": [\"!**/*.(test|spec).(j|t)s(x)?\"] }\n}\n```\n\n## Limitation\n\n`git` is the core diffing tool. **This library will not work if you use a different distributed version-control system** for tracking changes in source code during software development\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrek8%2Fyarn-changed-workspaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrek8%2Fyarn-changed-workspaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrek8%2Fyarn-changed-workspaces/lists"}