mirror of
https://github.com/appium/appium.git
synced 2026-10-22 16:54:52 +08:00
7d7b510a03
For the TypeDoc plugin to correctly pull information from `@appium/types` and `@appium/base-driver`, they both need `tsconfig.json` files. They currently _have_ `tsconfig.json` files, but they extend base configs in the monorepo root, which is problematic. Moving the configs into a package seems reasonable. Further, all packages must publish `tsconfig.json`. There's precedent for publishing a `tsconfig.json` this way. FWIW the `paths` and `references` fields in the `tsconfig.json` files seem to be ignored by TypeDoc, so we can get away with this.
18 lines
470 B
JSON
18 lines
470 B
JSON
{
|
|
"compilerOptions": {
|
|
"paths": {
|
|
"appium": ["../packages/appium"],
|
|
"appium/plugin": ["../packages/appium/plugin"],
|
|
"@appium/plugin-test-support": ["../packages/plugin-test-support"]
|
|
},
|
|
"types": ["webdriverio/async"]
|
|
},
|
|
"extends": "./tsconfig.json",
|
|
"references": [
|
|
{"path": "../packages/appium"},
|
|
{"path": "../packages/base-plugin"},
|
|
{"path": "../packages/types"},
|
|
{"path": "../packages/plugin-test-support"}
|
|
]
|
|
}
|