appium 2.0.0-beta.9 → 2.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +149 -58
  3. package/build/lib/appium.d.ts +229 -0
  4. package/build/lib/appium.d.ts.map +1 -0
  5. package/build/lib/appium.js +677 -449
  6. package/build/lib/appium.js.map +1 -0
  7. package/build/lib/cli/args.d.ts +17 -0
  8. package/build/lib/cli/args.d.ts.map +1 -0
  9. package/build/lib/cli/args.js +263 -300
  10. package/build/lib/cli/args.js.map +1 -0
  11. package/build/lib/cli/driver-command.d.ts +102 -0
  12. package/build/lib/cli/driver-command.d.ts.map +1 -0
  13. package/build/lib/cli/driver-command.js +131 -81
  14. package/build/lib/cli/driver-command.js.map +1 -0
  15. package/build/lib/cli/extension-command.d.ts +402 -0
  16. package/build/lib/cli/extension-command.d.ts.map +1 -0
  17. package/build/lib/cli/extension-command.js +799 -383
  18. package/build/lib/cli/extension-command.js.map +1 -0
  19. package/build/lib/cli/extension.d.ts +23 -0
  20. package/build/lib/cli/extension.d.ts.map +1 -0
  21. package/build/lib/cli/extension.js +70 -68
  22. package/build/lib/cli/extension.js.map +1 -0
  23. package/build/lib/cli/parser.d.ts +84 -0
  24. package/build/lib/cli/parser.d.ts.map +1 -0
  25. package/build/lib/cli/parser.js +252 -148
  26. package/build/lib/cli/parser.js.map +1 -0
  27. package/build/lib/cli/plugin-command.d.ts +99 -0
  28. package/build/lib/cli/plugin-command.d.ts.map +1 -0
  29. package/build/lib/cli/plugin-command.js +125 -81
  30. package/build/lib/cli/plugin-command.js.map +1 -0
  31. package/build/lib/cli/utils.d.ts +29 -0
  32. package/build/lib/cli/utils.d.ts.map +1 -0
  33. package/build/lib/cli/utils.js +72 -51
  34. package/build/lib/cli/utils.js.map +1 -0
  35. package/build/lib/config-file.d.ts +100 -0
  36. package/build/lib/config-file.d.ts.map +1 -0
  37. package/build/lib/config-file.js +207 -0
  38. package/build/lib/config-file.js.map +1 -0
  39. package/build/lib/config.d.ts +49 -0
  40. package/build/lib/config.d.ts.map +1 -0
  41. package/build/lib/config.js +262 -223
  42. package/build/lib/config.js.map +1 -0
  43. package/build/lib/constants.d.ts +56 -0
  44. package/build/lib/constants.d.ts.map +1 -0
  45. package/build/lib/constants.js +73 -0
  46. package/build/lib/constants.js.map +1 -0
  47. package/build/lib/extension/driver-config.d.ts +82 -0
  48. package/build/lib/extension/driver-config.d.ts.map +1 -0
  49. package/build/lib/extension/driver-config.js +210 -0
  50. package/build/lib/extension/driver-config.js.map +1 -0
  51. package/build/lib/extension/extension-config.d.ts +270 -0
  52. package/build/lib/extension/extension-config.d.ts.map +1 -0
  53. package/build/lib/extension/extension-config.js +601 -0
  54. package/build/lib/extension/extension-config.js.map +1 -0
  55. package/build/lib/extension/index.d.ts +48 -0
  56. package/build/lib/extension/index.d.ts.map +1 -0
  57. package/build/lib/extension/index.js +105 -0
  58. package/build/lib/extension/index.js.map +1 -0
  59. package/build/lib/extension/manifest-migrations.d.ts +27 -0
  60. package/build/lib/extension/manifest-migrations.d.ts.map +1 -0
  61. package/build/lib/extension/manifest-migrations.js +134 -0
  62. package/build/lib/extension/manifest-migrations.js.map +1 -0
  63. package/build/lib/extension/manifest.d.ts +145 -0
  64. package/build/lib/extension/manifest.d.ts.map +1 -0
  65. package/build/lib/extension/manifest.js +528 -0
  66. package/build/lib/extension/manifest.js.map +1 -0
  67. package/build/lib/extension/package-changed.d.ts +11 -0
  68. package/build/lib/extension/package-changed.d.ts.map +1 -0
  69. package/build/lib/extension/package-changed.js +62 -0
  70. package/build/lib/extension/package-changed.js.map +1 -0
  71. package/build/lib/extension/plugin-config.d.ts +56 -0
  72. package/build/lib/extension/plugin-config.d.ts.map +1 -0
  73. package/build/lib/extension/plugin-config.js +102 -0
  74. package/build/lib/extension/plugin-config.js.map +1 -0
  75. package/build/lib/grid-register.d.ts +10 -0
  76. package/build/lib/grid-register.d.ts.map +1 -0
  77. package/build/lib/grid-register.js +122 -144
  78. package/build/lib/grid-register.js.map +1 -0
  79. package/build/lib/logger.d.ts +3 -0
  80. package/build/lib/logger.d.ts.map +1 -0
  81. package/build/lib/logger.js +5 -17
  82. package/build/lib/logger.js.map +1 -0
  83. package/build/lib/logsink.d.ts +4 -0
  84. package/build/lib/logsink.d.ts.map +1 -0
  85. package/build/lib/logsink.js +189 -184
  86. package/build/lib/logsink.js.map +1 -0
  87. package/build/lib/main.d.ts +62 -0
  88. package/build/lib/main.d.ts.map +1 -0
  89. package/build/lib/main.js +406 -234
  90. package/build/lib/main.js.map +1 -0
  91. package/build/lib/schema/arg-spec.d.ts +143 -0
  92. package/build/lib/schema/arg-spec.d.ts.map +1 -0
  93. package/build/lib/schema/arg-spec.js +164 -0
  94. package/build/lib/schema/arg-spec.js.map +1 -0
  95. package/build/lib/schema/cli-args.d.ts +19 -0
  96. package/build/lib/schema/cli-args.d.ts.map +1 -0
  97. package/build/lib/schema/cli-args.js +220 -0
  98. package/build/lib/schema/cli-args.js.map +1 -0
  99. package/build/lib/schema/cli-transformers.d.ts +5 -0
  100. package/build/lib/schema/cli-transformers.d.ts.map +1 -0
  101. package/build/lib/schema/cli-transformers.js +124 -0
  102. package/build/lib/schema/cli-transformers.js.map +1 -0
  103. package/build/lib/schema/index.d.ts +3 -0
  104. package/build/lib/schema/index.d.ts.map +1 -0
  105. package/build/lib/schema/index.js +19 -0
  106. package/build/lib/schema/index.js.map +1 -0
  107. package/build/lib/schema/keywords.d.ts +24 -0
  108. package/build/lib/schema/keywords.d.ts.map +1 -0
  109. package/build/lib/schema/keywords.js +128 -0
  110. package/build/lib/schema/keywords.js.map +1 -0
  111. package/build/lib/schema/schema.d.ts +260 -0
  112. package/build/lib/schema/schema.d.ts.map +1 -0
  113. package/build/lib/schema/schema.js +640 -0
  114. package/build/lib/schema/schema.js.map +1 -0
  115. package/build/lib/utils.d.ts +276 -0
  116. package/build/lib/utils.d.ts.map +1 -0
  117. package/build/lib/utils.js +372 -192
  118. package/build/lib/utils.js.map +1 -0
  119. package/build/types/cli.d.ts +134 -0
  120. package/build/types/cli.d.ts.map +1 -0
  121. package/build/types/cli.js +3 -0
  122. package/build/types/cli.js.map +1 -0
  123. package/build/types/index.d.ts +15 -0
  124. package/build/types/index.d.ts.map +1 -0
  125. package/build/types/index.js +19 -0
  126. package/build/types/index.js.map +1 -0
  127. package/build/types/manifest/base.d.ts +135 -0
  128. package/build/types/manifest/base.d.ts.map +1 -0
  129. package/build/types/manifest/base.js +3 -0
  130. package/build/types/manifest/base.js.map +1 -0
  131. package/build/types/manifest/index.d.ts +21 -0
  132. package/build/types/manifest/index.d.ts.map +1 -0
  133. package/build/types/manifest/index.js +42 -0
  134. package/build/types/manifest/index.js.map +1 -0
  135. package/build/types/manifest/v3.d.ts +139 -0
  136. package/build/types/manifest/v3.d.ts.map +1 -0
  137. package/build/types/manifest/v3.js +3 -0
  138. package/build/types/manifest/v3.js.map +1 -0
  139. package/build/types/manifest/v4.d.ts +139 -0
  140. package/build/types/manifest/v4.d.ts.map +1 -0
  141. package/build/types/manifest/v4.js +3 -0
  142. package/build/types/manifest/v4.js.map +1 -0
  143. package/driver.d.ts +1 -0
  144. package/driver.js +14 -0
  145. package/index.js +11 -0
  146. package/lib/appium.js +545 -188
  147. package/lib/cli/args.js +275 -407
  148. package/lib/cli/driver-command.js +132 -24
  149. package/lib/cli/extension-command.js +751 -272
  150. package/lib/cli/extension.js +38 -19
  151. package/lib/cli/parser.js +267 -95
  152. package/lib/cli/plugin-command.js +122 -22
  153. package/lib/cli/utils.js +24 -10
  154. package/lib/config-file.js +220 -0
  155. package/lib/config.js +243 -132
  156. package/lib/constants.js +79 -0
  157. package/lib/extension/driver-config.js +247 -0
  158. package/lib/extension/extension-config.js +709 -0
  159. package/lib/extension/index.js +116 -0
  160. package/lib/extension/manifest-migrations.js +136 -0
  161. package/lib/extension/manifest.js +580 -0
  162. package/lib/extension/package-changed.js +64 -0
  163. package/lib/extension/plugin-config.js +112 -0
  164. package/lib/grid-register.js +49 -35
  165. package/lib/logger.js +1 -2
  166. package/lib/logsink.js +59 -36
  167. package/lib/main.js +392 -104
  168. package/lib/schema/arg-spec.js +229 -0
  169. package/lib/schema/cli-args.js +241 -0
  170. package/lib/schema/cli-transformers.js +119 -0
  171. package/lib/schema/index.js +2 -0
  172. package/lib/schema/keywords.js +136 -0
  173. package/lib/schema/schema.js +725 -0
  174. package/lib/utils.js +310 -89
  175. package/package.json +84 -84
  176. package/plugin.d.ts +1 -0
  177. package/plugin.js +13 -0
  178. package/scripts/autoinstall-extensions.js +243 -0
  179. package/support.d.ts +1 -0
  180. package/support.js +13 -0
  181. package/tsconfig.json +25 -0
  182. package/types/cli.ts +193 -0
  183. package/types/index.ts +20 -0
  184. package/types/manifest/README.md +30 -0
  185. package/types/manifest/base.ts +158 -0
  186. package/types/manifest/index.ts +28 -0
  187. package/types/manifest/v3.ts +161 -0
  188. package/types/manifest/v4.ts +161 -0
  189. package/CHANGELOG.md +0 -3669
  190. package/bin/ios-webkit-debug-proxy-launcher.js +0 -71
  191. package/build/lib/cli/argparse-actions.js +0 -104
  192. package/build/lib/cli/npm.js +0 -207
  193. package/build/lib/cli/parser-helpers.js +0 -93
  194. package/build/lib/driver-config.js +0 -77
  195. package/build/lib/drivers.js +0 -99
  196. package/build/lib/extension-config.js +0 -253
  197. package/build/lib/plugin-config.js +0 -59
  198. package/build/lib/plugins.js +0 -16
  199. package/build/postinstall.js +0 -90
  200. package/lib/cli/argparse-actions.js +0 -77
  201. package/lib/cli/npm.js +0 -183
  202. package/lib/cli/parser-helpers.js +0 -91
  203. package/lib/driver-config.js +0 -46
  204. package/lib/drivers.js +0 -84
  205. package/lib/extension-config.js +0 -209
  206. package/lib/plugin-config.js +0 -34
  207. package/lib/plugins.js +0 -11
  208. package/postinstall.js +0 -71
