Commit Graph

8769 Commits

Author SHA1 Message Date
Jonathan Lipps 4b8c353091 fix!: move to different style of plugin command execution 2022-04-14 14:30:00 -07:00
Jonathan Lipps da4745e6a5 chore: stream test output so it's nicer to watch in person 2022-04-14 14:30:00 -07:00
Jonathan Lipps 3c02ab5afa fix(ci): avoid lerna hosting so install is run in each package 2022-04-14 14:30:00 -07:00
Jonathan Lipps b30b05755f fix(test): fix image specs now that basedriver has no image methods 2022-04-14 14:30:00 -07:00
Jonathan Lipps 502314f832 chore: add meaningful README for fake plugin 2022-04-14 14:30:00 -07:00
Jonathan Lipps 21e110aa53 docs: migrate in docs for image functionality from appium 2022-04-14 14:30:00 -07:00
Jonathan Lipps 5a692ffa30 chore: add README for base plugin 2022-04-14 14:30:00 -07:00
Jonathan Lipps 4ce9f98209 chore: add top-level readme linking to plugins 2022-04-14 14:30:00 -07:00
Jonathan Lipps af46ebd595 feat: port image element plugin from main appium server and add new tests 2022-04-14 14:30:00 -07:00
Jonathan Lipps fb4031cb0e ci: workflow attempt 2022-04-14 14:30:00 -07:00
Jonathan Lipps 1c51c25ac7 ci: workflow attempt 2022-04-14 14:30:00 -07:00
Jonathan Lipps 36d7cf2cf1 ci: workflow attempt 2022-04-14 14:30:00 -07:00
Jonathan Lipps 2de4840d3c ci: workflow attempt 2022-04-14 14:30:00 -07:00
Jonathan Lipps 068e6b430c ci: workflow attempt 2022-04-14 14:30:00 -07:00
Jonathan Lipps 80c99f257c ci: stab at github action 2022-04-14 14:30:00 -07:00
Jonathan Lipps e3eefb0ecb chore: remove unused ts-mocha dep 2022-04-14 14:30:00 -07:00
Jonathan Lipps b83926ca0b chore: port fake plugin to the plugin monorepo 2022-04-14 14:30:00 -07:00
Jonathan Lipps e9efe75c43 chore: correctly configure monorepo to do away with unnecessary deps and consolidate strategies 2022-04-14 14:30:00 -07:00
Jonathan Lipps 8a32ef8471 chore: more work on monorepo arrangement 2022-04-14 14:30:00 -07:00
Jonathan Lipps 19c1694b4a copy over base plugin to be part of monorepo and add ignore files 2022-04-14 14:30:00 -07:00
Jonathan Lipps 4cb1463c46 init image plugin package 2022-04-14 14:30:00 -07:00
Jonathan Lipps 3081182085 init as lerna monorepo 2022-04-14 14:30:00 -07:00
Jonathan Lipps 6ee636b570 Initial commit 2022-04-14 14:30:00 -07:00
Christopher Hiller 60d916e6d0 chore: fix clean scripts
note that `clean:distfiles` only cleans generated .js files, `clean:types` only cleans generated types/maps, and `clean:artifacts` does both but then deletes the build dirs just in case. clean happens in correct order now
2022-04-14 14:29:15 -07:00
Christopher Hiller 998fa46035 chore: fix duplicate preversion scripts
- `prepublishOnly` now cleans all build artifacts
- `preversion` does the same, except runs `sync-pkgs` also
2022-04-14 14:29:15 -07:00
Renovate Bot dd7a46e0fd chore(): update webdriverio monorepo to v7.19.5 2022-04-14 15:41:19 +00:00
Renovate Bot 52183f0c4e chore(): update dependency @types/chai to v4.3.1 2022-04-14 12:20:38 +00:00
Mykola Mokhnach cad6272f6b chore(base-driver): Update the deprecated 'del' method name (#16765) 2022-04-13 21:30:54 +02:00
Renovate Bot ee9584829c chore(support): update dependency semver to v7.3.7 2022-04-13 10:43:54 +00:00
Renovate Bot 4c30c7d107 chore(support): update dependency glob to v8 2022-04-12 14:56:57 -07:00
Christopher Hiller 0a25e641b0 chore(appium): increase build timeout of e2e tests
these are consistently failing at 20s, probably due to heavy load on GHA
2022-04-12 14:54:43 -07:00
Christopher Hiller 78f6a23bd3 chore: dev script builds types
- `npm run dev` will build all artifacts in "watch" mode (distfiles and types)
- also updated the default build task for vscode
2022-04-12 14:54:22 -07:00
Mykola Mokhnach 78a46375ae feat(base-driver): Add a route for new window creation (#16748)
* feat(base-driver): Add a route for new window creation

* Update param name

* Update types
2022-04-12 14:51:16 -07:00
Jonathan Lipps 319f7289e7 Publish
- appium@2.0.0-beta.30
 - @appium/base-driver@8.4.2
 - @appium/doctor@1.16.14
 - @appium/eslint-config-appium@5.0.4
 - @appium/fake-driver@3.2.9
 - @appium/gulp-plugins@6.0.5
 - @appium/opencv@1.0.4
 - @appium/schema@0.0.2
 - @appium/support@2.57.1
 - @appium/test-support@1.3.15
 - @appium/types@0.1.1
@appium/base-driver@8.4.2 @appium/doctor@1.16.14 @appium/eslint-config-appium@5.0.4 @appium/fake-driver@3.2.9 @appium/gulp-plugins@6.0.5 @appium/opencv@1.0.4 @appium/schema@0.0.2 @appium/support@2.57.1 @appium/test-support@1.3.15 @appium/types@0.1.1 appium@2.0.0-beta.30
2022-04-12 09:11:41 -07:00
Jonathan Lipps 42c83f8044 fix(appium,base-driver,doctor,docutils,eslint-config-appium,fake-driver,gulp-plugins,opencv,schema,support,test-support,types): make sure types are cleaned before release 2022-04-12 09:08:34 -07:00
Jonathan Lipps 0f32dad275 Publish
- appium@2.0.0-beta.29
 - @appium/base-driver@8.4.1
 - @appium/doctor@1.16.13
 - @appium/fake-driver@3.2.8
 - @appium/gulp-plugins@6.0.4
@appium/base-driver@8.4.1 @appium/doctor@1.16.13 @appium/fake-driver@3.2.8 @appium/gulp-plugins@6.0.4 appium@2.0.0-beta.29
2022-04-12 08:49:03 -07:00
Jonathan Lipps 04d2b385d2 chore(appium-monorepo): reorder clean scripts so reinstall works
cc @boneskull see my comment on previous commit
2022-04-12 08:46:51 -07:00
Renovate Bot d0f29bda28 chore(): update dependency webdriverio to v7.19.4 2022-04-12 12:41:26 +00:00
Mykola Mokhnach 46b7df3f77 chore(base-driver): Only parse session id when necessary 2022-04-11 08:24:55 +02:00
Mykola Mokhnach ad3b4b2c96 fix(base-driver): isErrorType import 2022-04-11 08:16:42 +02:00
Mykola Mokhnach 5d2156a06b fix(base-driver): Make sure proxyReqRes helper never throws any exceptions (#16742) 2022-04-11 07:59:30 +02:00
Renovate Bot 67c2c3b18f chore(gulp-plugins): update dependency yargs to v17.4.1 2022-04-10 12:58:57 +00:00
Renovate Bot 20daee6a24 chore(base-driver): update dependency lru-cache to v7.8.1 2022-04-10 10:46:22 +00:00
Mykola Mokhnach ff3b290c77 chore(base-driver): Update ws dependency (#16739) 2022-04-09 22:56:01 +02:00
Renovate Bot ed89b590e1 chore(base-driver): update dependency lru-cache to v7.8.0 2022-04-09 01:42:50 +00:00
Mykola Mokhnach f8a51443e4 fix(appium): Properly detect if a command is a session command (#16737) 2022-04-08 21:52:36 +02:00
Jonathan Lipps 3ec3a0efa5 Publish
- appium@2.0.0-beta.28
 - @appium/base-driver@8.4.0
 - @appium/doctor@1.16.12
 - @appium/eslint-config-appium@5.0.3
 - @appium/fake-driver@3.2.7
 - @appium/gulp-plugins@6.0.3
 - @appium/opencv@1.0.3
 - @appium/schema@0.0.1
 - @appium/support@2.57.0
 - @appium/test-support@1.3.14
 - @appium/types@0.1.0
@appium/base-driver@8.4.0 @appium/doctor@1.16.12 @appium/eslint-config-appium@5.0.3 @appium/fake-driver@3.2.7 @appium/gulp-plugins@6.0.3 @appium/opencv@1.0.3 @appium/schema@0.0.1 @appium/support@2.57.0 @appium/test-support@1.3.14 @appium/types@0.1.0 appium@2.0.0-beta.28
2022-04-07 16:12:21 -07:00
Jonathan Lipps f971aa9f1c chore(appium-monorepo): fix preversion script by removing schema reference 2022-04-07 16:09:06 -07:00
Christopher Hiller 3adf4d4283 chore: fix dev scripts 2022-04-07 14:24:10 -07:00
Christopher Hiller f33b87bbf9 chore(appium,types,schema): create @appium/schema
`@appium/schema` is a package which was extracted from `appium`.  It _only_ contains the schema.  The impetus here was to avoid cyclical dependencies, since `appium` depends on `@appium/types`, and `@appium/types` depends on the schema.  This package breaks the cycle.

The `scripts/generate-schema-json.js` (which converts the compiled JS schema file into JSON) has moved into this package, and the generated JSON file is now under version control.  This is because the `generate-schema-types.js` script (previously `generate-schema-declarations`) depends on it, and `@appium/types` depends on the generated types.  The generated types are _also_ under version control.  I do not expect the schema to change often, so I believe the tradeoff to be worth it.

## @appium/schema

`lib/appium-config-schema.js` is the "single source of truth" for the schema.

## appium

- Removed schema source
- Removed namespaces from internal types because they suck (see change to `types/index.d.ts`)
- Removed unused `continuation-local-storage`
- Add dep for `@appium/schema`
- Added a TS project dependency on `@appium/schema`

## @appium/types

- The "sources" have moved from `src` to `lib` for consistency.
- `lib/appium-config.ts` (the generated types) are now under version control.
- `lib/schema/` has been removed (it previously held the JSON schema artifact)
- `scripts/generate-schema-declarations.js` becomes `scripts/generate-schema-types.js`
- Updated scripts in `package.json`
- Added dep for `@appium/schema`
- Added a TS project dependency on `@appium/schema`

## Other

- Reorganize root `tsconfig.json`; add `schema` reference; remove unused `noEmit: true`
- Sort root `package.json`
- Remove schema JSON and schema declarations scripts, since those are now both handled in their respective packages
- Remove `lint-staged` config for schema file, since it didn't work right anyway (still need to do something about this, but probably doesn't need to be in a precommit hook)
- Remove stuff from `.gitignore`
2022-04-07 14:05:41 -07:00