ai/references/repo.md
This is a pnpm 10.23.0 monorepo that uses turborepo @turbo.json. The following workspaces are relevant
@trigger.dev/sdk main SDK package.trigger.dev CLI package. See our CLI dev command and Deployment docs for more information.@trigger.dev/core package that is shared across the SDK and other packages@trigger.dev/redis-worker package that implements a custom background job/worker sytem powered by redis for offloading work to the background, used in the webapp and also in the Run Engine 2.0.@trigger.dev/database package that exports a prisma client, has the schema file, and exports a few other helpers.@internal/run-engine package that is "Run Engine 2.0" and handles moving a run all the way through it's lifecycle@internal/redis package that exports Redis types and the createRedisClient function to unify how we create redis clients in the repo. It's not used everywhere yet, but it's the preferred way to create redis clients from now on.@internal/testcontainers package that exports a few useful functions for spinning up local testcontainers when writing vitest tests. See our tests.md file for more information.@internal/zodworker package that implements a wrapper around graphile-worker that allows us to use zod to validate our background jobs. We are moving away from using graphile-worker as our background job system, replacing it with our own redis-worker package.pnpm run docker