Commit Graph

11696 Commits

Author SHA1 Message Date
renovate[bot] 935c70683f chore(docutils): update dependency mkdocs-material to v9.0.15 2023-02-27 15:06:51 +00:00
renovate[bot] f8099dafa7 chore(deps): update dependency @types/node to v18.14.2 2023-02-27 10:31:03 +00:00
Kazuaki Matsuo 25c9728f07 docs: update readme (#18251)
* docs: update readme

* Update README.md
2023-02-26 17:24:49 -08:00
renovate[bot] ba6b312244 chore(deps): update dependency eslint to v8.35.0 2023-02-26 13:02:12 +00:00
renovate[bot] 188ed161e4 fix(support): update dependency jimp to v0.22.7 2023-02-25 09:50:30 +00:00
renovate[bot] 96898c87d5 fix(support): update dependency @types/glob to v8.1.0 2023-02-25 02:14:49 +00:00
Christopher Hiller 7b49356322 chore: publish
- appium@2.0.0-beta.56
 - @appium/base-driver@9.3.2
 - @appium/base-plugin@2.2.2
 - @appium/doctor@2.0.8
 - @appium/docutils@0.2.2
 - @appium/driver-test-support@0.4.0
 - @appium/execute-driver-plugin@3.0.7
 - @appium/fake-driver@5.2.0
 - @appium/fake-plugin@3.1.6
 - @appium/images-plugin@2.0.7
 - @appium/opencv@2.0.7
 - @appium/plugin-test-support@0.3.8
 - @appium/schema@0.2.5
 - @appium/support@3.1.6
 - @appium/test-support@3.0.8
 - @appium/typedoc-plugin-appium@0.5.0
 - @appium/types@0.10.0
 - @appium/universal-xml-plugin@1.0.6
@appium/base-driver@9.3.2 @appium/base-plugin@2.2.2 @appium/doctor@2.0.8 @appium/docutils@0.2.2 @appium/driver-test-support@0.4.0 @appium/execute-driver-plugin@3.0.7 @appium/fake-driver@5.2.0 @appium/fake-plugin@3.1.6 @appium/images-plugin@2.0.7 @appium/opencv@2.0.7 @appium/plugin-test-support@0.3.8 @appium/schema@0.2.5 @appium/support@3.1.6 @appium/test-support@3.0.8 @appium/typedoc-plugin-appium@0.5.0 @appium/types@0.10.0 @appium/universal-xml-plugin@1.0.6 appium@2.0.0-beta.56
2023-02-24 13:43:18 -08:00
renovate[bot] bfc3134968 chore(docutils): update dependency mkdocs-material to v9.0.14 2023-02-24 15:37:44 +00:00
renovate[bot] dbaf8d4cae chore(deps): update dependency @types/node to v18.14.1 2023-02-24 10:13:05 +00:00
renovate[bot] eb73be8303 fix(images-plugin): update dependency lru-cache to v7.17.0 2023-02-23 22:18:02 +00:00
renovate[bot] 998514fcce fix(support): update dependency jimp to v0.22.5 2023-02-23 19:21:23 +00:00
renovate[bot] 49f157d63e fix(support): update dependency axios to v1.3.4 2023-02-23 16:23:10 +00:00
renovate[bot] 43b115bb3d chore(deps): update dependency json-schema-to-typescript to v11.0.5 2023-02-23 09:44:48 +00:00
Christopher Hiller 56cf504a2b chore(appium): avoid public class field assignment
This changes `AppiumDriver` to avoid assignment to class properties, and changes the properties on `Schema` to be actually-private instead of pseudoprivate.
2023-02-22 13:40:55 -08:00
Christopher Hiller 2ebb16b077 chore(base-driver): avoid public class field assignment
this should avert potential future bugs when drivers attempt to override these properties
2023-02-22 13:40:55 -08:00
Christopher Hiller c321441451 chore(fake-plugin): avoid public class field assignment 2023-02-22 13:40:55 -08:00
Christopher Hiller 6be7488eef chore(universal-xml-plugin): remove dead code; typecheck all js sources 2023-02-22 13:40:55 -08:00
Christopher Hiller ab5b285714 feat(types): add orientation type; add optional ELEMENT prop of Element 2023-02-22 13:40:55 -08:00
Kazuaki Matsuo 8dc47ae922 docs: add more account in Project Committers (#18236)
* docs: add more
2023-02-22 13:24:20 -08:00
renovate[bot] 91831cf82d fix(support): update dependency @types/uuid to v9.0.1 2023-02-22 21:02:56 +00:00
renovate[bot] 4b10322b80 fix(images-plugin): update dependency lru-cache to v7.16.2 2023-02-22 17:43:23 +00:00
renovate[bot] 2602016eb3 fix(docutils): update dependency yargs to v17.7.1 2023-02-22 14:08:20 +00:00
renovate[bot] 1cb01a5e85 fix(base-driver): update dependency body-parser to v1.20.2 2023-02-22 11:20:27 +00:00
Kazuaki Matsuo e78448dc65 docs: update governance (#18222) 2023-02-21 12:04:52 -08:00
Christopher Hiller 34e0b70982 chore(typedoc-plugin-appium): add a fallback logger
due to the architecture of TypeDoc, it is not straightforward for a random module in a plugin to have access to the logger of the current `Application`.  This change abuses TypeDoc to enable logging for random modules.
2023-02-20 10:05:30 -08:00
Christopher Hiller ebe9477a3c feat(typedoc-plugin-appium): extract descriptions of return values from builtins
If a command is not documented with a `@returns` tag, but a builtin method _does_ have this tag (e.g., `ExternalDriver.createSession()`), then the plugin will use the tag from the builtin.

If a command _does_ have a `@returns` tag, but it provides no description, then the plugin will use the original `@returns` tag (which may have a type) and combine it with the content/description from the builtin (if any).

This requires further inspection of `SignatureReflection` data, which needed a new set of "comment finders", which prompted me to refactor the comment finders into their own files (because it was becoming unwieldy).  The call to `deriveComment` happens in the static `BaseCommandData.rewriteSignature()` method (whereas before it was just a straightforward clone operation).

- Fixed the block tag aggregation to prefer contentful over contentless tags in all cases.
- Modified the `@returns` tag of `FakeDriver.createSession()` for testing
- Moved some types around that were used outside of their sibling modules (e.g. `CommentSource` which used to be called `CommentSourceType`)
- pruned dead imports
2023-02-20 10:05:30 -08:00
Christopher Hiller 3b82c9f1a1 chore(docutils): smol type upgrade
`type-fest`@3.6.0 has a `TsConfigJson` type which no longer contains `unknown` (courtesy of yours truly), so we can use it directly instead of wrapping it in `Jsonify`.
2023-02-20 10:05:13 -08:00
renovate[bot] a9476a67ff chore(deps): update dependency json-schema-to-typescript to v11.0.4 2023-02-20 12:30:24 +00:00
renovate[bot] 24ad9f8741 chore(deps): update dependency @types/node to v18.14.0 2023-02-19 14:01:21 +00:00
renovate[bot] 639d475627 chore(docutils): update dependency mkdocs-material to v9.0.13 2023-02-19 10:43:21 +00:00
renovate[bot] 2fa6bf1e11 fix(images-plugin): update dependency lru-cache to v7.16.1 2023-02-18 15:41:23 +00:00
renovate[bot] d3dc9ce733 chore(deps): update commitlint monorepo to v17.4.4 2023-02-18 14:40:18 +00:00
renovate[bot] 08a6f3a308 fix(types): update dependency type-fest to v3.6.0 2023-02-17 13:47:51 -08:00
Christopher Hiller 24fb515a52 fix(types): base cap webSocketUrl is now a boolean instead of a string.
note that it is a string in the server response, but it is expected to be a boolean in the request.  punting on that for now
2023-02-17 11:03:11 -08:00
Christopher Hiller 893bd888cf feat(driver-test-support): add startStoppableAppium()
This adds a function `startStoppableAppium()` which starts an Appium server (via its `main()` entry point), but resolves with an object having a `stop() => Promise<boolean>` method. This method force-quits the server, even if there are active connections.
2023-02-17 11:02:44 -08:00
renovate[bot] d54901a9c3 fix(images-plugin): update dependency lru-cache to v7.16.0 2023-02-17 18:03:38 +00:00
renovate[bot] 70d65b7d62 fix(docutils): update dependency yargs to v17.7.0 2023-02-17 14:57:25 +00:00
renovate[bot] 33442bd61b chore(deps): update dependency rewiremock to v3.14.5 2023-02-17 11:22:10 +00:00
renovate[bot] 4cf8dbc0d3 fix(images-plugin): update dependency lru-cache to v7.15.0 2023-02-16 12:03:52 +00:00
Christopher Hiller 943dce5eec fix(schema): move output files due to tsc's confusion
It seemed to think I wanted to overwrite the root `index.js` file, and I don't know why. It doesn't do that anymore.
2023-02-15 16:19:30 -08:00
Christopher Hiller 04633e3e6d chore: clean:distfiles script now blasts everything 2023-02-15 16:19:30 -08:00
Christopher Hiller d171219938 chore: cleanup root tsconfig.json 2023-02-15 16:19:30 -08:00
Christopher Hiller 61a0275e29 fix(base-driver): fix type problem w/r/t axios headers 2023-02-15 16:19:30 -08:00
Christopher Hiller 8f9de63e4a fix: update axios to v1.3.3
because renovate cannot seem to do it
2023-02-15 16:19:30 -08:00
Christopher Hiller 90c0d36f2a chore(ci): add cache cleanup workflow on PR close
I noticed we were filling up our allotted cache space.  Reading about it, I found this example to cleanup caches we no longer need (specifically, from closed PRs)
2023-02-15 10:50:36 -08:00
Christopher Hiller 988c088873 chore: force http-cache-semantics to v4.1.1
for https://github.com/advisories/GHSA-rc47-6667-2j5j

this override should be removed when upgrading webdriver to v8+.  unfortunately "npm audit" is so stupid that it does not understand overrides, so we will see warnings anyway.
2023-02-14 15:43:28 -08:00
Christopher Hiller 7c2c642ce7 chore(typedoc-plugin-appium): blast entire build dir on clean due to stale artifacts 2023-02-14 14:31:38 -08:00
Christopher Hiller 6b8eb2cbfe fix(docutils): fix typescript version 2023-02-14 14:31:38 -08:00
Christopher Hiller 242c2ccbdc fix(typedoc-plugin-appium): fix broken references during clone operations
= moves example extraction to conversion phase (from rendering phase)
- add `cloneTypeParameterReflection()` util
- add support for passing explicit comments to `deriveComment` when `refl` is a `ParameterReflection`
- some tests
2023-02-14 14:31:38 -08:00
Christopher Hiller c5dadbbd36 chore(docutils): fix old mike test for wallaby 2023-02-14 14:31:38 -08:00