The TypeScript SDK is developed in a monorepo consisting of several packages managed with lerna
. The public packages are:
temporalio
- Meta package, bundles the common packages for ease of installation.@temporalio/worker
- Communicates with the Temporal service and runs workflows and activities@temporalio/workflow
- Workflow runtime library@temporalio/activity
- Access to current activity context@temporalio/client
- Communicate with the Temporal service for things like administration and scheduling workflows@temporalio/proto
- Compiled protobuf definitions@temporalio/workflow-common
- Code shared between@temporalio/workflow
and other packages@temporalio/common
- All shared code (re-exports everything in@temporalio/workflow-common
, and also has code shared between packages other than@temporalio/workflow
)@temporalio/create
- NPM package initializer