diff --git a/plugins/index.mjs b/plugins/index.mjs index 061bfe79d..9384bb249 100644 --- a/plugins/index.mjs +++ b/plugins/index.mjs @@ -1,7 +1,7 @@ import path from 'node:path'; import {fileURLToPath} from 'node:url'; -import {BasePlugin} from 'appium/plugin.js'; +import {BasePlugin} from '@appium/base-plugin'; const PLUGIN_ROOT_PATH = '/inspector'; const INDEX_HTML = 'index.html'; const ROOT_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), 'dist-browser'); diff --git a/plugins/package.json b/plugins/package.json index 23cc5eff2..259603f0e 100644 --- a/plugins/package.json +++ b/plugins/package.json @@ -1,6 +1,6 @@ { "name": "appium-inspector-plugin", - "version": "2024.12.1", + "version": "2024.12.1-beta.10", "description": "An app inspector for use with an Appium server", "repository": { "type": "git", @@ -23,7 +23,8 @@ "exports": { ".": { "import": "./index.mjs" - } + }, + "./package.json": "./package.json" }, "peerDependencies": { "appium": "^2.0.0" @@ -34,7 +35,9 @@ "dist-browser", "README.md" ], - "dependencies": {}, + "dependencies": { + "@appium/base-plugin": "^2.3.0" + }, "devDependencies": {}, "engines": { "node": ">=20.x",