{"id":13626451,"url":"https://github.com/moltar/projen-turborepo","last_synced_at":"2025-04-16T14:33:40.367Z","repository":{"id":65475760,"uuid":"443046104","full_name":"moltar/projen-turborepo","owner":"moltar","description":"Projen project type for Turborepo monorepo setup.","archived":false,"fork":false,"pushed_at":"2022-05-30T09:50:42.000Z","size":459,"stargazers_count":26,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T10:20:59.091Z","etag":null,"topics":["monorepo","projen","turbo","turborepo"],"latest_commit_sha":null,"homepage":"https://npm.im/projen-turborepo","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/moltar.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":"2021-12-30T10:48:27.000Z","updated_at":"2024-01-14T12:08:42.000Z","dependencies_parsed_at":"2023-01-25T06:05:15.629Z","dependency_job_id":null,"html_url":"https://github.com/moltar/projen-turborepo","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-turborepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-turborepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-turborepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-turborepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moltar","download_url":"https://codeload.github.com/moltar/projen-turborepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250821,"owners_count":21237961,"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":["monorepo","projen","turbo","turborepo"],"created_at":"2024-08-01T21:02:19.270Z","updated_at":"2025-04-16T14:33:40.087Z","avatar_url":"https://github.com/moltar.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# 📦 `projen-turborepo`\n\n\u003e [Projen](https://github.com/projen/projen) project type for [Turborepo](https://turborepo.org/) [monorepo](https://en.wikipedia.org/wiki/Monorepo) setup.\n\n## Getting Started\n\nTo create a new project, run the following command and follow the instructions:\n\n```sh\n$\u003e mkdir my-monorepo\n$\u003e cd my-monorepo\n$\u003e npx projen new --from projen-turborepo --projenrc-ts\n🤖 Synthesizing project...\n...\n```\n\n## Demo\n\nSee [`projen-turborepo-test`](https://github.com/moltar/projen-turborepo-test) GitHub repo for\na demo project.\n\n## Example\n\n```ts\nimport { TurborepoProject } from 'projen-turborepo'\nimport { typescript } from 'projen';\n\nconst turbo = new TurborepoProject({\n  name: 'my-monorepo',\n  turbo: {\n    pipeline: {\n      // ... your pipeline config, but defaults are already included\n    },\n  },\n\n  // this will probably all be true by default in the future, but for now all of these\n  // are experimental and need to be explicitly turned on.\n  pathMapping: true,\n  jestModuleNameMapper: true,\n  projectReferences: true,\n  parallelWorkflows: true,\n  vscodeMultiRootWorkspaces: true,\n})\n\nnew typescript.TypeScriptProject({\n  parent: turbo,\n  defaultReleaseBranch: 'master',\n  name: 'my-first-project',\n  outdir: 'packages/my-first-project',\n  // ...\n})\n\nturbo.synth()\n```\n\nThen use `turbo` to run the tasks:\n\n```plain\n$\u003e turbo run test\n• Packages in scope: my-first-project\n• Running test in 1 packages\nmy-first-project:test: cache hit, replaying output 2264dbd676fac83e\nmy-first-project:test: yarn run v1.22.11\nmy-first-project:test: $ npx projen test\nmy-first-project:test: ----------|---------|----------|---------|---------|-------------------\nmy-first-project:test: File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s\nmy-first-project:test: ----------|---------|----------|---------|---------|-------------------\nmy-first-project:test: All files |     100 |      100 |     100 |     100 |\nmy-first-project:test:  index.ts |     100 |      100 |     100 |     100 |\nmy-first-project:test: ----------|---------|----------|---------|---------|-------------------\nmy-first-project:test: Done in 4.29s.\nmy-first-project:test: 👾 test | jest --passWithNoTests --all --updateSnapshot\nmy-first-project:test: PASS test/hello.test.ts\nmy-first-project:test:   ✓ hello (1 ms)\nmy-first-project:test:\nmy-first-project:test: Test Suites: 1 passed, 1 total\nmy-first-project:test: Tests:       1 passed, 1 total\nmy-first-project:test: Snapshots:   0 total\nmy-first-project:test: Time:        1.148 s, estimated 2 s\nmy-first-project:test: Ran all test suites.\nmy-first-project:test: 👾 test » eslint | eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test build-tools .projenrc.js\n\n Tasks:    1 successful, 1 total\nCached:    1 cached, 1 total\n  Time:    65ms \u003e\u003e\u003e FULL TURBO\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltar%2Fprojen-turborepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoltar%2Fprojen-turborepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltar%2Fprojen-turborepo/lists"}