mirror of
https://github.com/usememos/memos.git
synced 2024-11-17 20:25:46 +08:00
19e7731abb
* chore: generate ts definition * chore: update
27 lines
705 B
YAML
27 lines
705 B
YAML
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
default: github.com/usememos/memos/proto/gen
|
|
except:
|
|
- buf.build/googleapis/googleapis
|
|
plugins:
|
|
- plugin: buf.build/protocolbuffers/go:v1.31.0
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
- plugin: buf.build/grpc/go:v1.3.0
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
- plugin: buf.build/grpc-ecosystem/gateway:v2.16.1
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
# Build the TypeScript definitions for the web.
|
|
- plugin: buf.build/bufbuild/es:v1.3.0
|
|
out: ../web/src/types/proto
|
|
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
|
|
out: gen
|
|
opt:
|
|
- markdown,README.md,source_relative
|