Skip to content

Commit

Permalink
fix: create proto files at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Aug 8, 2024
1 parent 10bcb8d commit 2a93eec
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 2,341 deletions.
3 changes: 2 additions & 1 deletion packages/runner-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Bindings and utilities to create and run TypeScript processors in the JVM Runner.",
"scripts": {
"run": "ts-node src/runtime/index.ts",
"build": "tsc && tsc-alias",
"proto": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/proto --ts_proto_opt=outputServices=grpc-js,esModuleInterop=true,importSuffix=.js --proto_path=./../../proto index.proto",
"build": "npm run proto && tsc && tsc-alias",
"test": "vitest run --coverage --coverage.include src",
"format": "eslint --fix . && prettier --write ."
},
Expand Down
2 changes: 2 additions & 0 deletions packages/runner-ts/src/proto/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
Empty file removed packages/runner-ts/src/proto/.keep
Empty file.
1 change: 0 additions & 1 deletion packages/runner-ts/src/proto/README.md

This file was deleted.

345 changes: 0 additions & 345 deletions packages/runner-ts/src/proto/channel.ts

This file was deleted.

Loading

0 comments on commit 2a93eec

Please sign in to comment.