Commit Graph

9506 Commits

Author SHA1 Message Date
Jonathan Lipps
35f4e2b7e4 chore: publish
- appium@2.0.0-beta.50
 - @appium/base-driver@9.2.1
 - @appium/base-plugin@2.1.1
 - @appium/doctor@2.0.3
 - @appium/docutils@0.1.3
 - @appium/driver-test-support@0.3.3
 - @appium/execute-driver-plugin@3.0.3
 - @appium/fake-driver@5.1.1
 - @appium/fake-plugin@3.1.1
 - @appium/images-plugin@2.0.3
 - @appium/opencv@2.0.3
 - @appium/plugin-test-support@0.3.3
 - @appium/relaxed-caps-plugin@1.0.2
 - @appium/schema@0.2.1
 - @appium/support@3.1.1
 - @appium/test-support@3.0.3
 - @appium/tsconfig@0.2.1
 - @appium/typedoc-plugin-appium@0.3.1
 - @appium/types@0.8.1
 - @appium/universal-xml-plugin@1.0.2
@appium/base-driver@9.2.1 @appium/base-plugin@2.1.1 @appium/doctor@2.0.3 @appium/docutils@0.1.3 @appium/driver-test-support@0.3.3 @appium/execute-driver-plugin@3.0.3 @appium/fake-driver@5.1.1 @appium/fake-plugin@3.1.1 @appium/images-plugin@2.0.3 @appium/opencv@2.0.3 @appium/plugin-test-support@0.3.3 @appium/relaxed-caps-plugin@1.0.2 @appium/schema@0.2.1 @appium/support@3.1.1 @appium/test-support@3.0.3 @appium/tsconfig@0.2.1 @appium/typedoc-plugin-appium@0.3.1 @appium/types@0.8.1 @appium/universal-xml-plugin@1.0.2 appium@2.0.0-beta.50
2023-01-13 13:19:27 -08:00
Jonathan Lipps
568e6d3b19 chore: ensure all packages mention public access in their publish config 2023-01-13 13:18:47 -08:00
Jonathan Lipps
b48a697d5b chore: commit lerna publish changes 2023-01-13 13:12:00 -08:00
Jonathan Lipps
422142302f chore: publish
- appium@2.0.0-beta.49
 - @appium/base-driver@9.2.0
 - @appium/base-plugin@2.1.0
 - @appium/doctor@2.0.2
 - @appium/docutils@0.1.2
 - @appium/driver-test-support@0.3.2
 - @appium/execute-driver-plugin@3.0.2
 - @appium/fake-driver@5.1.0
 - @appium/fake-plugin@3.1.0
 - @appium/images-plugin@2.0.2
 - @appium/opencv@2.0.2
 - @appium/plugin-test-support@0.3.2
 - @appium/relaxed-caps-plugin@1.0.1
 - @appium/schema@0.2.0
 - @appium/support@3.1.0
 - @appium/test-support@3.0.2
 - @appium/tsconfig@0.2.0
 - @appium/typedoc-plugin-appium@0.3.0
 - @appium/types@0.8.0
 - @appium/universal-xml-plugin@1.0.1
@appium/base-driver@9.2.0 @appium/base-plugin@2.1.0 @appium/doctor@2.0.2 @appium/docutils@0.1.2 @appium/driver-test-support@0.3.2 @appium/execute-driver-plugin@3.0.2 @appium/fake-driver@5.1.0 @appium/fake-plugin@3.1.0 @appium/images-plugin@2.0.2 @appium/opencv@2.0.2 @appium/plugin-test-support@0.3.2 @appium/relaxed-caps-plugin@1.0.1 @appium/schema@0.2.0 @appium/support@3.1.0 @appium/test-support@3.0.2 @appium/tsconfig@0.2.0 @appium/typedoc-plugin-appium@0.3.0 @appium/types@0.8.0 @appium/universal-xml-plugin@1.0.1 appium@2.0.0-beta.49
2023-01-13 13:09:28 -08:00
Jonathan Lipps
c65054c232 chore(relaxed-caps-plugin): take out of beta 2023-01-13 13:08:17 -08:00
Jonathan Lipps
888d892a17 chore(universal-xml-plugin): take xml plugin out of beta 2023-01-13 13:07:48 -08:00
Christopher Hiller
4f65cb3865 chore(typedoc-plugin-appium): fussing
- made test helpers more sane
- add a test or two
- export a `setup` fn from main entry point to configure options and theme
2023-01-13 11:49:57 -08:00
Christopher Hiller
e98928a39d chore(typedoc-plugin-appium): make empty test a pending 2023-01-13 11:49:57 -08:00
Christopher Hiller
03c505d321 chore(typedoc-plugin-appium): wrap all tests in same suite title
Everything else here is whitespace.

