mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
Replace json protocol by protobuf generate protobuf files with `bun buf generate` or just `buf generate` - [x] Implement all datatypes with proto files - [x] Map to ts types or use the generated proto types directly with: - [x] web frontend - [x] relay - [x] runner - [ ] final performance test (to be done when CI builds new images) --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
18 lines
409 B
YAML
18 lines
409 B
YAML
version: v2
|
|
inputs:
|
|
- directory: protobufs
|
|
plugins:
|
|
# TypeScript (frontend)
|
|
- remote: buf.build/bufbuild/es
|
|
out: packages/input/src/proto
|
|
opt: target=ts
|
|
|
|
# Golang (relay)
|
|
- remote: buf.build/protocolbuffers/go
|
|
out: packages/relay/internal/proto
|
|
opt: paths=source_relative
|
|
|
|
# Rust (nestri-server)
|
|
- remote: buf.build/community/neoeinstein-prost
|
|
out: packages/server/src/proto
|