{"id":24352178,"url":"https://github.com/tkloht/cyclic-dependencies","last_synced_at":"2025-04-10T00:16:07.282Z","repository":{"id":37701140,"uuid":"504836847","full_name":"tkloht/cyclic-dependencies","owner":"tkloht","description":"Find cyclic dependencies in your yarn/npm workspaces","archived":false,"fork":false,"pushed_at":"2025-03-20T22:28:54.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T00:16:01.811Z","etag":null,"topics":["cyclic-dependency","lerna","monorepo","npm","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkloht.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-06-18T12:24:18.000Z","updated_at":"2024-09-15T04:36:17.000Z","dependencies_parsed_at":"2024-11-17T14:51:58.426Z","dependency_job_id":"f9699314-af43-4d26-a1fd-ae820919520b","html_url":"https://github.com/tkloht/cyclic-dependencies","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkloht%2Fcyclic-dependencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkloht%2Fcyclic-dependencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkloht%2Fcyclic-dependencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkloht%2Fcyclic-dependencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkloht","download_url":"https://codeload.github.com/tkloht/cyclic-dependencies/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131315,"owners_count":21052819,"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":["cyclic-dependency","lerna","monorepo","npm","workspaces","yarn"],"created_at":"2025-01-18T15:39:35.650Z","updated_at":"2025-04-10T00:16:07.252Z","avatar_url":"https://github.com/tkloht.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cyclic-dependencies\n\n\u003e Find cyclic dependencies in your yarn/npm/pnpm workspaces.\n\n## Usage example\n\nIn the root folder of a project using workspaces:\n\n```\n❯ npx cyclic-dependencies\nCyclic dependencies found in workspace:  [ 'app -\u003e hello -\u003e app' ]\n```\n\nTo exit with a failure code:\n\n```\nnpx cyclic-dependencies --reject\n```\n\nYou can also use it in your own script:\n\n```js\nimport findCyclicDependencies from \"cyclic-dependencies\"\n\nconst cycles = await findCyclicDependencies()\n// [['app', 'hello', 'app']]\n```\n\n(These examples assume you have two packages `app` and `hello`, where `app` depends on `hello` and `hello` depends on `app`)\n\n## Development setup\n\nThis project uses pnpm to manage dependencies.\nAt this time it has no build step.\n\nTo run tests with jest: `pnpm test`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkloht%2Fcyclic-dependencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkloht%2Fcyclic-dependencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkloht%2Fcyclic-dependencies/lists"}