Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): experimental support for typedoc generation #17377

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -61,3 +61,4 @@ packages/*/LICENSE
local_appium_home
jsdoc-out
*.tgz
typedoc-docs
2 changes: 1 addition & 1 deletion babel.config.json
Expand Up @@ -12,7 +12,7 @@
],
"plugins": ["source-map-support", "@babel/plugin-transform-runtime"],
"comments": false,
"sourceMaps": "both",
"sourceMaps": true,
"env": {
"coverage": {
"plugins": [
Expand Down
174 changes: 171 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -57,6 +57,7 @@
"test:ci:e2e": "lerna run test:e2e",
"test:e2e": "lerna run --parallel --max-buffer=128 test:e2e",
"test:unit": "lerna run test",
"typedoc": "typedoc",
"uninstall-fake-driver": "npm start -- driver uninstall fake",
"upload": "gulp github-upload",
"preversion": "run-s clean:artifacts build sync-pkgs && git add -A packages/appium/README.md packages/*/package.json",
Expand Down Expand Up @@ -151,6 +152,8 @@
"sinon-chai": "3.7.0",
"sync-monorepo-packages": "0.3.5",
"through2": "4.0.2",
"typedoc": "0.23.10",
"typedoc-plugin-resolve-crossmodule-references": "0.3.0",
"typescript": "4.7.4",
"validate.js": "0.13.1",
"webdriverio": "7.21.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/appium/package.json
Expand Up @@ -42,7 +42,7 @@
"types"
],
"scripts": {
"build": "babel lib --root-mode=upward --out-dir=build/lib",
"build": "babel lib --source-maps --root-mode=upward --out-dir=build/lib",
"build:docs": "node docs/scripts/build-docs.js",
"build:docs:assets": "node docs/scripts/copy-assets.js",
"dev": "npm run build -- --watch",
Expand Down Expand Up @@ -108,5 +108,8 @@
"access": "public",
"tag": "next"
},
"typedoc": {
"entryPoint": "./build/lib/main.js"
},
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72"
}
9 changes: 6 additions & 3 deletions packages/base-driver/package.json
Expand Up @@ -23,6 +23,7 @@
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"types": "./build/lib/index.d.ts",
"directories": {
"lib": "lib"
},
Expand All @@ -34,7 +35,7 @@
"build"
],
"scripts": {
"build": "babel lib --root-mode=upward --out-dir=build/lib",
"build": "babel lib --source-maps --root-mode=upward --out-dir=build/lib",
"dev": "npm run build -- --watch",
"fix": "npm run lint -- --fix",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .",
Expand Down Expand Up @@ -77,6 +78,8 @@
"publishConfig": {
"access": "public"
},
"types": "./build/lib/index.d.ts",
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72"
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
"typedoc": {
"entryPoint": "./build/lib/index.js"
}
}
9 changes: 6 additions & 3 deletions packages/base-plugin/package.json
Expand Up @@ -2,6 +2,7 @@
"name": "@appium/base-plugin",
"version": "1.10.2",
"description": "The base plugin used to create Appium 2.0 plugins",
"homepage": "https://appium.io",
"bugs": {
"url": "https://github.com/appium/appium/issues"
},
Expand All @@ -12,6 +13,7 @@
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"types": "./build/lib/plugin.d.ts",
"directories": {
"lib": "./lib"
},
Expand All @@ -21,7 +23,7 @@
"index.js"
],
"scripts": {
"build": "babel lib --root-mode=upward --out-dir=build/lib",
"build": "babel lib --source-maps --root-mode=upward --out-dir=build/lib",
"dev": "npm run build -- --watch",
"fix": "npm run lint -- --fix",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .",
Expand All @@ -37,10 +39,11 @@
"node": ">=14",
"npm": ">=8"
},
"types": "./build/lib/plugin.d.ts",
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
"tags": [
"appium"
],
"homepage": "https://appium.io"
"typedoc": {
"entryPoint": "./build/lib/plugin.js"
}
}
4 changes: 2 additions & 2 deletions packages/doctor/package.json
Expand Up @@ -37,8 +37,8 @@
"build"
],
"scripts": {
"build:lib": "babel lib --root-mode=upward --out-dir=build/lib",
"build:bin": "babel bin --root-mode=upward --out-dir=build/bin",
"build:lib": "babel lib --source-maps --root-mode=upward --out-dir=build/lib",
"build:bin": "babel bin --source-maps --root-mode=upward --out-dir=build/bin",
"build": "run-s build:*",
"dev": "run-p \"build:lib -- --watch\" \"build:bin -- --watch\"",
"fix": "npm run lint -- --fix",
Expand Down