mirror of https://github.com/grpc/grpc-web.git
Pin typescript to @4.4.4 to fix CI (#1170)
This commit is contained in:
parent
9f76a56ac9
commit
f1d863f2dc
|
@ -1,2 +1,3 @@
|
||||||
|
**/dist
|
||||||
**/node_modules
|
**/node_modules
|
||||||
packages/grpc-web/generated
|
packages/grpc-web/generated
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
FROM grpcweb/prereqs
|
FROM grpcweb/prereqs
|
||||||
|
|
||||||
RUN npm install -g typescript
|
|
||||||
|
|
||||||
WORKDIR /github/grpc-web/net/grpc/gateway/examples/echo
|
WORKDIR /github/grpc-web/net/grpc/gateway/examples/echo
|
||||||
|
|
||||||
RUN protoc -I=. echo.proto \
|
RUN protoc -I=. echo.proto \
|
||||||
|
@ -26,7 +24,7 @@ WORKDIR /github/grpc-web/net/grpc/gateway/examples/echo/ts-example
|
||||||
|
|
||||||
RUN npm install && \
|
RUN npm install && \
|
||||||
npm link grpc-web && \
|
npm link grpc-web && \
|
||||||
tsc && \
|
npx tsc && \
|
||||||
npx webpack && \
|
npx webpack && \
|
||||||
cp echotest.html /var/www/html && \
|
cp echotest.html /var/www/html && \
|
||||||
cp dist/main.js /var/www/html/dist
|
cp dist/main.js /var/www/html/dist
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"devDependencies": {
|
||||||
"@types/google-protobuf": "~3.7.0",
|
"@types/google-protobuf": "~3.7.0",
|
||||||
"@types/jquery": "~3.3.6",
|
"@types/jquery": "~3.3.6",
|
||||||
"@types/node": "~10.17.0",
|
"@types/node": "~10.17.0",
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
"grpc-web": "~1.3.0",
|
"grpc-web": "~1.3.0",
|
||||||
"jquery": "~3.5.1",
|
"jquery": "~3.5.1",
|
||||||
"mock-xmlhttprequest": "~2.0.0",
|
"mock-xmlhttprequest": "~2.0.0",
|
||||||
|
"typescript": "~4.4.4",
|
||||||
"webpack": "~4.43.0",
|
"webpack": "~4.43.0",
|
||||||
"webpack-cli": "~3.3.11"
|
"webpack-cli": "~3.3.11"
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,6 @@
|
||||||
"mocha": "~5.2.0",
|
"mocha": "~5.2.0",
|
||||||
"mock-xmlhttprequest": "~2.0.0",
|
"mock-xmlhttprequest": "~2.0.0",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"typescript": "~3.8.0"
|
"typescript": "~4.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue