@newly/cli 0.1.113 → 0.1.114

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.
@@ -736,6 +736,9 @@ async function createSimulatorSession(platform, opts) {
736
736
  function registerSimulatorCommands(program, platform) {
737
737
  const label = platform === 'android' ? 'Android emulator' : 'iOS simulator';
738
738
  const article = platform === 'android' ? 'an' : 'an';
739
+ const orientationHelp = platform === 'ios'
740
+ ? 'portrait, landscape_left, or landscape_right; portrait_upside_down returns unsupported_action on iPhone Simulator sessions'
741
+ : 'portrait, portrait_upside_down, landscape_left, or landscape_right';
739
742
  const simulator = program
740
743
  .command(platform)
741
744
  .description(`Create, inspect, interact with, capture, and release ${label} sessions`);
@@ -864,7 +867,7 @@ function registerSimulatorCommands(program, platform) {
864
867
  .command('rotate')
865
868
  .description(`Set the absolute display orientation for ${article} ${label} session`)
866
869
  .argument('<id>', 'session id')
867
- .argument('<orientation>', 'portrait, portrait_upside_down, landscape_left, or landscape_right')).action((id, rawOrientation, opts) => action(() => runSimulatorInteraction(platform, id, {
870
+ .argument('<orientation>', orientationHelp)).action((id, rawOrientation, opts) => action(() => runSimulatorInteraction(platform, id, {
868
871
  action: 'rotate',
869
872
  orientation: simulatorOrientation(rawOrientation),
870
873
  }, opts), opts));
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = '0.1.113';
1
+ export const CLI_VERSION = '0.1.114';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newly/cli",
3
- "version": "0.1.113",
3
+ "version": "0.1.114",
4
4
  "description": "Develop, provision, and deploy Newly backends from your terminal",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",