Skip to content

Commit 222c667

Browse files
moar
1 parent 0abc75d commit 222c667

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export { bundleWDASim } from './check-dependencies';
2+
export { NoSessionProxy } from './no-session-proxy';
3+
export { WebDriverAgent } from './webdriveragent';
4+
export { WDA_BASE_URL, WDA_RUNNER_BUNDLE_ID, PROJECT_FILE } from './constants';
5+
export { resetTestProcesses, BOOTSTRAP_PATH } from './utils';
6+
7+
export * from './types';

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "appium-webdriveragent",
33
"version": "11.4.1",
44
"description": "Package bundling WebDriverAgent",
5-
"main": "./build/index.js",
6-
"types": "./build/index.d.ts",
5+
"main": "./build/lib/index.js",
6+
"types": "./build/lib/index.d.ts",
77
"scripts": {
88
"build": "tsc -b",
99
"dev": "npm run build -- --watch",
@@ -85,9 +85,8 @@
8585
"teen_process": "^4.0.7"
8686
},
8787
"files": [
88-
"index.ts",
8988
"lib",
90-
"build",
89+
"build/lib",
9190
"Scripts/build.sh",
9291
"Scripts/*.mjs",
9392
"Configurations",
@@ -97,7 +96,6 @@
9796
"WebDriverAgentRunner",
9897
"WebDriverAgentTests",
9998
"XCTWebDriverAgentLib",
100-
"CHANGELOG.md",
101-
"!build/test"
99+
"CHANGELOG.md"
102100
]
103101
}

tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "@appium/tsconfig/tsconfig.json",
44
"compilerOptions": {
5-
"strict": false, // TODO: make this flag true
65
"esModuleInterop": true,
76
"outDir": "build",
87
"types": ["node", "mocha"],
98
"checkJs": true
109
},
10+
"ts-node": {
11+
"transpileOnly": true,
12+
"compilerOptions": {
13+
"rootDir": "."
14+
}
15+
},
1116
"include": [
12-
"index.ts",
1317
"lib",
1418
"test"
1519
]

0 commit comments

Comments
 (0)