Skip to content

Commit f8e6fc7

Browse files
committed
additional changes for generating protobuf open-telemetry#1787
1 parent a544937 commit f8e6fc7

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/frontend/.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build
44
dist
55
.husky
66
node_modules
7+
protos/

src/frontend/genproto/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ WORKDIR /build
88
RUN apk add --no-cache libc6-compat protobuf-dev protoc
99

1010
COPY ./src/frontend/package*.json ./
11+
COPY ./pb ./pb
1112
RUN npm ci
1213

1314
CMD ["npm", "run", "grpc:generate"]

src/frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"react-dom": "18.3.1",
4545
"sharp": "0.33.4",
4646
"styled-components": "6.1.11",
47-
"ts-proto": "1.181.1",
4847
"uuid": "10.0.0"
4948
},
5049
"devDependencies": {
@@ -61,6 +60,7 @@
6160
"eslint-plugin-react": "7.37.4",
6261
"eslint-plugin-react-hooks": "5.1.0",
6362
"openapi-typescript": "7.5.2",
63+
"ts-proto": "1.181.1",
6464
"typescript": "5.7.3"
6565
}
6666
}

src/frontend/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"jsx": "preserve",
1616
"incremental": true
1717
},
18-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
18+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "protos/**/*.ts"],
1919
"exclude": ["node_modules"]
2020
}

0 commit comments

Comments
 (0)