Commit Graph

8817 Commits

Author SHA1 Message Date
Christopher Hiller 5928026f9c Publish
- @appium/eslint-config-appium@6.0.0
 - @appium/gulp-plugins@7.0.0
@appium/eslint-config-appium@6.0.0 @appium/gulp-plugins@7.0.0
2022-05-03 15:02:23 -07:00
Christopher Hiller 878bb6a44f feat(eslint-config-appium,gulp-plugins): add prettier
BREAKING CHANGE:

`@appium/eslint-config-appium` now requires peer dependency `eslint-config-prettier`.  Because `@appium/gulp-plugins` always uses the latest development version of `@appium/eslint-config-appium`, the dependency needs to be added there, too.

In addition, this disables some rules, so _may_ cause code which previously passed lint checks _not_ to pass lint checks.
2022-05-03 14:57:14 -07:00
Jonathan Lipps 59dd30ba20 Publish
- appium@2.0.0-beta.35
 - @appium/doctor@1.16.19
 - @appium/eslint-config-appium@5.1.1
 - @appium/gulp-plugins@6.0.10
@appium/doctor@1.16.19 @appium/eslint-config-appium@5.1.1 @appium/gulp-plugins@6.0.10 appium@2.0.0-beta.35
2022-05-03 13:42:56 -07:00
Christopher Hiller 6480679bfb chore(appium): lint again 2022-05-03 13:34:10 -07:00
Christopher Hiller c2753107c6 test(appium): e2e helpers now log executed child process commands 2022-05-03 13:12:31 -07:00
Christopher Hiller a794ade7b0 chore(appium): lint 2022-05-03 13:09:17 -07:00
Christopher Hiller 5e24fbac5c chore(ci): add Node v18 to matrix; remove Node v17 2022-05-03 12:50:20 -07:00
Renovate Bot 8caf18f542 chore(gulp-plugins): update dependency mocha to v10 2022-05-03 12:21:06 -07:00
Christopher Hiller 93e05a8269 fix(eslint-config-appium): revert prettier-related change
This reverts commits b34b75a80e,  88a6655253 and d89203f96c which, as a whole, was breaking.

This will fix the publish of v5.1.0, which should have been a major release.

