hatchet-dev / hatchet-typescript

Hatchet Typescript SDK for Interacting with the Hatchet Engine
11 stars 7 forks source link

chore(package): use dist dir for publish and entrypoint #135

Open steebchen opened 3 months ago

steebchen commented 3 months ago

Change the behaviour of the dist directory:

This makes development easier because the entrypoint is the same when using npm/pnpm link.

The only downside is that imports for the end user would include the dist directory (e.g. @hatchet-dev/typescript-sdk/dist/foo/bar), but everything should be imported from the root package anyway.