eas-cli 27.10.0 → 27.11.0
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 +149 -149
- package/build/commands/simulator/devices.js +4 -3
- package/build/graphql/generated.d.ts +6 -0
- package/build/graphql/queries/DeviceRunSessionQuery.js +2 -0
- package/oclif.manifest.json +1736 -1736
- package/package.json +7 -7
|
@@ -54,16 +54,17 @@ class SimulatorDevices extends EasCommand_1.default {
|
|
|
54
54
|
if (jsonFlag) {
|
|
55
55
|
(0, json_1.printJsonOnlyOutput)(Object.fromEntries(platforms.map(platform => [
|
|
56
56
|
platform,
|
|
57
|
-
profiles[platform].devices.map(({ identifier, displayName }) => ({
|
|
57
|
+
profiles[platform].devices.map(({ identifier, displayName, isDefault }) => ({
|
|
58
58
|
identifier,
|
|
59
59
|
displayName,
|
|
60
|
+
isDefault,
|
|
60
61
|
})),
|
|
61
62
|
])));
|
|
62
63
|
return;
|
|
63
64
|
}
|
|
64
|
-
const devices = platforms.flatMap(platform => profiles[platform].devices.map(({ identifier, displayName }) => ({
|
|
65
|
+
const devices = platforms.flatMap(platform => profiles[platform].devices.map(({ identifier, displayName, isDefault }) => ({
|
|
65
66
|
platform,
|
|
66
|
-
displayName,
|
|
67
|
+
displayName: isDefault ? `${displayName} (default)` : displayName,
|
|
67
68
|
flagValue: formatDeviceFlagValue(identifier),
|
|
68
69
|
})));
|
|
69
70
|
if (devices.length === 0) {
|
|
@@ -1327,6 +1327,8 @@ export type AndroidDeviceRunSessionDevice = {
|
|
|
1327
1327
|
displayName: Scalars['String']['output'];
|
|
1328
1328
|
/** AVD hardware profile id accepted by android.deviceIdentifier (e.g. "pixel_9"). */
|
|
1329
1329
|
identifier: Scalars['String']['output'];
|
|
1330
|
+
/** Whether a session starts this device when it requests no android.deviceIdentifier. */
|
|
1331
|
+
isDefault: Scalars['Boolean']['output'];
|
|
1330
1332
|
};
|
|
1331
1333
|
export type AndroidDeviceRunSessionProfiles = {
|
|
1332
1334
|
__typename?: 'AndroidDeviceRunSessionProfiles';
|
|
@@ -7840,6 +7842,8 @@ export type IosDeviceRunSessionDevice = {
|
|
|
7840
7842
|
displayName: Scalars['String']['output'];
|
|
7841
7843
|
/** Simulator device name accepted by ios.deviceIdentifier (e.g. "iPhone 17 Pro"). */
|
|
7842
7844
|
identifier: Scalars['String']['output'];
|
|
7845
|
+
/** Whether a session starts this device when it requests no ios.deviceIdentifier. */
|
|
7846
|
+
isDefault: Scalars['Boolean']['output'];
|
|
7843
7847
|
};
|
|
7844
7848
|
export type IosDeviceRunSessionProfiles = {
|
|
7845
7849
|
__typename?: 'IosDeviceRunSessionProfiles';
|
|
@@ -20211,6 +20215,7 @@ export type DeviceRunSessionProfilesQuery = {
|
|
|
20211
20215
|
__typename?: 'IosDeviceRunSessionDevice';
|
|
20212
20216
|
identifier: string;
|
|
20213
20217
|
displayName: string;
|
|
20218
|
+
isDefault: boolean;
|
|
20214
20219
|
}>;
|
|
20215
20220
|
};
|
|
20216
20221
|
android: {
|
|
@@ -20219,6 +20224,7 @@ export type DeviceRunSessionProfilesQuery = {
|
|
|
20219
20224
|
__typename?: 'AndroidDeviceRunSessionDevice';
|
|
20220
20225
|
identifier: string;
|
|
20221
20226
|
displayName: string;
|
|
20227
|
+
isDefault: boolean;
|
|
20222
20228
|
}>;
|
|
20223
20229
|
};
|
|
20224
20230
|
};
|