Commit Graph
9543 Commits
Author SHA1 Message Date
Christopher Hiller 921fb1c382 fix(schema): add json-schema as a production dep 2022-07-08 13:09:28 -07:00
Christopher Hiller a0a6166738 fix(appium,types): include @appium/types in appium
This makes a small handful of fixes related to type consumption:

- `@appium/types` is now a direct dep of `appium`.  Without this, types leveraging `@appium/types`--e.g., `BaseDriver`, which is based on a `Driver` interface defined in `@appium/types`--fail to be understood fully by a consumer (such as an extension).  Extension authors would need to install `@appium/types` as their own dev dependency.  This change makes addition of `@appium/types` unneeded when consuming types exposed by `appium`, `appium/driver`, `appium/support`, etc.
- At this time, consumers will still need to add `@appium/types` if they wish to directly reference types defined in here (such as `W3CCapabilities`).
- In manual testing of the exported types, I found two issues in `appium/lib/schema/arg-spec.js` and `appium/lib/schema/schema.js` which were relative type imports and only worked in the context of the monorepo.  I fixed these.
- `@appium/types` previously re-exported types defined within `axios` (`HTTPMethod`); I just copied and pasted what we needed to avoid the production dependency on `axios`.
- `@types/express`, `@types/npmlog`, `type-fest` and `@wdio/types` were added as production deps to `@appium/types`, as these are needed.  However, these are packages _only_ containing types, unlike `axios`. There's a lesson to be learned here, but I don't know what it is.
2022-07-08 13:09:28 -07:00
Jonathan Lipps c43acc23ee chore(renovate): add renovate.json to 2.0 branch so it exists during migration to master 2022-07-08 10:33:30 -07:00
Mykola Mokhnach dbc4544b72 fix: Logs format (#17156) 2022-07-08 18:56:17 +02:00
renovate[bot] 9e6a7af95b chore(): update dependency @types/teen_process to v1.16.1 2022-07-08 14:05:08 +00:00
Mykola Mokhnach 0db78ae885 ci: Add a script that verifies Appium deployment on different OSs (#17146) 2022-07-08 08:38:14 +02:00
renovate[bot] ca7f2291c8 chore(support): update dependency moment to v2.29.4 2022-07-07 10:43:21 +00:00
ian zhang a20d5523f5 docs(appium): stub out chinese docs system (#17076)
* #16817 2.0 Chinese mkdocs-zh.yml
Rebase the code for mkdocs-zh

* #16817 2.0 Chinese mkdocs-zh.yml
Change the folder from cn to zh as mkdocs required

* #16817 2.0 Chinese mkdocs-zh.yml
Change the relative link from en to zh

* #16817 2.0 Chinese mkdocs-zh.yml
Translate some titles to trigger the build
2022-07-06 12:46:53 -07:00
renovate[bot] 523ebd55be chore(execute-driver-plugin): update dependency vm2 to v3.9.10 2022-07-06 12:12:31 +00:00
renovate[bot] cb36cdd957 chore(doctor): update dependency appium-adb to v9.9.0 2022-07-05 11:32:31 +00:00
renovate[bot] 10a1a3e736 chore(): update dependency type-fest to v2.16.0 2022-07-04 17:53:10 +00:00
renovate[bot] 1e41de4b32 chore(doctor): update dependency appium-adb to v9.8.0 2022-07-04 15:19:55 +00:00
renovate[bot] 9a2e1e4d1e chore(): update dependency @types/node to v16.11.43 2022-07-04 12:06:24 +00:00
renovate[bot] f8224f2780 chore(appium): update dependency winston to v3.8.1 2022-07-01 14:32:25 +00:00
renovate[bot] f293784b20 chore(images-plugin): update dependency lru-cache to v7.12.0 2022-06-30 15:19:11 +00:00
renovate[bot] 29867b6cac chore(): update dependency @types/node to v16.11.42 2022-06-30 11:30:35 +00:00
renovate[bot] 464b112f4e chore(): update dependency @types/fancy-log to v2 2022-06-29 15:04:46 -07:00
renovate[bot] 79d6a1d9a0 chore(): update dependency @types/sinon to v10.0.12 2022-06-29 11:49:06 +00:00
renovate[bot] c4a1a46df3 chore(): update babel monorepo to v7.18.6 2022-06-28 12:58:59 +00:00
renovate[bot] 863e0dbd4d chore(gulp-plugins): update dependency babel-plugin-source-map-support to v2.2.0 2022-06-27 15:52:09 +00:00
renovate[bot] 2bf673b2a8 chore(appium): update dependency winston to v3.8.0 2022-06-26 15:13:08 +00:00
renovate[bot] 6c6c860f82 chore(): update dependency type-fest to v2.14.0 2022-06-26 12:56:35 +00:00
renovate[bot] e3fb79864d chore(images-plugin): update dependency lru-cache to v7.10.2 2022-06-25 18:14:31 +00:00
renovate[bot] 7ee5074230 chore(): update dependency prettier to v2.7.1 2022-06-25 15:09:19 +00:00
renovate[bot] 4e93edf33b chore(base-driver): update dependency async-lock to v1.3.2 2022-06-25 12:10:51 +00:00
Renovate Bot 6d0edbd93c chore(): update dependency lint-staged to v13.0.3 2022-06-25 11:10:53 +00:00
renovate[bot] a89e325aec chore(): update webdriverio monorepo 2022-06-25 08:57:58 +00:00
renovate[bot] 157f025466 chore(): update dependency typescript to v4.7.4 2022-06-24 14:25:53 +00:00
renovate[bot] 12e63bc516 chore(): update dependency lint-staged to v13.0.2 2022-06-24 11:55:18 +00:00
Mykola Mokhnach d2a3adc2e3 fix: Update the way build info is fetched from GitHub (#17078) 2022-06-21 08:05:54 +02:00
Christopher Hiller 8bde0703ad chore: commit package-lock.json
Because it’s now under VCS, we shouldn’t remove it when cleaning, since that will probably result in a dirty working copy.

changed the `reinstall` script to call `npm ci`, which a) expects `package-lock.json` to exist, and b) removes `node_modules` before it installs stuff.
2022-06-16 11:30:13 -07:00
Renovate Bot 0f5d3f8c1d chore(gulp-plugins): update babel monorepo to v7.18.5 2022-06-16 17:35:06 +00:00
Renovate Bot 984313d2e7 chore(): update dependency @types/semver to v7.3.10 2022-06-16 14:42:17 +00:00
Renovate Bot 0bf6f96839 chore(): update dependency @types/node to v16.11.41 2022-06-15 19:48:50 +00:00
Jonathan Lipps 2ebf3a18bd docs(appium): add building drivers doc (resolves #16788) 2022-06-15 08:58:31 -07:00
Renovate Bot 69a9a15ac3 chore(): update dependency type-fest to v2.13.1 2022-06-15 12:37:22 +00:00
Christopher Hiller dc3eecbd7e chore(ci): enable quiet mode when running smoke tests 2022-06-13 16:08:17 -07:00
Christopher Hiller 4d454d6c1a test(appium): output correct APPIUM_HOME var 2022-06-13 16:08:17 -07:00
Christopher Hiller 10421fa5ad fix(doctor): actually build bin dir, fix dev script 2022-06-13 16:08:17 -07:00
Christopher Hiller 2bd8b417a4 fix(fake-plugin): add index.js to published package
Restore (?) missing scripts
2022-06-13 16:08:17 -07:00
Christopher Hiller 485239d599 chore(ci): run smoke test in all packages
This uses the [boneskull/nodejs-production-test-action](https://github.com/boneskull/nodejs-production-test-action) GH action to run a smoke test across all packages.

The action does the following:

1. Runs `npm pack` on each package, writing the tarball to a temp dir. This tarball contains the package as a user would `npm install` it.
2. Changes into the temp dir and runs `npm install <tarball>` on each
3. Runs a specified script (in our case, `test:smoke`) in each installed package's dir in `<tmp_dir>/node_modules`

Because `devDependencies` will not be present, this should avoid a class of issues where production deps are miscategorized as dev deps.

The action should probably use a separate temp dir for each--in the case of a dependency being present but only because some other package depends on it--but it's not smart enough to figure out peer dependencies yet.
2022-06-13 16:08:17 -07:00
Renovate Bot 78d0419225 chore(): update dependency lint-staged to v13 2022-06-13 16:07:18 -07:00
Christopher Hiller 965752f288 fix(appium): postinstall: never assume local appium if it is being installed globally
In addition, wrap the text to the terminal.  `wrap-ansi` is good b/c it
considers colors/emoji/etc.

Removed unused dep `word-wrap`.

Resolves #17054
2022-06-13 16:05:20 -07:00
Christopher Hiller 1e42c2378c fix(appium): fix incorrect count of errors and warnings
This was always displaying a count of _n + 1_ due to the way the summaries are concatenated.
2022-06-13 11:00:20 -07:00
Renovate Bot ec5063b2f3 chore(execute-driver-plugin): update dependency webdriverio to v7.20.2 2022-06-11 12:52:02 +00:00
Renovate Bot 3f50133789 chore(): update dependency ws to v8.8.0 2022-06-10 13:12:57 +00:00
Renovate Bot 6b8f78b70b chore(doctor): update dependency appium-adb to v9.7.0 2022-06-09 22:21:23 +00:00
Renovate Bot 5b1664ce0b chore(): update dependency @types/node to v16.11.39 2022-06-09 17:17:49 +00:00
Renovate Bot e4682bb467 chore(workflows): update actions/setup-node digest to eeb10cf 2022-06-07 13:34:14 +00:00
Renovate Bot d00398fe91 chore(): update webdriverio monorepo 2022-06-04 14:43:48 +00:00