Skip to content

Commit

Permalink
additional changes for generating protobuf open-telemetry#1787
Browse files Browse the repository at this point in the history
  • Loading branch information
Sozhan308 committed Jan 25, 2025
1 parent a544937 commit f8e6fc7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/frontend/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build
dist
.husky
node_modules
protos/
1 change: 1 addition & 0 deletions src/frontend/genproto/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ WORKDIR /build
RUN apk add --no-cache libc6-compat protobuf-dev protoc

COPY ./src/frontend/package*.json ./
COPY ./pb ./pb
RUN npm ci

CMD ["npm", "run", "grpc:generate"]
2 changes: 1 addition & 1 deletion src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"react-dom": "18.3.1",
"sharp": "0.33.4",
"styled-components": "6.1.11",
"ts-proto": "1.181.1",
"uuid": "10.0.0"
},
"devDependencies": {
Expand All @@ -61,6 +60,7 @@
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"openapi-typescript": "7.5.2",
"ts-proto": "1.181.1",
"typescript": "5.7.3"
}
}
2 changes: 1 addition & 1 deletion src/frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"jsx": "preserve",
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "protos/**/*.ts"],
"exclude": ["node_modules"]
}

0 comments on commit f8e6fc7

Please sign in to comment.