eas-cli 25.3.0 → 27.1.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.
Files changed (81) hide show
  1. package/README.md +268 -198
  2. package/build/build/build.js +6 -0
  3. package/build/build/createContext.d.ts +4 -3
  4. package/build/build/createContext.js +1 -4
  5. package/build/build/errors.d.ts +2 -0
  6. package/build/build/errors.js +4 -1
  7. package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
  8. package/build/build/runBuildAndSubmit.d.ts +7 -2
  9. package/build/build/runBuildAndSubmit.js +9 -8
  10. package/build/build/utils/expoTokenRole.d.ts +4 -0
  11. package/build/build/utils/expoTokenRole.js +14 -0
  12. package/build/commandUtils/EasCommand.js +3 -3
  13. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +2 -2
  14. package/build/commandUtils/context/DynamicProjectConfigContextField.js +40 -61
  15. package/build/commandUtils/context/LoggedInContextField.js +1 -2
  16. package/build/commandUtils/context/MaybeLoggedInContextField.js +1 -2
  17. package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +3 -1
  18. package/build/commandUtils/context/PrivateProjectConfigContextField.js +3 -1
  19. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
  20. package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +1 -0
  21. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +5 -2
  22. package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
  23. package/build/commandUtils/workflow/referencedFiles.js +63 -0
  24. package/build/commandUtils/workflow/types.d.ts +1 -1
  25. package/build/commandUtils/workflow/utils.js +34 -5
  26. package/build/commands/account/login.js +6 -0
  27. package/build/commands/account/view.d.ts +0 -7
  28. package/build/commands/account/view.js +4 -74
  29. package/build/commands/browse.js +1 -1
  30. package/build/commands/build/dev.js +3 -3
  31. package/build/commands/channel/delete.js +1 -1
  32. package/build/commands/channel/rollout.js +1 -1
  33. package/build/commands/credentials/configure-build.js +1 -1
  34. package/build/commands/deploy/alias/delete.js +1 -1
  35. package/build/commands/deploy/alias/index.js +1 -1
  36. package/build/commands/deploy/delete.js +1 -1
  37. package/build/commands/go.js +1 -1
  38. package/build/commands/observe/event.js +1 -1
  39. package/build/commands/observe/events.js +1 -1
  40. package/build/commands/project/new.js +1 -1
  41. package/build/commands/simulator/control.js +42 -7
  42. package/build/commands/simulator/get.js +14 -1
  43. package/build/commands/simulator/index.js +12 -4
  44. package/build/commands/simulator/logs.d.ts +22 -0
  45. package/build/commands/simulator/logs.js +188 -0
  46. package/build/commands/workflow/cancel.js +9 -20
  47. package/build/commands/workflow/list.js +1 -1
  48. package/build/commands/workflow/logs.js +1 -1
  49. package/build/commands/workflow/run.js +10 -1
  50. package/build/commands/workflow/runs.js +1 -1
  51. package/build/commands/workflow/status.js +1 -1
  52. package/build/commands/workflow/view.js +1 -1
  53. package/build/graphql/generated.d.ts +438 -115
  54. package/build/graphql/generated.js +40 -9
  55. package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
  56. package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
  57. package/build/graphql/queries/DeviceRunSessionQuery.d.ts +8 -1
  58. package/build/graphql/queries/DeviceRunSessionQuery.js +67 -0
  59. package/build/graphql/queries/WorkflowRunQuery.js +6 -0
  60. package/build/graphql/types/WorkflowRun.js +1 -0
  61. package/build/help.js +13 -6
  62. package/build/log.d.ts +2 -0
  63. package/build/log.js +10 -0
  64. package/build/project/projectStatus.js +1 -0
  65. package/build/simulator/artifacts.d.ts +9 -0
  66. package/build/simulator/artifacts.js +97 -0
  67. package/build/simulator/download.d.ts +2 -0
  68. package/build/simulator/download.js +57 -0
  69. package/build/simulator/events.js +2 -10
  70. package/build/simulator/jobRunErrors.d.ts +22 -0
  71. package/build/simulator/jobRunErrors.js +134 -0
  72. package/build/simulator/preview.d.ts +26 -0
  73. package/build/simulator/preview.js +156 -0
  74. package/build/simulator/utils.d.ts +5 -0
  75. package/build/simulator/utils.js +42 -0
  76. package/build/user/SessionManager.d.ts +10 -0
  77. package/build/user/SessionManager.js +12 -0
  78. package/build/user/accountPermissions.d.ts +11 -0
  79. package/build/user/accountPermissions.js +89 -0
  80. package/oclif.manifest.json +169 -21
  81. package/package.json +7 -7
