{"id":27634896,"url":"https://github.com/aleclarson/subrepo-install","last_synced_at":"2026-02-26T01:38:59.328Z","repository":{"id":287968091,"uuid":"966361516","full_name":"aleclarson/subrepo-install","owner":"aleclarson","description":"Postinstall scripts for git subrepos","archived":false,"fork":false,"pushed_at":"2025-04-25T18:56:02.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T17:57:08.025Z","etag":null,"topics":["git","git-subrepo","nodejs","npm-scripts"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/aleclarson.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2025-04-14T20:02:27.000Z","updated_at":"2025-05-10T18:15:22.000Z","dependencies_parsed_at":"2025-04-14T22:29:53.414Z","dependency_job_id":"afa215e5-dfa6-4c1a-bd8f-644584bb0289","html_url":"https://github.com/aleclarson/subrepo-install","commit_stats":null,"previous_names":["aleclarson/subrepo-install"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aleclarson/subrepo-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fsubrepo-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fsubrepo-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fsubrepo-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fsubrepo-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/subrepo-install/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fsubrepo-install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29847659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["git","git-subrepo","nodejs","npm-scripts"],"created_at":"2025-04-23T19:39:04.644Z","updated_at":"2026-02-26T01:38:59.296Z","avatar_url":"https://github.com/aleclarson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# subrepo-install\n\n**The easy way to set up a standalone [subrepo](https://github.com/ingydotnet/git-subrepo) outside its monorepo.**\n\n\u003e [!WARNING]\n\u003e This tool is intended for projects using [pnpm](https://pnpm.io/) only! If you use a different package manager, please [open an issue](https://github.com/aleclarson/subrepo-install/issues/new).\n\n```\npnpm add subrepo-install\n```\n\n### How it works\n\nUse **subrepo-install** in a `postinstall` script to clone dependencies that would otherwise be provided by a monorepo. If a dependency always needs to be cloned, you can do that too.\n\nThis approach is specifically designed to work well with [git-subrepo](https://github.com/ingydotnet/git-subrepo).\n\nIf **subrepo-install** is used in a workspace context, it will realize this automatically and link to the monorepo-provided dependencies instead of cloning them.\n\nAdditionally, you can inherit dependencies from these sub-dependencies by setting the `inheritDependencies` option. This is similar to pnpm's [Catalogs](https://pnpm.io/catalogs) feature, but is designed to work with `git-subrepo`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fsubrepo-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Fsubrepo-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fsubrepo-install/lists"}