rdesign/frontend/node_modules/@protobuf-ts/protoc
Jeff Emmett 80f1e96e6b Fix frontend build: type errors, SDK handling, docker context
- Use jq to cleanly remove encryptid SDK from package.json in Docker
- Fix TypeScript strict mode errors in dashboard and assistant
- Add .dockerignore to exclude node_modules from build context
- Use project root as Docker build context for frontend
- Fix Traefik routing: separate frontend/api/studio paths

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 02:21:52 +00:00
..
installed Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00
README.md Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00
package.json Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00
protoc.js Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00
turbo.json Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00
util.js Fix frontend build: type errors, SDK handling, docker context 2026-03-24 02:21:52 +00:00

README.md

@protobuf-ts/protoc

Installs the protocol buffer compiler "protoc" for you.

Installation (not necessary if you use the protobuf-ts plugin):

# with npm:
npm install @protobuf-ts/protoc

# with yarn:
yarn add @protobuf-ts/protoc

Now you can run protoc as usual, you just have to prefix your command with npx or yarn:

# with npm:
npx protoc --version 

# with yarn:
yarn protoc --version 

If you do not already have protoc in your $PATH, this will automatically download the latest release of protoc for your platform from the github release page, then run the executable with your arguments.

Yarn berry

This package is not compatible with Yarn berry. Please use node-protoc.

Installing a specific version

Add the following to your package json:

"config": {
   "protocVersion": "29.2"
}

Prevent using protoc from $PATH

Add a protocVersion to your package json, see above.

Added arguments

The script passes all given arguments to protoc and adds the following arguments:

  1. --proto_path that points to the include/ directory of the downloaded release (skipped when found on $PATH)
  2. --plugin argument for all plugins found in node_modules/.bin/
  3. --proto_path argument for node_modules/@protobuf-ts/plugin