Files
appium/tsconfig.json
T
Christopher Hiller d31aaf9916 chore: update TS configuration
This pulls in some recommended settings from `@tsconfig/node14` (a proper TS target configuration for Node.js v14; ours wasn't _wrong_ per se, but this is better) and allows us more flexible use of `ts-node`.  Use of this module is recommended by `ts-node` (which we need to run tests).

`ts-node`'s behavior changes _depending on the directory in which it's run_--and this can cause some really nonsensical bugs--so the changes here ensure that it will act the same regardless of if you're running tests from a package directory or the monorepo root.

Also:

- Ensure various `clean` scripts don't fail if they've been run before `build`
- Enable `strict` mode in `@appium/types` cause we can
- Fix a type issue found in `@appium/support`; this does not appear to have been a traditional bug but rather a type disagreement surfaced by the new config

# Conflicts:
#	package-lock.json
#	packages/typedoc-plugin-appium/tsconfig.json
2022-12-06 18:08:15 -08:00

77 lines
1.3 KiB
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node14/tsconfig.json",
"ts-node": {
"transpileOnly": true
},
"files": [],
"compilerOptions": {
"noErrorTruncation": true
},
"references": [
{
"path": "packages/appium"
},
{
"path": "packages/driver-test-support"
},
{
"path": "packages/plugin-test-support"
},
{
"path": "packages/schema"
},
{
"path": "packages/types"
},
{
"path": "packages/support"
},
{
"path": "packages/base-driver"
},
{
"path": "packages/base-plugin"
},
{
"path": "packages/schema"
},
{
"path": "packages/types"
},
{
"path": "packages/test-support"
},
{
"path": "packages/fake-plugin"
},
{
"path": "packages/images-plugin"
},
{
"path": "packages/relaxed-caps-plugin"
},
{
"path": "packages/universal-xml-plugin"
},
{
"path": "packages/opencv"
},
{
"path": "packages/execute-driver-plugin"
},
{
"path": "packages/docutils"
},
{
"path": "packages/fake-driver"
},
{
"path": "packages/typedoc-plugin-appium"
},
{
"path": "packages/doctor"
}
]
}