eas-cli 22.4.0 → 22.5.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 +138 -129
- package/build/commands/simulator/index.d.ts +1 -0
- package/build/commands/simulator/index.js +5 -0
- package/oclif.manifest.json +698 -691
- package/package.json +2 -2
|
@@ -18,6 +18,7 @@ export default class Simulator extends EasCommand {
|
|
|
18
18
|
type: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
19
19
|
'package-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
20
20
|
'max-duration-minutes': import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
21
|
+
'max-idle-time-minutes': import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
21
22
|
force: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
22
23
|
'out-config-type': import("@oclif/core/lib/interfaces").OptionFlag<"env" | "dotenv", import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
23
24
|
};
|
|
@@ -80,6 +80,10 @@ class Simulator extends EasCommand_1.default {
|
|
|
80
80
|
description: 'Maximum duration of the simulator session in minutes before it is automatically stopped. Only customizable on paid plans. Defaults to a value derived from the job run priority when omitted.',
|
|
81
81
|
min: 0,
|
|
82
82
|
}),
|
|
83
|
+
'max-idle-time-minutes': core_1.Flags.integer({
|
|
84
|
+
description: 'Stop the simulator session automatically after this many minutes without session activity. When omitted, the session has no idle timeout and runs until its maximum duration.',
|
|
85
|
+
min: 0,
|
|
86
|
+
}),
|
|
83
87
|
force: core_1.Flags.boolean({
|
|
84
88
|
description: '[default: true] Create a new simulator session even when an existing simulator session is present in the environment.',
|
|
85
89
|
default: true,
|
|
@@ -168,6 +172,7 @@ class Simulator extends EasCommand_1.default {
|
|
|
168
172
|
...(launchArgs?.length ? { launchArgs } : {}),
|
|
169
173
|
...(openUrl ? { openUrl } : {}),
|
|
170
174
|
maxRunTimeMinutes: flags['max-duration-minutes'],
|
|
175
|
+
maxIdleTimeMinutes: flags['max-idle-time-minutes'],
|
|
171
176
|
});
|
|
172
177
|
deviceRunSessionId = session.id;
|
|
173
178
|
(0, nullthrows_1.default)(session.turtleJobRun?.id, 'Expected simulator session to start');
|