Skip to content

Commit

Permalink
changed image version to support protoc binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ruirochawork committed Sep 24, 2024
1 parent 41f13ec commit 8a2dfa9
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ executors:
default-docker:
working_directory: &workingDirVar /home/circleci/project
docker:
- image: mojaloop/node-20.10.0-builder:0.0.2
- image: mojaloop/node-20.10.0-builder:0.0.3
default-machine:
machine:
image: ubuntu-2204:2023.04.2
Expand Down
76 changes: 45 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/nodejs-kafka-client-lib/generate-proto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const protoDir = path.resolve(__dirname, 'src/protobuff');
const protoFile = path.resolve(protoDir, 'messages.proto');
const outDir = path.resolve(protoDir);

const command = `protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`;
const command = `npx protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`;

console.log('Running command:', command);

Expand Down

0 comments on commit 8a2dfa9

Please sign in to comment.