Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
- run: npm run lint
name: Run linter
- run: npm run format:check
name: Run Prettier check
name: Run format check
- run: npm run test
name: Unit Tests
12 changes: 0 additions & 12 deletions .oxfmtrc.json

This file was deleted.

37 changes: 0 additions & 37 deletions .releaserc

This file was deleted.

8 changes: 0 additions & 8 deletions eslint.config.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion lib/commands/keyboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {KeyboardKey} from './types.js';
*/
export async function hideKeyboard(
this: XCUITestDriver,
strategy?: string,
_strategy?: string,
...possibleKeys: string[]
): Promise<boolean> {
// last parameter is the session id
Expand Down
6 changes: 6 additions & 0 deletions oxfmt.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import appiumConfig, {defineConfig, ignorePatterns} from '@appium/oxc-config/oxfmt';

export default defineConfig({
...appiumConfig,
ignorePatterns: [...ignorePatterns, 'docs/**'],
});
6 changes: 6 additions & 0 deletions oxlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import appiumConfig, {defineConfig, ignorePatterns} from '@appium/oxc-config/oxlint';

export default defineConfig({
extends: [appiumConfig],
ignorePatterns: [...ignorePatterns, 'docs/**'],
});
31 changes: 13 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"build:docs": "appium-docs build",
"dev:docs": "appium-docs build --serve",
"publish:docs": "appium-docs build --deploy --push -b docs-site -m 'docs: auto-build docs for appium-xcuitest-driver@%s' --alias latest",
"lint": "eslint .",
"lint": "oxlint -c oxlint.config.mjs .",
"lint:commit": "commitlint",
"lint:fix": "npm run lint -- --fix",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"lint:fix": "oxlint -c oxlint.config.mjs --fix .",
"format": "oxfmt -c oxfmt.config.mjs .",
"format:check": "oxfmt -c oxfmt.config.mjs --check .",
"install-docs-deps": "appium-docs init --no-mkdocs",
"prepare": "npm run rebuild",
"rebuild": "npm run clean; npm run build",
Expand All @@ -72,19 +72,19 @@
"@appium/strongbox": "^1.0.0-rc.1",
"@colors/colors": "^1.6.0",
"appium-ios-device": "^3.1.12",
"appium-ios-simulator": "^8.2.0",
"appium-remote-debugger": "^15.7.3",
"appium-webdriveragent": "^15.1.6",
"appium-xcode": "^6.0.2",
"appium-ios-simulator": "^9.0.0",
"appium-remote-debugger": "^16.0.0",
"appium-webdriveragent": "^16.0.0",
"appium-xcode": "^7.0.0",
"async-lock": "^1.4.0",
"asyncbox": "^6.3.0",
"axios": "^1.4.0",
"axios": "^1.18.0",
"commander": "^14.0.1",
"dayjs": "^1.11.21",
"js2xmlparser2": "^0.x",
"lru-cache": "^11.1.0",
"node-devicectl": "^1.1.0",
Comment thread
eglitise marked this conversation as resolved.
Outdated
"node-simctl": "^8.1.1",
"node-simctl": "^9.0.0",
"portscanner": "^2.2.0",
"semver": "^7.5.4",
"teen_process": "^4.0.4",
Expand All @@ -93,11 +93,10 @@
},
"devDependencies": {
"@appium/docutils": "^2.4.0",
"@appium/eslint-config-appium-ts": "^3.0.0",
"@appium/tsconfig": "^1.0.0-rc.1",
"@appium/oxc-config": "^1.1.0",
"@appium/semantic-release-config": "^1.1.0",
"@appium/tsconfig": "^1.2.0",
"@appium/types": "^1.5.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/async-lock": "1.4.2",
"@types/chai": "5.2.3",
"@types/chai-as-promised": "8.0.2",
Expand All @@ -108,14 +107,10 @@
"@types/sinon": "22.0.0",
"chai": "^6.0.0",
"chai-as-promised": "^8.0.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"esmock": "^2.7.6",
"oxfmt": "^0.x",
"pem": "^1.14.8",
"semantic-release": "^25.0.2",
"sharp": "^0.x",
"sinon": "^22.0.0",
"typescript": "^6.0.2",
"webdriverio": "^9.4.1"
},
"peerDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions release.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import releaseConfig from '@appium/semantic-release-config';

export default releaseConfig();
2 changes: 1 addition & 1 deletion scripts/tunnel-creation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ async function main() {
}
} catch (error) {
throw new Error(`Tunnel registry port cannot be persisted: ${/** @type {Error} */ (error).message}`, {
cause: /** @type {Error} */ (error),
cause: error,
});
}

Expand Down
Loading