https://github.com/rensawamo/common-proto
https://github.com/rensawamo/common-proto
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rensawamo/common-proto
- Owner: rensawamo
- Created: 2025-03-18T06:46:22.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T04:06:40.000Z (3 months ago)
- Last Synced: 2025-03-25T04:22:45.587Z (3 months ago)
- Language: Dart
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tree
```sh
.
├── buf.lock
├── buf.yaml
├── Makefile
├── README.md
├── proto
│ ├── common
│ │ └── common/v1
│ │ └── common.proto
│ ├── customerapi
│ │ └── customer/v1
│ │ └── customer.proto
│ └── employeeapi
│ └── employee/v1
│ └── employee.proto
└── output/typescript
├── gen
├── Makefile
├── README.md
└── buf.gen.yaml```
# Set up buf.yaml
```sh
$ buf config init
$ buf build
$ buf dep update
```# Buf cli
### check lint
```sh
$ buf lint
```### format
```sh
$ buf format -w
```### breaking
```sh
$ buf breaking --against '.git#subdir=proto'
```# Reference
### buf.yaml v2 document
https://buf.build/docs/configuration/v2/buf-yaml/### buf.gen.yaml v2 document
https://buf.build/docs/configuration/v2/buf-gen-yaml/### Migrate to v2 configuration files
https://buf.build/docs/migration-guides/migrate-v2-config-files/### Buf Cli
https://buf.build/docs/cli/