{"id":15704225,"url":"https://github.com/ofhouse/jest-project-babel-transformer","last_synced_at":"2025-10-17T23:06:56.401Z","repository":{"id":96085730,"uuid":"203971217","full_name":"ofhouse/jest-project-babel-transformer","owner":"ofhouse","description":"Example of how to use Jest project runner with individual babelrc config","archived":false,"fork":false,"pushed_at":"2020-03-14T17:34:11.000Z","size":157,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T00:41:20.238Z","etag":null,"topics":["example","javascript","jest","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ofhouse.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}},"created_at":"2019-08-23T09:49:05.000Z","updated_at":"2022-05-11T16:37:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"91764e5d-556a-4083-91dc-0dad63bdc000","html_url":"https://github.com/ofhouse/jest-project-babel-transformer","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/ofhouse%2Fjest-project-babel-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fjest-project-babel-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fjest-project-babel-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fjest-project-babel-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofhouse","download_url":"https://codeload.github.com/ofhouse/jest-project-babel-transformer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253778461,"owners_count":21962872,"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":["example","javascript","jest","typescript"],"created_at":"2024-10-03T20:10:47.967Z","updated_at":"2025-10-17T23:06:56.293Z","avatar_url":"https://github.com/ofhouse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jest multi project runner with babel-jest [![Build status](https://travis-ci.org/ofhouse/jest-project-babel-transformer.svg?branch=master)](https://travis-ci.org/ofhouse/jest-project-babel-transformer)\n\nThis is an example of how to use the [`babel-jest`](https://www.npmjs.com/package/babel-jest) transformer in a monorepo where each package uses its own `.babelrc.js` configuration-file.\nThis is especially useful when the projects in your workspace do not share the same babel-preset or plugins but you still want to use the multi runner to run all test in your monorepo.\n\n## Structure\n\nThe structure of this repository is as follows:\n\n```sh\nfixtures/\n├── angular-js/        # Workspace 1\n│   ├── .babelrc.js\n│   ├── jest.config.js\n│   └── package.json\n└── react/             # Workspace 2\n    ├── .babelrc.js\n    ├── jest.config.js\n    └── package.json\njest.config.js         # Workspace root\npackage.json\n```\n\nThe tests can be run from the workspace root, which uses the jest projects config or individually from each package which uses the local jest config from each project.\n\n## Setup \u0026 Test\n\n```sh\n# Install dependencies\nyarn\n\n# Run all tests from workspace root\nyarn test\n\n# Run tests in a workspace\ncd fixtures/react\nyarn test\n```\n\n## Author\n\n\u003c!-- prettier-ignore-start --\u003e\n\n| [\u003cimg src=\"https://avatars0.githubusercontent.com/u/472867?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFelix Haus\u003c/b\u003e\u003c/sub\u003e](https://github.com/ofhouse)\u003cbr /\u003e\u003csub\u003e[Website](https://felix.house/) • [Twitter](https://twitter.com/ofhouse)\u003c/sub\u003e|\n| :---: |\n\n\u003c!-- prettier-ignore-end --\u003e\n\n## License\n\nMIT - see [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofhouse%2Fjest-project-babel-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofhouse%2Fjest-project-babel-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofhouse%2Fjest-project-babel-transformer/lists"}