{"id":19909999,"url":"https://github.com/aitoroses/yarn-autolink","last_synced_at":"2026-06-06T13:31:14.072Z","repository":{"id":67181707,"uuid":"75750558","full_name":"aitoroses/yarn-autolink","owner":"aitoroses","description":"A tool for easily managing monorepos (multipackage packages)","archived":false,"fork":false,"pushed_at":"2017-01-12T18:11:24.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T17:42:16.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aitoroses.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-06T16:36:59.000Z","updated_at":"2023-04-17T18:27:39.000Z","dependencies_parsed_at":"2023-06-10T05:30:07.704Z","dependency_job_id":null,"html_url":"https://github.com/aitoroses/yarn-autolink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aitoroses/yarn-autolink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitoroses%2Fyarn-autolink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitoroses%2Fyarn-autolink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitoroses%2Fyarn-autolink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitoroses%2Fyarn-autolink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aitoroses","download_url":"https://codeload.github.com/aitoroses/yarn-autolink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitoroses%2Fyarn-autolink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33984824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"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":[],"created_at":"2024-11-12T21:17:14.428Z","updated_at":"2026-06-06T13:31:14.047Z","avatar_url":"https://github.com/aitoroses.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yarn-autolink\n\n\u003e A tool for easily managing monorepos (multipackage packages)\n\n## Why create another monorepo tool\n\n[Lerna](https://lernajs.io/) and other tools exist that help you managing monorepos. `yarn-autolink`'s makes it a bit easier and uses yarn for everything under the hood.\n\nyarn-autolink tries not to be prescriptive on how to develop your packages, like other alternatives out there do.\n\nIt's a tool for basically installing subpackage dependencies and creating and controlling links between them.\n\n# Install\n\n```\n$ npm install --save-dev yarn-autolink\n```\n\n## Configuration\n\nTo create a monorepo:\n\n- Install yarn-link\n\n- Setup a structure like this:\n\n```\nroot\n    |\n     - package.json\n     - packages\n               |\n               - package1\n                         |\n                         - package.json\n               - package2\n                         |\n                         - package.json\n```\n\nEach package will define a section in it's package.json for defining it's dependencies between local packages\n\n- Add linkDependencies to you packages\n```\n\"name\": \"beta\",\n\"version\": \"1.0.0\"\n\"linkDependencies\": {\n      \"alpha\": \"1.0.0\"\n}\n```\n\nThats enough to start working by doing `autolink bootstrap`\n\n## CLI Usage\n\n```\nyarn-autolink CLI tool\n\nusage: autolink \u003ccommand\u003e [options]\n\ncommands:\n    bootstrap                                Install node_modules for each package and run 'link' command too\n    link                                     Resolve dependencies between modules and link them using yarn\n    clean                                    Remove links and remove node_modules directories\n    exec [--scope | --script]                Execute an NPM script in the scope of a package\n                                                 example: autolink exec --scope @application/core --script start\n\n    add|remove \u003cpackage\u003e [--scope | --dev ]  Install a package for for a specific scoped package and then links packages\n                                                 example: autolink add babel-core --dev --scope @application/core\n\noptions:\n    scope          The name of the package to act in the scope of\n    script         Name of the NPM script to be executed\n```\n\n## Examples\n\nThere's an example folder in this repo but I encourage you to have a look on how to configure a React application with a storybook using a monorepo in this [link](https://github.com/aitoroses/monorepo-starter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitoroses%2Fyarn-autolink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faitoroses%2Fyarn-autolink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitoroses%2Fyarn-autolink/lists"}