After v5.1.1 has been released, this PR should be reverted in prep for v6.
2022-05-03 12:19:13 -07:00
Christopher Hiller 5cc22325f2 chore(appium): refactor some variable/parameter names for clarity
renamed parameters named `ext` to `installSpec`, since these correspond to the values of `installSpec` in the manifest
2022-05-03 12:13:44 -07:00
Christopher Hiller a2b07f6150 test(appium): replace all occurrences of 'driver'/'plugin' literals w/ constants 2022-05-03 12:04:15 -07:00
Christopher Hiller 823014321a chore: do not use @babel/register w/ wallaby 2022-05-03 12:04:02 -07:00
Christopher Hiller d89203f96c fix(eslint-config-appium): remove custom indenting rules
these rules also conflict with prettier. prettier does something very similar, but not exactly.  w/o this, running `prettier` then `eslint` will cause an eslint error.
2022-05-03 11:42:30 -07:00
Jonathan Lipps 773d9d6c0d docs(appium): add drivers intro doc (resolves #16795) 2022-05-03 10:27:40 -07:00
Renovate Bot a686053f03 chore(doctor): update dependency appium-adb to v9.2.2 2022-05-03 11:19:47 +00:00
Christopher Hiller 5a3a0f7c14 chore(appium): remove unused appium-config.schema.json from vcs 2022-05-02 15:28:33 -07:00
Jonathan Lipps 5482c921bc Publish
- appium@2.0.0-beta.34
 - @appium/base-driver@8.5.3
 - @appium/base-plugin@1.8.5
 - @appium/doctor@1.16.18
 - @appium/docutils@0.0.4
 - @appium/eslint-config-appium@5.1.0
 - @appium/execute-driver-plugin@1.0.5
 - @appium/fake-driver@3.2.13
 - @appium/fake-plugin@1.3.4
 - @appium/gulp-plugins@6.0.9
 - @appium/images-plugin@1.1.10
 - @appium/relaxed-caps-plugin@1.0.0-beta.6
 - @appium/support@2.58.0
 - @appium/test-support@1.3.19
 - @appium/types@0.2.3
 - @appium/universal-xml-plugin@1.0.0-beta.8
@appium/base-driver@8.5.3 @appium/base-plugin@1.8.5 @appium/doctor@1.16.18 @appium/docutils@0.0.4 @appium/eslint-config-appium@5.1.0 @appium/execute-driver-plugin@1.0.5 @appium/fake-driver@3.2.13 @appium/fake-plugin@1.3.4 @appium/gulp-plugins@6.0.9 @appium/images-plugin@1.1.10 @appium/relaxed-caps-plugin@1.0.0-beta.6 @appium/support@2.58.0 @appium/test-support@1.3.19 @appium/types@0.2.3 @appium/universal-xml-plugin@1.0.0-beta.8 appium@2.0.0-beta.34
2022-05-02 14:47:10 -07:00
Christopher Hiller 88a6655253 fix(eslint-config-appium): disable space-before-function-paren
BREAKING CHANGE

This explicitly-set rule conflicts with prettier and needs to be disabled.
2022-05-02 14:23:52 -07:00
Renovate Bot 38b4fa2bad chore(): update dependency ws to v8.6.0 2022-05-02 15:21:36 +00:00
Renovate Bot 67dacd87cf chore(gulp-plugins): update dependency @types/node to v16.11.33 2022-05-02 12:44:16 +00:00
Renovate Bot f1b36cc7c5 chore(support): update dependency axios to v0.27.2 2022-04-30 18:00:05 +00:00
Renovate Bot ec1b95b96c chore(): update dependency chai-webdriverio-async to v2.7.0 2022-04-30 15:20:46 +00:00
Renovate Bot bbce027f34 chore(): update babel monorepo to v7.17.10 2022-04-30 13:07:26 +00:00
Renovate Bot 2e7c1bb46e chore(base-driver): update dependency express to v4.18.1 2022-04-30 11:05:43 +00:00
Renovate Bot 9df8c08b09 chore(gulp-plugins): update dependency @types/node to v16.11.32 2022-04-29 15:35:36 +00:00
Renovate Bot a67ba79dba chore(): update dependency typescript to v4.6.4 2022-04-29 12:39:18 +00:00
Renovate Bot de5a96fb08 chore(gulp-plugins): update dependency @types/node to v16.11.31 2022-04-28 16:45:19 +00:00
Renovate Bot 90918200e2 chore(doctor): update dependency inquirer to v8.2.4 2022-04-28 13:47:57 +00:00
Renovate Bot a725d052f8 chore(doctor): update dependency inquirer to v8.2.3 2022-04-27 16:29:37 +00:00
Renovate Bot e49ab6d343 chore(): update dependency lint-staged to v12.4.1 2022-04-27 13:49:29 +00:00
Renovate Bot fdee8701a6 chore(base-driver): update dependency express to v4.18.0 2022-04-26 14:27:32 +00:00
Renovate Bot 2e8e7a5d65 chore(gulp-plugins): update dependency @types/node to v16.11.29 2022-04-26 12:08:33 +00:00
Christopher Hiller 39aab21aef chore: "lerna link convert"; replace siblings with relative "file:" links
This is a "fix" but only for the dev environment.

Further:

- add install of `mjpeg-consumer` to CI, since it may have disappeared from the environment
- remove `overrides` from `@appium/support`'s `package.json` since it no longer seems needed
2022-04-25 14:37:28 -07:00
Renovate Bot b957123401 chore(gulp-plugins): update dependency @types/node to v16.11.28 2022-04-25 12:01:35 +00:00
Mykola Mokhnach a2b2ded1e4 feat(support): Add a helper to deep freeze objects (#16849) 2022-04-24 07:08:50 +02:00
Christopher Hiller b34b75a80e chore: add prettier
As a pre-commit hook, `.js` files will be run thru `eslint --fix` and rewritten using `prettier`.
Added `eslint-config-prettier` to disable rules incompatible with `prettier`.
2022-04-22 15:56:35 -07:00
Kazuaki Matsuo 4d91f76e4c docs(appium): add python.py (#16840)
* add python.py

* update the explanation

* remove duplicated import

* tweak, add en lang to make the find element stable

* update review

* make list
2022-04-22 09:42:39 -07:00
Jonathan Lipps 2e57fd4900 docs(appium): add placeholders for settings and mobile method guides 2022-04-22 09:41:02 -07:00
Jonathan Lipps 1201230b6a docs(appium): adjust nav with greater structure and remove dark mode since it doesn't look very good 2022-04-22 09:41:02 -07:00
Jonathan Lipps 70f9b38dd5 docs(appium): add main intro doc
resolves #16794
2022-04-22 09:41:02 -07:00
Renovate Bot c5787f7cf0 chore(gulp-plugins): update dependency @types/mocha to v9.1.1 2022-04-22 10:19:17 +00:00
Christopher Hiller 5bdc476c62 feat(eslint-config-appium): adds a warning if code attempts to assign to an object prototype
See #16829

When using ES6 `class` syntax, direct assignment to `prototype` can be a source of bugs.  Class properties seem to exacerbate the issue.  While in many cases this code will work fine, there is not always a straightforward workaround, which is why the rule just emits a warning.

The new syntax rule considers assignment to the `prototype` of any object, as well as using `Object.assign()` to do the same.
2022-04-21 16:11:04 -07:00
Christopher Hiller 9bfe482b97 test(docutils): run mike test against sources
referencing the project root pulls the root `index.js`, which requires `build/lib`, which is not what we want.
2022-04-21 16:10:39 -07:00
Renovate Bot 00f38df09a chore(): update dependency lint-staged to v12.4.0 2022-04-21 16:50:38 +00:00
Renovate Bot 19c4cd246b chore(support): update dependency npmlog to v6.0.2 2022-04-21 13:21:08 +00:00
Renovate Bot 0d7f851410 chore(docutils): update dependency jsdoc-plugin-typescript to v2.0.7 2022-04-21 06:26:03 +00:00
Jonathan Lipps f15f11bc14 Publish
- appium@2.0.0-beta.33
 - @appium/base-driver@8.5.2
 - @appium/base-plugin@1.8.4
 - @appium/doctor@1.16.17
 - @appium/docutils@0.0.3
 - @appium/eslint-config-appium@5.0.6
 - @appium/execute-driver-plugin@1.0.4
 - @appium/fake-driver@3.2.12
 - @appium/fake-plugin@1.3.3
 - @appium/gulp-plugins@6.0.8
 - @appium/images-plugin@1.1.9
 - @appium/opencv@1.0.7
 - @appium/relaxed-caps-plugin@1.0.0-beta.5
 - @appium/schema@0.0.5
 - @appium/support@2.57.4
 - @appium/test-support@1.3.18
 - @appium/types@0.2.2
 - @appium/universal-xml-plugin@1.0.0-beta.7
@appium/base-driver@8.5.2 @appium/base-plugin@1.8.4 @appium/doctor@1.16.17 @appium/docutils@0.0.3 @appium/eslint-config-appium@5.0.6 @appium/execute-driver-plugin@1.0.4 @appium/fake-driver@3.2.12 @appium/fake-plugin@1.3.3 @appium/gulp-plugins@6.0.8 @appium/images-plugin@1.1.9 @appium/opencv@1.0.7 @appium/relaxed-caps-plugin@1.0.0-beta.5 @appium/schema@0.0.5 @appium/support@2.57.4 @appium/test-support@1.3.18 @appium/types@0.2.2 @appium/universal-xml-plugin@1.0.0-beta.7 appium@2.0.0-beta.33
2022-04-20 13:29:59 -07:00
Jonathan Lipps b9d4657028 chore(fake-plugin): bump version to something we can publish 2022-04-20 13:29:32 -07:00
Jonathan Lipps 722ae145fb Publish
- appium@2.0.0-beta.32
 - @appium/base-driver@8.5.1
 - @appium/base-plugin@1.8.3
 - @appium/doctor@1.16.16
 - @appium/docutils@0.0.2
 - @appium/eslint-config-appium@5.0.5
 - @appium/execute-driver-plugin@1.0.3
 - @appium/fake-driver@3.2.11
 - @appium/fake-plugin@1.2.2
 - @appium/gulp-plugins@6.0.7
 - @appium/images-plugin@1.1.8
 - @appium/opencv@1.0.6
 - @appium/relaxed-caps-plugin@1.0.0-beta.4
 - @appium/schema@0.0.4
 - @appium/support@2.57.3
 - @appium/test-support@1.3.17
 - @appium/types@0.2.1
 - @appium/universal-xml-plugin@1.0.0-beta.6
@appium/base-driver@8.5.1 @appium/base-plugin@1.8.3 @appium/doctor@1.16.16 @appium/docutils@0.0.2 @appium/eslint-config-appium@5.0.5 @appium/execute-driver-plugin@1.0.3 @appium/fake-driver@3.2.11 @appium/fake-plugin@1.2.2 @appium/gulp-plugins@6.0.7 @appium/images-plugin@1.1.8 @appium/opencv@1.0.6 @appium/relaxed-caps-plugin@1.0.0-beta.4 @appium/schema@0.0.4 @appium/support@2.57.3 @appium/test-support@1.3.17 @appium/types@0.2.1 @appium/universal-xml-plugin@1.0.0-beta.6 appium@2.0.0-beta.32
2022-04-20 13:27:53 -07:00
Jonathan Lipps 8b7906f757 Publish
- appium@2.0.0-beta.31
 - @appium/base-driver@8.5.0
 - @appium/base-plugin@1.8.2
 - @appium/doctor@1.16.15
 - @appium/docutils@0.0.1
 - @appium/execute-driver-plugin@1.0.2
 - @appium/fake-driver@3.2.10
 - @appium/fake-plugin@1.2.1
 - @appium/gulp-plugins@6.0.6
 - @appium/images-plugin@1.1.7
 - @appium/opencv@1.0.5
 - @appium/relaxed-caps-plugin@1.0.0-beta.3
 - @appium/schema@0.0.3
 - @appium/support@2.57.2
 - @appium/test-support@1.3.16
 - @appium/types@0.2.0
 - @appium/universal-xml-plugin@1.0.0-beta.5
@appium/base-driver@8.5.0 @appium/base-plugin@1.8.2 @appium/doctor@1.16.15 @appium/docutils@0.0.1 @appium/execute-driver-plugin@1.0.2 @appium/fake-driver@3.2.10 @appium/fake-plugin@1.2.1 @appium/gulp-plugins@6.0.6 @appium/images-plugin@1.1.7 @appium/opencv@1.0.5 @appium/relaxed-caps-plugin@1.0.0-beta.3 @appium/schema@0.0.3 @appium/support@2.57.2 @appium/test-support@1.3.16 @appium/types@0.2.0 @appium/universal-xml-plugin@1.0.0-beta.5 appium@2.0.0-beta.31
2022-04-20 13:23:24 -07:00