{"id":20387033,"url":"https://github.com/cmdcolin/monorepo_template","last_synced_at":"2025-12-31T14:37:42.898Z","repository":{"id":137213278,"uuid":"477435634","full_name":"cmdcolin/monorepo_template","owner":"cmdcolin","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-07T16:01:40.000Z","size":190,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T23:31:05.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cmdcolin.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":"2022-04-03T18:51:51.000Z","updated_at":"2022-09-17T23:35:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"615f89ab-5c8f-414c-b1a2-052163f76aa1","html_url":"https://github.com/cmdcolin/monorepo_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmdcolin/monorepo_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fmonorepo_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fmonorepo_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fmonorepo_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fmonorepo_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmdcolin","download_url":"https://codeload.github.com/cmdcolin/monorepo_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fmonorepo_template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265820261,"owners_count":23833563,"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-11-15T02:42:23.007Z","updated_at":"2025-12-31T14:37:42.859Z","avatar_url":"https://github.com/cmdcolin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monorepo_template\n\nThis is a work in progress on creating a monorepo template\n\nMy goal is to create a bare bones monorepo setup that has various packages and \"apps\" e.g.\n\n- `workspace-a` - contains react components, depends on `workspace-b`\n- `workspace-b` - contains react components, no dependencies\n- `app` - a `create-react-app` instance, renders a react component from `workspace-a`\n\nHow can I make it so that when I have `yarn start` in the app directory, then changes to workspace-a or workspace-b will be auto-updated on the webpage?\n\nOptions:\n\n1. Run `yarn workspaces run build` to build entire repo. This is expensive\n   though\n2. Run `yarn build` only in the workspace that I change, but this is laborious\n   if I am working on many packages\n3. Something else?\n\nI am trying to think of ways to use project references from `typescript`, or\ndependency graph concepts from `lerna` to help, but not sure I have the right\nworkflow yet\n\nSimilar issue: want to make it so that I can run `yarn test --watch` on entire\nrepo, see if any issues come up? Not sure if this is asking too much. It seems\nlike this has similar issues to the `yarn start` on the app where all the\nsub-dependencies need to be built to test it properly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdcolin%2Fmonorepo_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmdcolin%2Fmonorepo_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdcolin%2Fmonorepo_template/lists"}