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
26 lines
411 B
JSON
26 lines
411 B
JSON
{
|
|
"extends": "../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": ".",
|
|
"lib": ["ES2021"],
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"types": ["jest", "node"]
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../flipper-common"
|
|
},
|
|
{
|
|
"path": "../pkg-lib"
|
|
},
|
|
{
|
|
"path": "../plugin-lib"
|
|
},
|
|
{
|
|
"path": "../flipper-plugin"
|
|
}
|
|
]
|
|
}
|