Pin typescript to @4.4.4 to fix CI (#1170)

This commit is contained in:
Eryu Xia 2021-11-18 18:34:01 +00:00 committed by GitHub
parent 9f76a56ac9
commit f1d863f2dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -1,2 +1,3 @@
**/dist
**/node_modules
packages/grpc-web/generated

View File

@ -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 \
@ -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

View File

@ -1,5 +1,5 @@
{
"dependencies": {
"devDependencies": {
"@types/google-protobuf": "~3.7.0",
"@types/jquery": "~3.3.6",
"@types/node": "~10.17.0",
@ -7,6 +7,7 @@
"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"
}

View File

@ -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"
}
}