{"id":19408801,"url":"https://github.com/daern91/ts-monorepo-docker-demo","last_synced_at":"2025-06-11T07:35:07.756Z","repository":{"id":139626215,"uuid":"160667887","full_name":"daern91/ts-monorepo-docker-demo","owner":"daern91","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-10T10:26:48.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T14:24:30.661Z","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/daern91.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":"2018-12-06T11:53:13.000Z","updated_at":"2019-07-24T09:14:47.000Z","dependencies_parsed_at":"2023-07-04T15:36:32.028Z","dependency_job_id":null,"html_url":"https://github.com/daern91/ts-monorepo-docker-demo","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/daern91%2Fts-monorepo-docker-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fts-monorepo-docker-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fts-monorepo-docker-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fts-monorepo-docker-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daern91","download_url":"https://codeload.github.com/daern91/ts-monorepo-docker-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240587480,"owners_count":19825005,"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-10T12:07:55.215Z","updated_at":"2025-02-25T02:17:52.669Z","avatar_url":"https://github.com/daern91.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Readme\nAll below commands are to be executed from `root` folder.\n\n#### Local install\n1. Run `yarn` to install all dependencies, this installs them correctly both in root and links local dependencies together. The `postinstall` hook will also run `yarn tsc` to type-check and build files.\n\n2. Run `yarn test` which runs both scripts `yarn w:a` and `yarn w:c` to run programs in `workspace-a` for `workspace-c`\n\n#### Individual docker builds\n1. Build `workspace-a` image with\n```\ndocker build -t workspace-a --build-arg package_json=\"$(cat $(pwd)/package.json)\" -f packages/Dockerfile-workspace-a ./packages/\n```\n\n2. Build `workspace-c` image with\n```\ndocker build -t workspace-c  -f packages/Dockerfile-workspace-c ./packages/\n```\n\n3. Run  with `docker run workspace-\u003ca|c\u003e`\n\n#### Docker-compose\n1. Build images with\n```\ndocker-compose build --build-arg package_json=\"$(cat $(pwd)/package.json)\"\n```\n\n2. Run `docker-compose up` or `docker-compose run workspace-\u003ca|b\u003e`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaern91%2Fts-monorepo-docker-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaern91%2Fts-monorepo-docker-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaern91%2Fts-monorepo-docker-demo/lists"}