Skip to content

Commit

Permalink
chore: replace api-common-protos submodule with buf registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwenn committed Apr 28, 2021
1 parent 046af17 commit cb7fad9
Show file tree
Hide file tree
Showing 83 changed files with 16 additions and 8,436 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ include tools/goreview/rules.mk
include tools/semantic-release/rules.mk
include tools/eslint/rules.mk

.PHONY: example/proto/api-common-protos
example/proto/api-common-protos:
@git submodule update --init --recursive $@

.PHONY: go-test
go-test:
$(info [$@] running Go tests...)
Expand All @@ -34,7 +30,7 @@ go-mod-tidy:
@go mod tidy -v

.PHONY: buf-lint
buf-lint: $(buf) example/proto/api-common-protos
buf-lint: $(buf)
$(info [$@] linting protobuf schemas...)
@$(buf) lint

Expand All @@ -52,7 +48,7 @@ eslint: $(eslint)
$(eslint) --config $(eslint_cwd)/.eslintrc.js --quiet "example/proto/gen/typescript/**/*.ts"

.PHONY: buf-generate
buf-generate: $(buf) $(protoc_gen_typescript_aip) example/proto/api-common-protos
buf-generate: $(buf) $(protoc_gen_typescript_aip)
$(info [$@] generating protobuf stubs...)
@rm -rf example/proto/gen
@$(buf) generate --path example/proto/src/einride
9 changes: 9 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generated by buf. DO NOT EDIT.
deps:
- remote: buf.build
owner: beta
repository: googleapis
branch: main
commit: 2e73676eef8642dfba4ed782b7c8d6fe
digest: b1-vB11w98W2vFtEP4Veknm56Pi6DU6MpOuocESiOzvbqw=
create_time: 2021-04-26T14:55:30.644663Z
8 changes: 5 additions & 3 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
version: v1beta1

name: buf.build/einride/protoc-gen-typescript

deps:
- buf.build/beta/googleapis

build:
roots:
- example/proto/src
- example/proto/api-common-protos

lint:
use:
Expand All @@ -14,5 +18,3 @@ lint:
- RPC_RESPONSE_STANDARD_NAME
- RPC_REQUEST_RESPONSE_UNIQUE
- ENUM_VALUE_PREFIX
ignore:
- google
2 changes: 0 additions & 2 deletions example/proto/api-common-protos/.bazelrc

This file was deleted.

1 change: 0 additions & 1 deletion example/proto/api-common-protos/.circleci/.pypirc.enc

This file was deleted.

163 changes: 0 additions & 163 deletions example/proto/api-common-protos/.circleci/config.yml

This file was deleted.

13 changes: 0 additions & 13 deletions example/proto/api-common-protos/.circleci/packaging/python/LICENSE

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions example/proto/api-common-protos/.github/CODEOWNERS

This file was deleted.

14 changes: 0 additions & 14 deletions example/proto/api-common-protos/.github/sync-repo-settings.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions example/proto/api-common-protos/.gitignore

This file was deleted.

Loading

0 comments on commit cb7fad9

Please sign in to comment.