@@ -0,0 +1,134 @@
1
+ import { DriverType, PluginType, ServerArgs } from '@appium/types';
2
+ import { SetOptional } from 'type-fest';
3
+ import { InstallType } from './manifest';
4
+ export type CliCommandServer = 'server';
5
+ export type CliCommandDriver = DriverType;
6
+ export type CliCommandPlugin = PluginType;
7
+ /**
8
+ * Extension-specific commands
9
+ */
10
+ export type CliExtensionCommand = CliCommandDriver | CliCommandPlugin;
11
+ /**
12
+ * Possible commands for the `appium` CLI.
13
+ */
14
+ export type CliCommand = CliCommandServer | CliExtensionCommand;
15
+ /**
16
+ * Possible subcommands of {@linkcode CliCommandDriver} or
17
+ * {@linkcode CliCommandPlugin}.
18
+ */
19
+ export type CliExtensionSubcommand = 'install' | 'list' | 'run' | 'uninstall' | 'update';
20
+ export interface CliExtensionSubcommandListArgs {
21
+ showInstalled?: boolean;
22
+ showUpdates?: boolean;
23
+ }
24
+ export interface CliExtensionSubcommandInstallArgs {
25
+ installType: InstallType;
26
+ packageName?: string;
27
+ }
28
+ export interface CliExtensionSubcommandUpdateArgs {
29
+ unsafe?: boolean;
30
+ }
31
+ /**
32
+ * Random stuff that may appear in the parsed args which has no equivalent in a
33
+ * config file.
34
+ */
35
+ export interface MoreArgs {
36
+ /**
37
+ * Possible subcommands. If empty, defaults to {@linkcode CliCommandServer}.
38
+ */
39
+ subcommand?: CliCommand;
40
+ /**
41
+ * Path to config file, if any. Does not make sense for this to be allowed in a config file!
42
+ */
43
+ configFile?: string;
44
+ /**
45
+ * If true, show the config and exit
46
+ */
47
+ showConfig?: boolean;
48
+ /**
49
+ * If true, open a REPL
50
+ */
51
+ shell?: boolean;
52
+ }
53
+ /**
54
+ * These arguments are _not_ supported by the CLI, but only via programmatic usage / tests.
55
+ */
56
+ export interface ProgrammaticArgs {
57
+ /**
58
+ * If `true`, throw on error instead of exit.
59
+ */
60
+ throwInsteadOfExit?: boolean;
61
+ /**
62
+ * Seems to only be used in tests or standalone driver calls
63
+ */
64
+ logHandler?: (...args: any[]) => void;
65
+ /**
66
+ * Alternate way to set `APPIUM_HOME` for tests. Since we don't want to muck about
67
+ * with the environment, we just set it here.
68
+ *
69
+ * Setting this means that any discovery of the proper `APPIUM_HOME` path is bypassed
70
+ * and is equivalent to setting `APPIUM_HOME` in the environment.
71
+ */
72
+ appiumHome?: string;
73
+ /**
74
+ * If true, show the {@link BuildInfo build info} and exit
75
+ */
76
+ showBuildInfo?: boolean;
77
+ /**
78
+ * If true, show config and exit
79
+ */
80
+ showConfig?: boolean;
81
+ }
82
+ export interface DriverExtArgs {
83
+ driverCommand: CliExtensionSubcommand;
84
+ driver?: string;
85
+ }
86
+ export interface PluginExtArgs {
87
+ pluginCommand: CliExtensionSubcommand;
88
+ plugin?: string;
89
+ }
90
+ /**
91
+ * These are args which the user will specify if using an extension command
92
+ */
93
+ export interface BaseExtArgs<Cmd extends CliExtensionCommand> {
94
+ subcommand: Cmd;
95
+ /**
96
+ * Output JSON instead of human-readable text
97
+ */
98
+ json?: boolean;
99
+ /**
100
+ * Output nothing
101
+ */
102
+ suppressOutput?: boolean;
103
+ /**
104
+ * Extra args to pass to extension scripts
105
+ */
106
+ extraArgs?: string[];
107
+ }
108
+ /**
109
+ * Args for extension commands; includes a subcommand
110
+ */
111
+ export type ExtArgs<Cmd extends CliExtensionCommand, SubCmd extends CliExtensionSubcommand> = BaseExtArgs<Cmd> & (Cmd extends CliCommandDriver ? DriverExtArgs : Cmd extends CliCommandPlugin ? PluginExtArgs : never) & (SubCmd extends 'install' ? CliExtensionSubcommandInstallArgs : SubCmd extends 'list' ? CliExtensionSubcommandListArgs : SubCmd extends 'update' ? CliExtensionSubcommandUpdateArgs : never);
112
+ /**
113
+ * Some generic bits of arguments; should not be used outside this declaration
114
+ */
115
+ export type CommonArgs<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = MoreArgs & ProgrammaticArgs & (Cmd extends CliCommandServer ? ServerArgs : Cmd extends CliExtensionCommand ? SubCmd extends CliExtensionSubcommand ? ExtArgs<Cmd, SubCmd> : never : never);
116
+ /**
117
+ * Fully-parsed arguments, containing defaults, computed args, and config file values.
118
+ */
119
+ export type ParsedArgs<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = CommonArgs<Cmd, SubCmd>;
120
+ /**
121
+ * Like {@linkcode ParsedArgs} except server arguments are all optional.
122
+ *
123
+ * _May_ have defaults applied; _may_ contain config values; _may_ contain computed args.
124
+ */
125
+ export type Args<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = Cmd extends CliCommandServer ? SetOptional<CommonArgs<Cmd>, keyof ServerArgs> : ParsedArgs<Cmd, SubCmd>;
126
+ /**
127
+ * Shown by `appium --build-info`
128
+ */
129
+ export type BuildInfo = {
130
+ version: string;
131
+ 'git-sha'?: string;
132
+ built?: string;
133
+ };
134
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../types/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACjE,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,YAAY,CAAC;AACvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AACxC,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAC1C,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,mBAAmB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEzF,MAAM,WAAW,8BAA8B;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WA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CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../types/cli.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /// <reference types="node" />
2
+ import { ExtensionType, DriverType, DriverClass, PluginType, PluginClass } from '@appium/types';
3
+ export * from './manifest';
4
+ export * from './cli';
5
+ /**
6
+ * Known environment variables concerning Appium
7
+ */
8
+ export interface AppiumEnv extends NodeJS.ProcessEnv {
9
+ APPIUM_HOME?: string;
10
+ }
11
+ /**
12
+ * Generic to get at the class of an extension.
13
+ */
14
+ export type ExtClass<ExtType extends ExtensionType> = ExtType extends DriverType ? DriverClass : ExtType extends PluginType ? PluginClass : never;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AAE9F,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AAEtB;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,MAAM,CAAC,UAAU;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,OAAO,SAAS,aAAa,IAAI,OAAO,SAAS,UAAU,GAC5E,WAAW,GACX,OAAO,SAAS,UAAU,GAC1B,WAAW,GACX,KAAK,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./manifest"), exports);
18
+ __exportStar(require("./cli"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,6CAA2B;AAC3B,wCAAsB"}
@@ -0,0 +1,135 @@
1
+ import { DriverType, ExtensionType, PluginType } from '@appium/types';
2
+ import { SchemaObject } from 'ajv';
3
+ import { PackageJson, SetRequired } from 'type-fest';
4
+ /**
5
+ * One of the possible extension installation stratgies
6
+ */
7
+ export type InstallType = 'npm' | 'git' | 'local' | 'github';
8
+ export interface InternalMetadata {
9
+ /**
10
+ * Package name of extension
11
+ *
12
+ * `name` from its `package.json`
13
+ */
14
+ pkgName: string;
15
+ /**
16
+ * Version of extension
17
+ *
18
+ * `version` from its `package.json`
19
+ */
20
+ version: string;
21
+ /**
22
+ * The method in which the user installed the extension (the `source` CLI arg)
23
+ */
24
+ installType: InstallType;
25
+ /**
26
+ * Whatever the user typed as the extension to install. May be derived from `package.json`
27
+ */
28
+ installSpec: string;
29
+ /**
30
+ * Maximum version of Appium that this extension is compatible with.
31
+ *
32
+ * If `undefined`, we'll try anyway.
33
+ */
34
+ appiumVersion?: string;
35
+ }
36
+ /**
37
+ * Shape of the `appium.schema` property in an extension's `package.json` (if it exists)
38
+ */
39
+ export type ExtSchemaMetadata = string | (SchemaObject & {
40
+ [key: number]: never;
41
+ });
42
+ /**
43
+ * Manifest data shared by all extensions, as contained in `package.json`
44
+ */
45
+ export interface CommonExtMetadata {
46
+ /**
47
+ * The main class of the extension.
48
+ *
49
+ * The extension must export this class by name.
50
+ */
51
+ mainClass: string;
52
+ /**
53
+ * Lookup table of scripts to run via `appium <driver|plugin> run <script>` keyed by name.
54
+ */
55
+ scripts?: Record<string, string>;
56
+ /**
57
+ * Schema describing configuration options (and CLI args) for the extension.
58
+ *
59
+ * Can also just be a path (relative to the extension root) to an external JSON schema file.
60
+ */
61
+ schema?: ExtSchemaMetadata;
62
+ }
63
+ /**
64
+ * Driver-specific manifest data as stored in a driver's `package.json`
65
+ */
66
+ export interface DriverMetadata {
67
+ /**
68
+ * Automation name of the driver
69
+ */
70
+ automationName: string;
71
+ /**
72
+ * Platforms the driver supports
73
+ */
74
+ platformNames: string[];
75
+ /**
76
+ * Short name of the driver (displayed in `appium list`, etc.)
77
+ */
78
+ driverName: string;
79
+ }
80
+ /**
81
+ * Plugin-specific manifest data as stored in a plugin's `package.json`
82
+ */
83
+ export interface PluginMetadata {
84
+ /**
85
+ * Short name of the plugin (displayed in `appium list`, etc.)
86
+ */
87
+ pluginName: string;
88
+ }
89
+ /**
90
+ * Generic extension metadata as stored in the `appium` prop of an extension's `package.json`.
91
+ */
92
+ export type ExtMetadata<ExtType extends ExtensionType> = (ExtType extends DriverType ? DriverMetadata : ExtType extends PluginType ? PluginMetadata : never) & CommonExtMetadata;
93
+ /**
94
+ * Combination of external + internal extension data with `driverName`/`pluginName` removed (it becomes a key in an {@linkcode ExtRecord} object).
95
+ * Part of `extensions.yaml`.
96
+ */
97
+ export type ExtManifest<ExtType extends ExtensionType> = Omit<ExtMetadata<ExtType>, 'driverName' | 'pluginName'> & InternalMetadata;
98
+ /**
99
+ * Lookup of extension name to {@linkcode ExtManifest}.
100
+ * @see {ManifestData}
101
+ */
102
+ export type ExtRecord<ExtType extends ExtensionType> = Record<string, ExtManifest<ExtType>>;
103
+ /**
104
+ * The shape of the `extensions.yaml` file
105
+ */
106
+ export interface ManifestData {
107
+ drivers: ExtRecord<DriverType>;
108
+ plugins: ExtRecord<PluginType>;
109
+ schemaRev?: number;
110
+ }
111
+ /**
112
+ * The name of an installed extension, as it appears in `extensions.yaml`
113
+ * (as a property name under `drivers` or `plugins`)
114
+ */
115
+ export type ExtName<ExtType extends ExtensionType> = keyof ExtRecord<ExtType>;
116
+ /**
117
+ * A `package.json` containing extension metadata.
118
+ * Must have the following properties:
119
+ * - `name`: the name of the extension
120
+ * - `version`: the version of the extension
121
+ * - `appium`: the metadata for the extension
122
+ * - `peerDependencies.appium`: the maximum compatible version of Appium
123
+ */
124
+ export type ExtPackageJson<ExtType extends ExtensionType> = SetRequired<PackageJson, 'name' | 'version'> & {
125
+ appium: ExtMetadata<ExtType>;
126
+ peerDependencies: {
127
+ appium: string;
128
+ [key: string]: string;
129
+ };
130
+ };
131
+ /**
132
+ * A transient format between installation and insertion of extension metadata into the manifest.
133
+ */
134
+ export type ExtInstallReceipt<ExtType extends ExtensionType> = ExtMetadata<ExtType> & InternalMetadata;
135
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../types/manifest/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,KAAK,CAAC;AACjC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,C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C/B,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,OAAO,SAAS,aAAa,IAAI,MAAM,SAAS,CAAC,OAAO,CAAC,CAAC;AAE9E;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,aAAa,IAAI,WAAW,CACrE,WAAW,EACX,MAAM,GAAG,SAAS,CACnB,GAAG;IACF,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,gBAAgB,EAAE;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GACjF,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../types/manifest/base.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * See `README.md` for information on how to add a new version of the schema.
3
+ * @module
4
+ */
5
+ import * as ManifestV2 from './base';
6
+ import * as ManifestV3 from './v3';
7
+ import * as ManifestV4 from './v4';
8
+ export * from './v4';
9
+ export { ManifestV2, ManifestV3, ManifestV4 };
10
+ export interface ManifestDataVersions {
11
+ 2: ManifestV2.ManifestData;
12
+ 3: ManifestV3.ManifestData;
13
+ 4: ManifestV4.ManifestData;
14
+ }
15
+ /**
16
+ * One of the known versions of the `extensions.yaml` schema.
17
+ *
18
+ * @privateRemarks You probably don't need to edit this.
19
+ */
20
+ export type AnyManifestDataVersion = ManifestDataVersions[keyof ManifestDataVersions];
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/manifest/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,UAAU,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AAGnC,cAAc,MAAM,CAAC;AAGrB,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC;AAE5C,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;IAC3B,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;IAC3B,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;CAC5B;AAGD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,MAAM,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * See `README.md` for information on how to add a new version of the schema.
4
+ * @module
5
+ */
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
19
+ }) : function(o, v) {
20
+ o["default"] = v;
21
+ });
22
+ var __importStar = (this && this.__importStar) || function (mod) {
23
+ if (mod && mod.__esModule) return mod;
24
+ var result = {};
25
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
26
+ __setModuleDefault(result, mod);
27
+ return result;
28
+ };
29
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
30
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, "__esModule", { value: true });
33
+ exports.ManifestV4 = exports.ManifestV3 = exports.ManifestV2 = void 0;
34
+ const ManifestV2 = __importStar(require("./base"));
35
+ exports.ManifestV2 = ManifestV2;
36
+ const ManifestV3 = __importStar(require("./v3"));
37
+ exports.ManifestV3 = ManifestV3;
38
+ const ManifestV4 = __importStar(require("./v4"));
39
+ exports.ManifestV4 = ManifestV4;
40
+ // add `import * as ManifestV<new-version> from './v<new-version>';` above
41
+ __exportStar(require("./v4"), exports);
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/manifest/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,mDAAqC;AAQ7B,gCAAU;AAPlB,iDAAmC;AAOf,gCAAU;AAN9B,iDAAmC;AAMH,gCAAU;AAL1C,0EAA0E;AAE1E,uCAAqB"}
@@ -0,0 +1,139 @@
1
+ import { DriverType, ExtensionType, PluginType } from '@appium/types';
2
+ import { SchemaObject } from 'ajv';
3
+ import { PackageJson, SetRequired } from 'type-fest';
4
+ /**
5
+ * One of the possible extension installation stratgies
6
+ */
7
+ export type InstallType = 'npm' | 'git' | 'local' | 'github';
8
+ export interface InternalMetadata {
9
+ /**
10
+ * Package name of extension
11
+ *
12
+ * `name` from its `package.json`
13
+ */
14
+ pkgName: string;
15
+ /**
16
+ * Version of extension
17
+ *
18
+ * `version` from its `package.json`
19
+ */
20
+ version: string;
21
+ /**
22
+ * The method in which the user installed the extension (the `source` CLI arg)
23
+ */
24
+ installType: InstallType;
25
+ /**
26
+ * Whatever the user typed as the extension to install. May be derived from `package.json`
27
+ */
28
+ installSpec: string;
29
+ /**
30
+ * Maximum version of Appium that this extension is compatible with.
31
+ *
32
+ * If `undefined`, we'll try anyway.
33
+ */
34
+ appiumVersion?: string;
35
+ /**
36
+ * Path to the extension's root directory
37
+ */
38
+ installPath: string;
39
+ }
40
+ /**
41
+ * Shape of the `appium.schema` property in an extension's `package.json` (if it exists)
42
+ */
43
+ export type ExtSchemaMetadata = string | (SchemaObject & {
44
+ [key: number]: never;
45
+ });
46
+ /**
47
+ * Manifest data shared by all extensions, as contained in `package.json`
48
+ */
49
+ export interface CommonExtMetadata {
50
+ /**
51
+ * The main class of the extension.
52
+ *
53
+ * The extension must export this class by name.
54
+ */
55
+ mainClass: string;
56
+ /**
57
+ * Lookup table of scripts to run via `appium <driver|plugin> run <script>` keyed by name.
58
+ */
59
+ scripts?: Record<string, string>;
60
+ /**
61
+ * Schema describing configuration options (and CLI args) for the extension.
62
+ *
63
+ * Can also just be a path (relative to the extension root) to an external JSON schema file.
64
+ */
65
+ schema?: ExtSchemaMetadata;
66
+ }
67
+ /**
68
+ * Driver-specific manifest data as stored in a driver's `package.json`
69
+ */
70
+ export interface DriverMetadata {
71
+ /**
72
+ * Automation name of the driver
73
+ */
74
+ automationName: string;
75
+ /**
76
+ * Platforms the driver supports
77
+ */
78
+ platformNames: string[];
79
+ /**
80
+ * Short name of the driver (displayed in `appium list`, etc.)
81
+ */
82
+ driverName: string;
83
+ }
84
+ /**
85
+ * Plugin-specific manifest data as stored in a plugin's `package.json`
86
+ */
87
+ export interface PluginMetadata {
88
+ /**
89
+ * Short name of the plugin (displayed in `appium list`, etc.)
90
+ */
91
+ pluginName: string;
92
+ }
93
+ /**
94
+ * Generic extension metadata as stored in the `appium` prop of an extension's `package.json`.
95
+ */
96
+ export type ExtMetadata<ExtType extends ExtensionType> = (ExtType extends DriverType ? DriverMetadata : ExtType extends PluginType ? PluginMetadata : never) & CommonExtMetadata;
97
+ /**
98
+ * Combination of external + internal extension data with `driverName`/`pluginName` removed (it becomes a key in an {@linkcode ExtRecord} object).
99
+ * Part of `extensions.yaml`.
100
+ */
101
+ export type ExtManifest<ExtType extends ExtensionType> = Omit<ExtMetadata<ExtType>, 'driverName' | 'pluginName'> & InternalMetadata;
102
+ /**
103
+ * Lookup of extension name to {@linkcode ExtManifest}.
104
+ * @see {ManifestData}
105
+ */
106
+ export type ExtRecord<ExtType extends ExtensionType> = Record<string, ExtManifest<ExtType>>;
107
+ /**
108
+ * The shape of the `extensions.yaml` file
109
+ */
110
+ export interface ManifestData {
111
+ drivers: ExtRecord<DriverType>;
112
+ plugins: ExtRecord<PluginType>;
113
+ schemaRev: number;
114
+ }
115
+ /**
116
+ * The name of an installed extension, as it appears in `extensions.yaml`
117
+ * (as a property name under `drivers` or `plugins`)
118
+ */
119
+ export type ExtName<ExtType extends ExtensionType> = keyof ExtRecord<ExtType>;
120
+ /**
121
+ * A `package.json` containing extension metadata.
122
+ * Must have the following properties:
123
+ * - `name`: the name of the extension
124
+ * - `version`: the version of the extension
125
+ * - `appium`: the metadata for the extension
126
+ * - `peerDependencies.appium`: the maximum compatible version of Appium
127
+ */
128
+ export type ExtPackageJson<ExtType extends ExtensionType> = SetRequired<PackageJson, 'name' | 'version'> & {
129
+ appium: ExtMetadata<ExtType>;
130
+ peerDependencies: {
131
+ appium: string;
132
+ [key: string]: string;
133
+ };
134
+ };
135
+ /**
136
+ * A transient format between installation and insertion of extension metadata into the manifest.
137
+ */
138
+ export type ExtInstallReceipt<ExtType extends ExtensionType> = ExtMetadata<ExtType> & InternalMetadata;
139
+ //# sourceMappingURL=v3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../../../types/manifest/v3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,KAAK,CAAC;AACjC,OAA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,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,OAAO,SAAS,aAAa,IAAI,IAAI,CAC3D,WAAW,CAAC,OAAO,CAAC,EACpB,YAAY,GAAG,YAAY,CAC5B,GACC,gBAAgB,CAAC;AAEnB;;;GAGG;AACH,MAAM,MAAM,SAAS,CAAC,OAAO,SAAS,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC/B,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,OAAO,SAAS,aAAa,IAAI,MAAM,SAAS,CAAC,OAAO,CAAC,CAAC;AAE9E;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,aAAa,IAAI,WAAW,CACrE,WAAW,EACX,MAAM,GAAG,SAAS,CACnB,GAAG;IACF,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,gBAAgB,EAAE;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GACjF,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.js","sourceRoot":"","sources":["../../../types/manifest/v3.ts"],"names":[],"mappings":""}