mirror of
https://github.com/appium/appium.git
synced 2026-04-24 12:28:51 -05:00
d31aaf9916
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
77 lines
1.3 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|