mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-24 04:18:38 -05:00
989d74bacd
* hotfix: add repository for npm publish * fix: out dir location * wip: concurrency * cleanup: rm console logs * fix: worker start pattern * fix: async examples * feat: improved logging * wip: register concurrency opts * feat(ts-sdk): step run streaming * fix: publish dist * fix: publish dist folder as package root * feat: concurrency action * feat: abort controller * fix: better note * rm: old test * feat: add worker to index * release: bump version * cleanup: rm todo * release: bump version 0.1.11 --------- Co-authored-by: Alexander Belanger <belanger@sas.upenn.edu>
10 lines
409 B
Bash
Executable File
10 lines
409 B
Bash
Executable File
# Directory to write generated code to (.js and .d.ts files)
|
|
OUT_DIR="./src/protoc"
|
|
|
|
# Generate code
|
|
./node_modules/.bin/grpc_tools_node_protoc \
|
|
--plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto \
|
|
--ts_proto_out=$OUT_DIR \
|
|
--ts_proto_opt=outputServices=nice-grpc,outputServices=generic-definitions,useExactTypes=false \
|
|
--proto_path=../api-contracts \
|
|
../api-contracts/**/*.proto |