feat(relaxed-caps-plugin): use peer deps
BREAKING CHANGE:
`@appium/relaxed-caps-plugin` now expects to be installed alongside `appium`.
MODIFY
packages/relaxed-caps-plugin/lib/plugin.js
packages/relaxed-caps-plugin/lib/plugin.js
/* eslint-disable no-case-declarations */
import _ from 'lodash';
-import BasePlugin from '@appium/base-plugin';
+import BasePlugin from 'appium/plugin';
const STANDARD_CAPS = [
'browserName',

MODIFY
packages/relaxed-caps-plugin/package.json
packages/relaxed-caps-plugin/package.json
"test:unit": "mocha \"./test/unit/**/*.spec.js\""
},
"dependencies": {
- "@appium/base-plugin": "file:../base-plugin",
"lodash": "4.17.21"
},
+ "peerDependencies": {
+ "appium": "^2.0.0-beta.35"
+ },
"engines": {
"node": ">=12",
"npm": ">=6"

MODIFY
packages/relaxed-caps-plugin/tsconfig.json
packages/relaxed-caps-plugin/tsconfig.json
{
"compilerOptions": {
- "outDir": "./build",
- "paths": {
- "@appium/base-plugin": ["../base-plugin"]
- }
+ "outDir": "build"
},
- "extends": "../../config/tsconfig.base.json",
- "include": ["lib"],
- "references": [
- {
- "path": "../base-plugin"
- }
- ]
+ "extends": "../../config/tsconfig.plugin.json",
+ "include": ["lib"]
}

feat(relaxed-caps-plugin): use peer deps

BREAKING CHANGE:

`@appium/relaxed-caps-plugin` now expects to be installed alongside `appium`.