{"id":13561270,"url":"https://github.com/wwwebman/lerna-monorepo-typescript-example","last_synced_at":"2025-04-19T11:57:27.004Z","repository":{"id":39695595,"uuid":"273782868","full_name":"wwwebman/lerna-monorepo-typescript-example","owner":"wwwebman","description":"Lerna Typescript Monorepo example ","archived":false,"fork":false,"pushed_at":"2022-12-11T21:15:39.000Z","size":4476,"stargazers_count":67,"open_issues_count":15,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T07:33:51.730Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwwebman.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}},"created_at":"2020-06-20T20:54:56.000Z","updated_at":"2024-12-05T21:47:45.000Z","dependencies_parsed_at":"2023-01-27T07:15:52.504Z","dependency_job_id":null,"html_url":"https://github.com/wwwebman/lerna-monorepo-typescript-example","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/wwwebman%2Flerna-monorepo-typescript-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Flerna-monorepo-typescript-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Flerna-monorepo-typescript-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Flerna-monorepo-typescript-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwwebman","download_url":"https://codeload.github.com/wwwebman/lerna-monorepo-typescript-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249690358,"owners_count":21311308,"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-08-01T13:00:54.324Z","updated_at":"2025-04-19T11:57:26.950Z","avatar_url":"https://github.com/wwwebman.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Lerna monorepo for Typescript codebase with tsconfig-paths + Lerna + symlinks\n\nThe example shows how you can manage monorepo using [Lerna](https://github.com/lerna/lerna) monorepo package managing tool.\nIn this example you can figure out how to:\n\n- Setup Lerna for [Typescript](https://www.typescriptlang.org/) codebase\n- Setup custom aliases on the server and the client\n- Make aliases work together with [Jest](https://jestjs.io/)\n\nThe example shows how to handle all cases from above based only on the\n[tsconfig-paths](https://www.npmjs.com/package/tsconfig-paths) + Lerna + symlinks\nsolution.\n\nMore detail you can find [here](https://webman.pro/blog/lerna-monorepo-typescript-react-node-worklow/#tsconfigpaths--lerna--symlinks).\n\nMonorepo consists of 3 packages:\n\n- [@project/app](./packages/app)\n- [@project/utils](./packages/utils)\n- [@project/ui](./packages/ui)\n\nInstall it and run:\n\nDevelopment:\n\n```bash\nyarn\ncd packages/app\nyarn dev\n```\n\nProduction:\n\n```bash\nyarn\nyarn app:build\ncd packages/app\nyarn start\n```\n\n**Read more in the [article](https://webman.pro/blog/how-to-setup-typescript-path-aliases-in-lerna-monorepo/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwwebman%2Flerna-monorepo-typescript-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwwebman%2Flerna-monorepo-typescript-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwwebman%2Flerna-monorepo-typescript-example/lists"}