How would one go about publishing a compiled machine w/ generated types to npm (ie: can be consumed by js or ts)?
I see that there's an --outDir parameter but not obvious how to me how to use this as part of a publish script. The consumer of the package might also have machines (w/ generated types) as well. Basically, curious what the workflow is if you've got your machines distributed across multiple packages.
How would one go about publishing a compiled machine w/ generated types to npm (ie: can be consumed by js or ts)?
I see that there's an
--outDirparameter but not obvious how to me how to use this as part of a publish script. The consumer of the package might also have machines (w/ generated types) as well. Basically, curious what the workflow is if you've got your machines distributed across multiple packages.