This commit is contained in:
Max Peintner
2023-04-04 15:35:41 +02:00
parent 25aec6078e
commit bfc6b33ed0
3 changed files with 5 additions and 3 deletions

View File

@@ -8,7 +8,6 @@
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"start": "next start", "start": "next start",
"test": "yarn prettier:check &nexarn lint", "test": "yarn prettier:check &nexarn lint",
"generate": "buf generate external/zitadel/proto",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next" "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
}, },
"git": { "git": {

View File

@@ -6,7 +6,7 @@ plugins:
- name: ts - name: ts
strategy: all strategy: all
path: node_modules/ts-proto/protoc-gen-ts_proto path: node_modules/ts-proto/protoc-gen-ts_proto
out: src/server out: proto/src/server
opt: opt:
- esModuleInterop=true - esModuleInterop=true
- env=node - env=node
@@ -17,7 +17,7 @@ plugins:
# out: src/app/proto/generated # out: src/app/proto/generated
# opt: import_style=commonjs,binary # opt: import_style=commonjs,binary
- plugin: buf.build/grpc/web - plugin: buf.build/grpc/web
out: src/client out: proto/src/client
opt: import_style=typescript,mode=grpcweb opt: import_style=typescript,mode=grpcweb
# - plugin: buf.build/grpc-ecosystem/openapiv2 # - plugin: buf.build/grpc-ecosystem/openapiv2
# out: src/app/proto/generated # out: src/app/proto/generated

View File

@@ -1,5 +1,8 @@
{ {
"extends": "@zitadel/tsconfig/react-library.json", "extends": "@zitadel/tsconfig/react-library.json",
"include": ["."], "include": ["."],
"compilerOptions": {
"baseUrl": "."
},
"exclude": ["dist", "build", "node_modules"] "exclude": ["dist", "build", "node_modules"]
} }