Script to verify @types/* versions

Summary:
We recently raised a concern that for some packages types/* version is different than the package we are using. This can cause runtime errors as typescript can suggest usage that no longer reflects current API of a library. To combat this issue we decided to add a CI check to verify that major versions of types and a libriary match.

This script will be refined if in the next few diffs

Reviewed By: LukeDefeo

Differential Revision: D48779652

fbshipit-source-id: 2a826ba9d00565563553f04cd809ae0638db6282
This commit is contained in:
Anton Kastritskiy
2023-09-01 09:54:49 -07:00
committed by Facebook GitHub Bot
parent 42b95c21eb
commit 806d684ddc
5 changed files with 148 additions and 15 deletions

View File

@@ -30,7 +30,7 @@
"jsonwebtoken": "^9.0.0",
"lodash.memoize": "^4.1.2",
"memorystream": "^0.3.1",
"node-fetch": "2",
"node-fetch": "^2.6.0",
"node-forge": "^0.10.0",
"open": "^8.3.0",
"openssl-wrapper": "^0.3.4",
@@ -55,8 +55,8 @@
"@types/jsonwebtoken": "^9.0.1",
"@types/memorystream": "^0.3.0",
"@types/node": "^17.0.31",
"@types/node-fetch": "2",
"@types/node-forge": "^0.10",
"@types/node-fetch": "2.6.4",
"@types/node-forge": "^0.10.0",
"@types/rimraf": "^3.0.2",
"@types/rsocket-core": "^0.0.7",
"@types/rsocket-tcp-server": "^0.0.2",