Skip to content

Commit

Permalink
Pin typescript to @4.4.4 to fix CI (grpc#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampajano authored Nov 18, 2021
1 parent 9f76a56 commit f1d863f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/dist
**/node_modules
packages/grpc-web/generated
4 changes: 1 addition & 3 deletions net/grpc/gateway/docker/ts_client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

FROM grpcweb/prereqs

RUN npm install -g typescript

WORKDIR /github/grpc-web/net/grpc/gateway/examples/echo

RUN protoc -I=. echo.proto \
Expand All @@ -26,7 +24,7 @@ WORKDIR /github/grpc-web/net/grpc/gateway/examples/echo/ts-example

RUN npm install && \
npm link grpc-web && \
tsc && \
npx tsc && \
npx webpack && \
cp echotest.html /var/www/html && \
cp dist/main.js /var/www/html/dist
Expand Down
3 changes: 2 additions & 1 deletion net/grpc/gateway/examples/echo/ts-example/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"dependencies": {
"devDependencies": {
"@types/google-protobuf": "~3.7.0",
"@types/jquery": "~3.3.6",
"@types/node": "~10.17.0",
"google-protobuf": "~3.14.0",
"grpc-web": "~1.3.0",
"jquery": "~3.5.1",
"mock-xmlhttprequest": "~2.0.0",
"typescript": "~4.4.4",
"webpack": "~4.43.0",
"webpack-cli": "~3.3.11"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"mocha": "~5.2.0",
"mock-xmlhttprequest": "~2.0.0",
"protractor": "~7.0.0",
"typescript": "~3.8.0"
"typescript": "~4.4.4"
}
}

0 comments on commit f1d863f

Please sign in to comment.