Skip to content

Commit 476e877

Browse files
authored
TypeScript: tweak tsc and protoc-gen-ts versions (#193)
* TypeScript: tweak tsc and protoc-gen-ts versions Attempt to resolve #149 * Use `tsc --force` to force typechecking See https://www.typescriptlang.org/docs/handbook/project-references.html#caveats > you may need to run a --force build after certain source control > operations depending on whether your source control tool preserves > timestamps between the local copy and the remote copy * Reformat * Re-generate bindings
1 parent 860dae2 commit 476e877

File tree

6 files changed

+467
-96
lines changed

6 files changed

+467
-96
lines changed

.github/workflows/typescript.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
with:
1919
js: true
2020
- run: yarn install
21-
- name: Check TypeScript
22-
run: ./node_modules/.bin/tsc -b bindings/typescript
21+
- name: Typecheck TypeScript
22+
run: yarn run build

bindings/typescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"devDependencies": {
1414
"@types/google-protobuf": "3.15.6",
15-
"protoc-gen-ts": "0.8.5",
16-
"typescript": "^4.7.4"
15+
"protoc-gen-ts": "0.8.6",
16+
"typescript": "^4.9.0"
1717
},
1818
"comment": [
1919
"protoc-gen-ts is pinned to 0.8.1 because there is a breaking change in ",

0 commit comments

Comments
 (0)