Using this pattern helps with some 3p tools to navigate tests in the monorepo, as they can easily be grouped by the top-level suite title
2023-01-13 11:49:57 -08:00
Christopher Hiller
2a12b88b2f feat(typedoc-plugin-appium): display response type
This now displays the type of the response in the command output.  Since all return types from commands are `Promise<T>`, it unwraps `T` and displays only that (since `Promise` is very specific to JS).
2023-01-13 11:49:57 -08:00
Christopher Hiller
734127144d chore(typedoc-plugin-appium): tweak guard; avoid bad link 2023-01-13 11:49:57 -08:00
Christopher Hiller
8c421220c5 chore(typedoc-plugin-appium): remove unused import 2023-01-13 11:49:57 -08:00
Christopher Hiller
0cad4b785c chore(typedoc-plugin-appium): rename some vars 2023-01-13 11:49:57 -08:00
Christopher Hiller
00e7e3f1ef chore(wallaby): add templates to wallaby, enabling theme tests 2023-01-13 11:49:57 -08:00
Christopher Hiller
75183ba38b chore(typedoc-plugin-appium): refactored some stuff that didn't make sense
- better test organization
- plugin now exports a couple `Promise`-returning functions for programmatic consumption. TypeDoc doesn't use these, but they're helpful to test with
- simplified `omitDefaultReflections()`; moved into `converter/builder` module since it's a post-conversion thing
2023-01-13 11:49:57 -08:00
Jonathan Lipps
ad1dce5545 fix(base-driver): move setClipboard deprecation to correct place 2023-01-13 09:45:11 -08:00
renovate[bot]
8c86e355d2 chore(deps): update commitlint monorepo to v17.4.2 2023-01-13 08:36:31 +00:00
renovate[bot]
4156b7bf6b chore(deps): update dependency eslint-plugin-import to v2.27.4 2023-01-12 23:04:17 +00:00
Jonathan Lipps
7055a0b281 feat(base-driver): deprecate non-standard routes
and add deprecation warnings in the log when these routes are accessed
2023-01-12 10:11:08 -08:00
renovate[bot]
bc3f1373fd chore(docutils): update dependency mkdocs-material to v9.0.4 2023-01-12 14:14:50 +00:00
renovate[bot]
2bbac72667 chore(deps): update dependency midnight-smoker to v2.0.1 2023-01-12 02:50:11 +00:00
Jonathan Lipps
f04e1171d0 docs(appium): note the breaking change in default base path (#18042) 2023-01-11 14:04:42 -08:00
Christopher Hiller
696c94f1ab fix(images-plugin,universal-xml-plugin,typedoc-plugin-appium): add missing lodash dependency 2023-01-11 11:40:13 -08:00
Ikko Eltociear Ashimine
6f846f76c9 chore(appium): fix typo in driver.e2e.spec.js (#18041)
recieve -> receive
2023-01-11 11:05:21 -08:00
Jonathan Lipps
d8588e107c docs: add ExternalDriver docstrings (#17985) 2023-01-10 14:36:48 -08:00
Christopher Hiller
c5bbb950ed fix: run "npm audit fix" because there was a warning 2023-01-10 14:00:11 -08:00
renovate[bot]
fb4f0408dc chore(docutils): update dependency mkdocs-material to v9 (#18002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 10:06:44 -08:00
Christopher Hiller
697b4427e4 fix(execute-driver-plugin): fix bad types in execute-child module 2023-01-10 09:53:18 -08:00
Christopher Hiller
6fb05b2fff docs: enable auto command generation for plugins
Also enables type checks in `execute-driver-plugins` and exports types where we weren't before
2023-01-10 09:53:18 -08:00
Christopher Hiller
7add23e418 fix(execute-driver-plugin): use correct return type annotation 2023-01-10 09:53:18 -08:00
Christopher Hiller
b036dde5dd feat(typedoc-plugin-appium): add plugin support
Most of this "just works", but the additional parameters to a plugin command need special handling.  To do that, we have to understand what is a plugin and what is not.

Note that this is incompatible with the "mixin" pattern as found in `BaseDriver` and `FakeDriver`. In other words, a _Plugin_ should not use mixin classes.  I would not recommend mixin classes going forward due to its complexity and opacity.
2023-01-10 09:53:18 -08:00
Christopher Hiller
1f99c97264 chore(types): update definition of PluginCommand type
maybe some day we will even use this!
2023-01-10 09:53:18 -08:00
Christopher Hiller
df31cddbe7 chore(typedoc-plugin-appium): tweaks
- `BuiltinMethodMapConverter`'s `convert()` will _always_ return a `BuiltinCommands` / removed unused import
- Verbose logging for skipped methods
- Remove useless type aliases from option declarations and add some no-op typechecks (these will be compiled away)
- Add some docstrings to guards and types
- `CallSignatureReflectionWithParams` is now `CallSignatureReflectionWithArity`, and it is specific about having a nonzero arity. Broke out `CallSignatureReflection` from this, since the guard and type didn't fully match up
2023-01-10 09:32:46 -08:00
Christopher Hiller
9d5a737daa fix(typedoc-plugin-appium): allow commands as properties referencing async methods
Instead of only inspecting `ReflectionKind.Method`, we now examine `ReflectionKind.Property`, which can be of type `ReflectionType` pointing to an async function.  Example:

```js
async function baz() {}

class Foo {
  async bar() {} // ReflectionKind.Method
  baz = baz; // ReflectionKind.Property referencing a function
}
```

Also ensures `static` methods aren't picked up; this could happen if a static method shares the same name with a known command method as defined in the builtin routes.
2023-01-10 09:32:46 -08:00
Christopher Hiller
0ca54b7994 feat(typedoc-plugin-appium): add options and 3p support
E2E tests are quasi-blocking on merge & release of https://github.com/TypeStrong/typedoc/issues/2130; it is a huge pain to test without this.

- Adds some options to control output
- Rename `CommandsReflection` to `ExtensionReflection` due to poor granular control over the display name
- Rename the custom "kinds"; add kinds for drivers and plugins (which affects display titles)
- Remove namespace from "kinds" for same reason
- Refactors, reformatting
- Rename entry point from `plugin.ts` to `index.ts`
- Update keywords in `package.json` for auto-discovery
- Remove cruft from root `typedoc.json`
- Update `README.md`
- Update peer dependencies; the other plugins must be peer deps or typedoc will be unable to auto-discover them
2023-01-10 09:32:46 -08:00
Christopher Hiller
7942118429 chore(tsconfig): strip internal stuff from declarations
typedoc respects this flag as well
2023-01-10 09:32:46 -08:00
Christopher Hiller
0aac077e30 fix(typedoc-plugin-appium): add peer dep of appium 2023-01-10 09:32:46 -08:00
Christopher Hiller
5ef4ae9206 fix(typedoc-plugin-appium): bad directory in repository url 2023-01-10 09:32:46 -08:00
renovate[bot]
a22c97dbf9 chore(deps): update dependency @commitlint/cli to v17.4.1 2023-01-10 12:47:22 +00:00
renovate[bot]
57b0ee5dbb chore(deps): update dependency ws to v8.12.0 2023-01-08 13:48:18 +00:00
renovate[bot]
31a3cee0bc chore(deps): update dependency typedoc to v0.23.24 2023-01-08 11:54:20 +00:00
renovate[bot]
b28a1134f0 chore(deps): update dependency prettier to v2.8.2 2023-01-08 10:00:47 +00:00
pacozaa
8f7171c42a refactor: add type for driver-command,plugin-command,doctor,docutils,execute-child (#17962) 2023-01-07 17:11:04 +01:00
renovate[bot]
da230ca243 chore(deps): update dependency lerna to v6.4.0 2023-01-07 00:14:20 +00:00
Christopher Hiller
edde4882f0 fix(base-driver): add missing dependency @appium/types
Closes #18006
2023-01-06 12:56:26 -08:00
renovate[bot]
d8323b3d3c chore(workflows): update actions/setup-node digest to 64ed1c7 2023-01-06 18:40:00 +00:00
Mykola Mokhnach
ed07ae3046 docs(appium): Document basics of application bundles caching (#18015) 2023-01-06 15:33:20 +01:00
renovate[bot]
5d1090555f chore(workflows): update actions/checkout digest to ac59398 2023-01-06 12:29:27 +00:00
renovate[bot]
4b5ab4da7b fix(types): update dependency type-fest to v3.5.1 2023-01-05 12:11:09 +00:00
Christopher Hiller
f036f0a612 chore: all pkgs consume @appium/tsconfig 2023-01-04 12:09:08 -08:00