Skip to content

Commit

Permalink
docs: enable auto command generation for plugins
Browse files Browse the repository at this point in the history
Also enables type checks in `execute-driver-plugins` and exports types where we weren't before
  • Loading branch information
boneskull committed Jan 10, 2023
1 parent c269f02 commit 3dce433
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 24 deletions.
10 changes: 7 additions & 3 deletions packages/execute-driver-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"types": "./build/lib/plugin.d.ts",
"files": [
"build",
"lib",
Expand All @@ -46,6 +47,10 @@
"peerDependencies": {
"appium": "^2.0.0-beta.35"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -54,8 +59,7 @@
"mainClass": "ExecuteDriverPlugin"
},
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
"typedoc": {
"entryPoint": "./lib/plugin.js"
}
}
3 changes: 2 additions & 1 deletion packages/execute-driver-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"outDir": "build"
"outDir": "build",
"checkJs": true
},
"extends": "@appium/tsconfig/tsconfig.plugin.json",
"include": ["lib"]
Expand Down
13 changes: 8 additions & 5 deletions packages/images-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"firefoxos",
"testing"
],
"homepage": "https://appium.io",
"bugs": {
"url": "https://github.com/appium/appium/issues"
},
Expand All @@ -22,6 +23,7 @@
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"types": "./build/lib/plugin.d.ts",
"files": [
"build",
"docs",
Expand All @@ -43,15 +45,16 @@
"peerDependencies": {
"appium": "^2.0.0-beta.35"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
},
"appium": {
"pluginName": "images",
"mainClass": "ImageElementPlugin"
},
"types": "./build/lib/plugin.d.ts",
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
"homepage": "https://appium.io",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
"typedoc": {
"entryPoint": "./lib/plugin.js"
}
}
26 changes: 15 additions & 11 deletions packages/relaxed-caps-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
"name": "@appium/relaxed-caps-plugin",
"version": "1.0.0-beta.14",
"description": "An Appium 2.0 plugin that loosens requirements for vendor prefixes on caps",
"keywords": [
"automation",
"javascript",
"selenium",
"webdriver",
"ios",
"android",
"firefoxos",
"testing"
],
"homepage": "https://appium.io",
"bugs": {
"url": "https://github.com/appium/appium/issues"
},
Expand All @@ -12,6 +23,7 @@
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"types": "./build/lib/plugin.d.ts",
"directories": {
"lib": "./lib"
},
Expand Down Expand Up @@ -45,15 +57,7 @@
"tags": [
"appium"
],
"homepage": "https://appium.io",
"keywords": [
"automation",
"javascript",
"selenium",
"webdriver",
"ios",
"android",
"firefoxos",
"testing"
]
"typedoc": {
"entryPoint": "./lib/plugin.js"
}
}
9 changes: 6 additions & 3 deletions packages/universal-xml-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@
"peerDependencies": {
"appium": "^2.0.0-beta.35"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
},
"appium": {
"pluginName": "universal-xml",
"mainClass": "UniversalXMLPlugin"
},
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
"typedoc": {
"entryPoint": "./lib/index.js"
}
}
6 changes: 5 additions & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"./packages/types",
"./packages/base-plugin",
"./packages/fake-driver",
"./packages/typedoc-plugin-appium"
"./packages/typedoc-plugin-appium",
"./packages/universal-xml-plugin",
"./packages/relaxed-caps-plugin",
"./packages/images-plugin",
"./packages/execute-driver-plugin"
],
"name": "Appium",
"out": "typedoc-docs",
Expand Down

0 comments on commit 3dce433

Please sign in to comment.