@devicecloud.dev/dcd 4.4.4 → 4.4.5

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.
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # devicecloud.dev CLI
2
2
 
3
+ > **Notice:** This CLI is being replaced by a new standalone repository at
4
+ > [moropo-com/cli](https://github.com/moropo-com/cli). Active development,
5
+ > releases, and new features (including `dcd login`) live there. The version
6
+ > in this directory is retained for historical reference and will be removed
7
+ > once the migration is complete.
8
+
3
9
  ---
4
10
 
5
11
  One line swap out for Maestro Cloud
@@ -172,6 +172,14 @@ class Cloud extends core_1.Command {
172
172
  this.error(`Maestro version ${resolvedMaestroVersion} is no longer supported. ` +
173
173
  `Please upgrade to a newer version. See: https://docs.devicecloud.dev/configuration/maestro-versions`);
174
174
  }
175
+ const DEPRECATED_MAESTRO_VERSIONS = ['1.39.1', '2.4.0'];
176
+ if (DEPRECATED_MAESTRO_VERSIONS.includes(resolvedMaestroVersion)) {
177
+ this.log(`\n${styling_1.dividers.light}\n` +
178
+ `${styling_1.colors.warning('⚠')} ${styling_1.colors.bold('Deprecation Warning')}\n` +
179
+ styling_1.colors.dim(` Maestro version ${resolvedMaestroVersion} is deprecated and will be removed in a future release.\n`) +
180
+ styling_1.colors.dim(` Please upgrade to a newer version. See: `) + styling_1.colors.info('https://docs.devicecloud.dev/configuration/maestro-versions') + `\n` +
181
+ `${styling_1.dividers.light}\n`);
182
+ }
175
183
  if (retry && retry > 2) {
176
184
  this.log(styling_1.colors.warning('⚠') + ' ' + styling_1.colors.dim("Retries are now free of charge but limited to 2. If your test is still failing after 2 retries, please ask for help on Discord."));
177
185
  flags.retry = 2;
@@ -14,7 +14,6 @@ export declare enum EiOSDevices {
14
14
  'iphone-16-pro-max' = "iphone-16-pro-max"
15
15
  }
16
16
  export declare enum EAndroidDevices {
17
- 'generic-tablet' = "generic-tablet",
18
17
  'pixel-6' = "pixel-6",
19
18
  'pixel-6-pro' = "pixel-6-pro",
20
19
  'pixel-7' = "pixel-7",
@@ -19,7 +19,6 @@ var EiOSDevices;
19
19
  })(EiOSDevices || (exports.EiOSDevices = EiOSDevices = {}));
20
20
  var EAndroidDevices;
21
21
  (function (EAndroidDevices) {
22
- EAndroidDevices["generic-tablet"] = "generic-tablet";
23
22
  EAndroidDevices["pixel-6"] = "pixel-6";
24
23
  EAndroidDevices["pixel-6-pro"] = "pixel-6-pro";
25
24
  EAndroidDevices["pixel-7"] = "pixel-7";