@@ -101,7 +101,7 @@
101
101
  "required": false
102
102
  }
103
103
  },
104
- "description": "Transition from the terminal to the web browser to view and interact with your project on https://expo.dev",
104
+ "description": "transition from the terminal to the web browser to view and interact with your project on https://expo.dev",
105
105
  "flags": {
106
106
  "no-browser": {
107
107
  "char": "n",
@@ -371,7 +371,7 @@
371
371
  "go": {
372
372
  "aliases": [],
373
373
  "args": {},
374
- "description": "Create a custom Expo Go and submit to TestFlight",
374
+ "description": "create a custom Expo Go and submit to TestFlight",
375
375
  "flags": {
376
376
  "bundle-id": {
377
377
  "description": "iOS bundle identifier (auto-generated if not provided)",
@@ -3803,7 +3803,7 @@
3803
3803
  "required": false
3804
3804
  }
3805
3805
  },
3806
- "description": "Delete a channel",
3806
+ "description": "delete a channel",
3807
3807
  "flags": {
3808
3808
  "json": {
3809
3809
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
@@ -4502,7 +4502,7 @@
4502
4502
  "name": "channel"
4503
4503
  }
4504
4504
  },
4505
- "description": "Roll a new branch out on a channel incrementally.",
4505
+ "description": "roll a new branch out on a channel incrementally",
4506
4506
  "flags": {
4507
4507
  "action": {
4508
4508
  "description": "Rollout action to perform",
@@ -4858,7 +4858,7 @@
4858
4858
  "credentials:configure-build": {
4859
4859
  "aliases": [],
4860
4860
  "args": {},
4861
- "description": "Set up credentials for building your project.",
4861
+ "description": "set up credentials for building your project",
4862
4862
  "flags": {
4863
4863
  "platform": {
4864
4864
  "char": "p",
@@ -5045,7 +5045,7 @@
5045
5045
  "name": "DEPLOYMENT_ID"
5046
5046
  }
5047
5047
  },
5048
- "description": "Delete a deployment.",
5048
+ "description": "delete a deployment",
5049
5049
  "flags": {
5050
5050
  "json": {
5051
5051
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
@@ -7566,7 +7566,7 @@
7566
7566
  "required": true
7567
7567
  }
7568
7568
  },
7569
- "description": "display a single Observe event (metric, log, or error) by its ID. IDs are included in event data when the `--json` flag is passed to `eas observe:session`, `eas observe:metrics`, or `eas observe:events`.",
7569
+ "description": "display a single Observe event (metric, log, or error) by its ID. IDs are included in event data when the `--json` flag is passed to `eas observe:session`, `eas observe:metrics`, or `eas observe:events`",
7570
7570
  "flags": {
7571
7571
  "project-id": {
7572
7572
  "description": "EAS project ID (defaults to the project ID of the current directory)",
@@ -7663,7 +7663,7 @@
7663
7663
  "required": false
7664
7664
  }
7665
7665
  },
7666
- "description": "display individual events emitted by the app via `logEvent`, filtered by the event name in the argument. With no arguments, a list of the available event names and associated event counts is returned.",
7666
+ "description": "display individual events emitted by the app via `logEvent`, filtered by the event name in the argument. With no arguments, a list of the available event names and associated event counts is returned",
7667
7667
  "flags": {
7668
7668
  "platform": {
7669
7669
  "description": "Filter by platform (\"apple\" covers iOS, iPadOS, tvOS, and macOS)",
@@ -9053,7 +9053,7 @@
9053
9053
  "required": false
9054
9054
  }
9055
9055
  },
9056
- "description": "Create a new project configured with Expo Application Services (EAS)",
9056
+ "description": "create a new project configured with Expo Application Services (EAS)",
9057
9057
  "flags": {
9058
9058
  "package-manager": {
9059
9059
  "char": "p",
@@ -9719,7 +9719,7 @@
9719
9719
  "name": "action"
9720
9720
  }
9721
9721
  },
9722
- "description": "[EXPERIMENTAL] run a serve-sim action on a remote iOS simulator session on EAS. Run without an action to list the actions the session supports. To save a screenshot locally, run `eas simulator:control screenshot.capture --output ./screenshot.png`.",
9722
+ "description": "[EXPERIMENTAL] run a serve-sim action on a remote iOS simulator session on EAS. Run without an action to list the actions the session supports. To save a screenshot locally, run `eas simulator:control screenshot.capture --output ./screenshot.png`",
9723
9723
  "examples": [
9724
9724
  "$ eas simulator:control",
9725
9725
  "$ eas simulator:control --id <session-id>",
@@ -10098,7 +10098,7 @@
10098
10098
  "sim:get"
10099
10099
  ],
10100
10100
  "args": {},
10101
- "description": "[EXPERIMENTAL] get info about a remote simulator session on EAS by its simulator session ID. Preview links follow the session's saved sharing preference.",
10101
+ "description": "[EXPERIMENTAL] get info about a remote simulator session on EAS by its simulator session ID. Preview links follow the session's saved sharing preference",
10102
10102
  "flags": {
10103
10103
  "id": {
10104
10104
  "description": "Simulator session ID. Defaults to .env.eas-simulator.",
@@ -10192,7 +10192,7 @@
10192
10192
  "sim:start"
10193
10193
  ],
10194
10194
  "args": {},
10195
- "description": "[EXPERIMENTAL] start a remote simulator session on EAS and get instructions to connect to it. The default browser preview link requires sign-in.",
10195
+ "description": "[EXPERIMENTAL] start a remote simulator session on EAS and get instructions to connect to it. The default browser preview link requires sign-in",
10196
10196
  "flags": {
10197
10197
  "platform": {
10198
10198
  "char": "p",
@@ -10659,6 +10659,154 @@
10659
10659
  "list.js"
10660
10660
  ]
10661
10661
  },
10662
+ "simulator:logs": {
10663
+ "aliases": [
10664
+ "sim:logs"
10665
+ ],
10666
+ "args": {},
10667
+ "description": "[EXPERIMENTAL] show buffered logs from a remote iOS simulator session",
10668
+ "examples": [
10669
+ "<%= config.bin %> simulator:logs --follow",
10670
+ "<%= config.bin %> simulator:logs --json"
10671
+ ],
10672
+ "flags": {
10673
+ "id": {
10674
+ "description": "Simulator session ID. Defaults to .env.eas-simulator.",
10675
+ "name": "id",
10676
+ "hasDynamicHelp": false,
10677
+ "multiple": false,
10678
+ "type": "option"
10679
+ },
10680
+ "artifact": {
10681
+ "description": "Artifact index to download from a stopped session (1-based).",
10682
+ "name": "artifact",
10683
+ "hasDynamicHelp": false,
10684
+ "multiple": false,
10685
+ "type": "option"
10686
+ },
10687
+ "output": {
10688
+ "char": "o",
10689
+ "description": "Save a stopped session artifact to this path.",
10690
+ "name": "output",
10691
+ "hasDynamicHelp": false,
10692
+ "multiple": false,
10693
+ "type": "option"
10694
+ },
10695
+ "follow": {
10696
+ "char": "f",
10697
+ "description": "Stream new logs. Start following before performing actions to collect them.",
10698
+ "exclusive": [
10699
+ "json"
10700
+ ],
10701
+ "name": "follow",
10702
+ "allowNo": false,
10703
+ "type": "boolean"
10704
+ },
10705
+ "scope": {
10706
+ "description": "Show user app logs or all device logs while the session runs.",
10707
+ "name": "scope",
10708
+ "default": "user-apps",
10709
+ "hasDynamicHelp": false,
10710
+ "multiple": false,
10711
+ "options": [
10712
+ "user-apps",
10713
+ "all"
10714
+ ],
10715
+ "type": "option"
10716
+ },
10717
+ "limit": {
10718
+ "description": "Maximum number of buffered log lines to show while the session runs.",
10719
+ "name": "limit",
10720
+ "default": 100,
10721
+ "hasDynamicHelp": false,
10722
+ "multiple": false,
10723
+ "type": "option"
10724
+ },
10725
+ "timestamp": {
10726
+ "description": "Show timestamps in live human-readable log output.",
10727
+ "name": "timestamp",
10728
+ "allowNo": false,
10729
+ "type": "boolean"
10730
+ },
10731
+ "json": {
10732
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
10733
+ "name": "json",
10734
+ "allowNo": false,
10735
+ "type": "boolean"
10736
+ },
10737
+ "non-interactive": {
10738
+ "description": "Run the command in non-interactive mode.",
10739
+ "name": "non-interactive",
10740
+ "noCacheDefault": true,
10741
+ "allowNo": false,
10742
+ "type": "boolean"
10743
+ }
10744
+ },
10745
+ "hasDynamicHelp": false,
10746
+ "hiddenAliases": [],
10747
+ "id": "simulator:logs",
10748
+ "pluginAlias": "eas-cli",
10749
+ "pluginName": "eas-cli",
10750
+ "pluginType": "core",
10751
+ "strict": true,
10752
+ "enableJsonFlag": false,
10753
+ "ContextOptions": {
10754
+ "LoggedIn": {
10755
+ "loggedIn": {}
10756
+ },
10757
+ "MaybeLoggedIn": {
10758
+ "maybeLoggedIn": {}
10759
+ },
10760
+ "DynamicLoggedIn": {
10761
+ "getDynamicLoggedInAsync": {}
10762
+ },
10763
+ "SessionManagment": {
10764
+ "sessionManager": {}
10765
+ },
10766
+ "OptionalProjectConfig": {
10767
+ "optionalPrivateProjectConfig": {}
10768
+ },
10769
+ "ProjectDir": {
10770
+ "projectDir": {}
10771
+ },
10772
+ "DynamicProjectConfig": {
10773
+ "getDynamicPublicProjectConfigAsync": {},
10774
+ "getDynamicPrivateProjectConfigAsync": {}
10775
+ },
10776
+ "ProjectConfig": {
10777
+ "loggedIn": {},
10778
+ "privateProjectConfig": {}
10779
+ },
10780
+ "Analytics": {
10781
+ "analytics": {}
10782
+ },
10783
+ "Vcs": {
10784
+ "vcsClient": {}
10785
+ },
10786
+ "ServerSideEnvironmentVariables": {
10787
+ "getServerSideEnvironmentVariablesAsync": {}
10788
+ },
10789
+ "ProjectId": {
10790
+ "projectId": {}
10791
+ },
10792
+ "Experimentation": {
10793
+ "experimentation": {
10794
+ "clientByAnalytics": {}
10795
+ }
10796
+ }
10797
+ },
10798
+ "contextDefinition": {
10799
+ "loggedIn": {},
10800
+ "projectDir": {}
10801
+ },
10802
+ "isESM": false,
10803
+ "relativePath": [
10804
+ "build",
10805
+ "commands",
10806
+ "simulator",
10807
+ "logs.js"
10808
+ ]
10809
+ },
10662
10810
  "simulator:stop": {
10663
10811
  "aliases": [
10664
10812
  "sim:stop"
@@ -13607,7 +13755,7 @@
13607
13755
  "workflow:cancel": {
13608
13756
  "aliases": [],
13609
13757
  "args": {},
13610
- "description": "Cancel one or more workflow runs. If no workflow run IDs are provided, you will be prompted to select IN_PROGRESS runs to cancel.",
13758
+ "description": "cancel one or more workflow runs. If no workflow run IDs are provided, you will be prompted to select in-progress or queued runs to cancel",
13611
13759
  "flags": {
13612
13760
  "non-interactive": {
13613
13761
  "description": "Run the command in non-interactive mode.",
@@ -13784,7 +13932,7 @@
13784
13932
  "workflow:list": {
13785
13933
  "aliases": [],
13786
13934
  "args": {},
13787
- "description": "List workflows for the current project",
13935
+ "description": "list workflows for the current project",
13788
13936
  "flags": {
13789
13937
  "json": {
13790
13938
  "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
@@ -13867,7 +14015,7 @@
13867
14015
  "name": "id"
13868
14016
  }
13869
14017
  },
13870
- "description": "view logs for a workflow run, selecting a job and step to view. You can pass in either a workflow run ID or a job ID. If no ID is passed in, you will be prompted to select from recent workflow runs for the current project.",
14018
+ "description": "view logs for a workflow run, selecting a job and step to view. You can pass in either a workflow run ID or a job ID. If no ID is passed in, you will be prompted to select from recent workflow runs for the current project",
13871
14019
  "flags": {
13872
14020
  "json": {
13873
14021
  "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
@@ -13963,7 +14111,7 @@
13963
14111
  "required": true
13964
14112
  }
13965
14113
  },
13966
- "description": "run an EAS workflow. The entire local project directory will be packaged and uploaded to EAS servers for the workflow run, unless the --ref flag is used.",
14114
+ "description": "run an EAS workflow. The entire local project directory will be packaged and uploaded to EAS servers for the workflow run, unless the --ref flag is used",
13967
14115
  "flags": {
13968
14116
  "non-interactive": {
13969
14117
  "description": "Run the command in non-interactive mode.",
@@ -14284,7 +14432,7 @@
14284
14432
  "name": "WORKFLOW_RUN_ID"
14285
14433
  }
14286
14434
  },
14287
- "description": "show the status of an existing workflow run. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project.",
14435
+ "description": "show the status of an existing workflow run. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project",
14288
14436
  "flags": {
14289
14437
  "non-interactive": {
14290
14438
  "description": "Run the command in non-interactive mode.",
@@ -14470,7 +14618,7 @@
14470
14618
  "name": "id"
14471
14619
  }
14472
14620
  },
14473
- "description": "view details for a workflow run, including jobs. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project.",
14621
+ "description": "view details for a workflow run, including jobs. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project",
14474
14622
  "flags": {
14475
14623
  "json": {
14476
14624
  "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
@@ -14860,7 +15008,7 @@
14860
15008
  "name": "ALIAS_NAME"
14861
15009
  }
14862
15010
  },
14863
- "description": "Delete deployment aliases.",
15011
+ "description": "delete deployment aliases",
14864
15012
  "flags": {
14865
15013
  "json": {
14866
15014
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
@@ -14951,7 +15099,7 @@
14951
15099
  "deploy:promote"
14952
15100
  ],
14953
15101
  "args": {},
14954
- "description": "Assign deployment aliases.",
15102
+ "description": "assign deployment aliases",
14955
15103
  "flags": {
14956
15104
  "prod": {
14957
15105
  "aliases": [
@@ -17602,5 +17750,5 @@
17602
17750
  ]
17603
17751
  }
17604
17752
  },
17605
- "version": "25.3.0"
17753
+ "version": "27.1.0"
17606
17754
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eas-cli",
3
- "version": "25.3.0",
3
+ "version": "27.1.0",
4
4
  "description": "EAS command line tool",
5
5
  "keywords": [
6
6
  "cli",
@@ -48,12 +48,12 @@
48
48
  "@expo/code-signing-certificates": "0.0.5",
49
49
  "@expo/config": "55.0.10",
50
50
  "@expo/config-plugins": "55.0.7",
51
- "@expo/eas-build-job": "25.3.0",
52
- "@expo/eas-json": "25.3.0",
51
+ "@expo/eas-build-job": "27.1.0",
52
+ "@expo/eas-json": "27.1.0",
53
53
  "@expo/env": "^1.0.0",
54
54
  "@expo/experimentation": "0.0.5",
55
55
  "@expo/json-file": "8.3.3",
56
- "@expo/logger": "25.3.0",
56
+ "@expo/logger": "27.1.0",
57
57
  "@expo/multipart-body-parser": "2.0.0",
58
58
  "@expo/osascript": "2.1.4",
59
59
  "@expo/package-manager": "1.9.10",
@@ -65,7 +65,7 @@
65
65
  "@expo/results": "1.0.0",
66
66
  "@expo/rudder-sdk-node": "1.1.1",
67
67
  "@expo/spawn-async": "1.7.2",
68
- "@expo/steps": "25.3.0",
68
+ "@expo/steps": "27.1.0",
69
69
  "@expo/timeago.js": "1.0.0",
70
70
  "@oclif/core": "^4.8.3",
71
71
  "@oclif/plugin-autocomplete": "^3.2.40",
@@ -252,7 +252,7 @@
252
252
  },
253
253
  "update": {
254
254
  "node": {
255
- "version": "22.23.3"
255
+ "version": "22.23.4"
256
256
  },
257
257
  "s3": {
258
258
  "templates": {
@@ -271,5 +271,5 @@
271
271
  "engines": {
272
272
  "node": "^20.18.3 || >=22.0.0"
273
273
  },
274
- "gitHead": "44b63e5a7dfecb6f3bb2ddcb6157355bcc43c998"
274
+ "gitHead": "88e23aaa09673a3f6c3a23634167b3054d2e6fce"
275
275
  }