darkpool
CDCloudflare Developers
•Created by Mitya on 1/29/2025 in #workers-help
Can I run two workers from one monorepo?

9 replies
CDCloudflare Developers
•Created by Mitya on 1/29/2025 in #workers-help
Can I run two workers from one monorepo?
Not sure if this is what you're asking about but I have all my workers (apps and apis) and packages (shared code like design library, typescript configs, helpers, db setup, etc.) in a monorepo using turborepo and pnpm workspaces. Each has a package.json and each worker has a wrangler config. they are separate entities and can share code through packages but each can be built and developed simultaneously by using turborepo.
https://developers.cloudflare.com/workers/ci-cd/builds/advanced-setups/
https://turbo.build/repo/docs/crafting-your-repository/structuring-a-repository
9 replies