eas-cli 18.7.0 → 18.8.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 (41) hide show
  1. package/README.md +147 -90
  2. package/build/channel/insights/formatInsights.d.ts +47 -0
  3. package/build/channel/insights/formatInsights.js +108 -0
  4. package/build/commands/channel/insights.d.ts +18 -0
  5. package/build/commands/channel/insights.js +71 -0
  6. package/build/commands/observe/events.d.ts +1 -0
  7. package/build/commands/observe/events.js +17 -4
  8. package/build/commands/observe/metrics.d.ts +1 -0
  9. package/build/commands/observe/metrics.js +18 -6
  10. package/build/commands/observe/versions.d.ts +1 -0
  11. package/build/commands/observe/versions.js +17 -4
  12. package/build/commands/update/insights.d.ts +19 -0
  13. package/build/commands/update/insights.js +75 -0
  14. package/build/commands/update/view.d.ts +4 -0
  15. package/build/commands/update/view.js +47 -2
  16. package/build/credentials/ios/appstore/capabilityIdentifiers.js +28 -3
  17. package/build/graphql/client.d.ts +13 -0
  18. package/build/graphql/client.js +36 -1
  19. package/build/graphql/generated.d.ts +193 -0
  20. package/build/graphql/generated.js +8 -2
  21. package/build/graphql/queries/ChannelInsightsQuery.d.ts +12 -0
  22. package/build/graphql/queries/ChannelInsightsQuery.js +81 -0
  23. package/build/graphql/queries/UpdateInsightsQuery.d.ts +10 -0
  24. package/build/graphql/queries/UpdateInsightsQuery.js +53 -0
  25. package/build/graphql/types/Observe.js +1 -0
  26. package/build/insights/formatTimespan.d.ts +7 -0
  27. package/build/insights/formatTimespan.js +15 -0
  28. package/build/insights/timeRange.d.ts +10 -0
  29. package/build/insights/timeRange.js +10 -0
  30. package/build/metadata/apple/tasks/previews.js +41 -15
  31. package/build/observe/formatEvents.d.ts +3 -0
  32. package/build/observe/formatEvents.js +4 -0
  33. package/build/observe/formatMetrics.d.ts +3 -2
  34. package/build/observe/formatMetrics.js +16 -27
  35. package/build/observe/formatVersions.js +2 -8
  36. package/build/update/insights/formatInsights.d.ts +34 -0
  37. package/build/update/insights/formatInsights.js +128 -0
  38. package/build/utils/renderTextTable.d.ts +6 -0
  39. package/build/utils/renderTextTable.js +23 -0
  40. package/oclif.manifest.json +585 -287
  41. package/package.json +5 -5
@@ -3288,6 +3288,132 @@
3288
3288
  "edit.js"
3289
3289
  ]
3290
3290
  },
3291
+ "channel:insights": {
3292
+ "aliases": [],
3293
+ "args": {},
3294
+ "description": "display adoption, crash, and unique-user insights for a channel + runtime version",
3295
+ "flags": {
3296
+ "channel": {
3297
+ "description": "Name of the channel.",
3298
+ "name": "channel",
3299
+ "required": true,
3300
+ "hasDynamicHelp": false,
3301
+ "multiple": false,
3302
+ "type": "option"
3303
+ },
3304
+ "runtime-version": {
3305
+ "description": "Runtime version to query insights for.",
3306
+ "name": "runtime-version",
3307
+ "required": true,
3308
+ "hasDynamicHelp": false,
3309
+ "multiple": false,
3310
+ "type": "option"
3311
+ },
3312
+ "days": {
3313
+ "description": "Show insights from the last N days (default 7, mutually exclusive with --start/--end).",
3314
+ "exclusive": [
3315
+ "start",
3316
+ "end"
3317
+ ],
3318
+ "name": "days",
3319
+ "hasDynamicHelp": false,
3320
+ "multiple": false,
3321
+ "type": "option"
3322
+ },
3323
+ "start": {
3324
+ "description": "Start of insights time range (ISO date).",
3325
+ "exclusive": [
3326
+ "days"
3327
+ ],
3328
+ "name": "start",
3329
+ "hasDynamicHelp": false,
3330
+ "multiple": false,
3331
+ "type": "option"
3332
+ },
3333
+ "end": {
3334
+ "description": "End of insights time range (ISO date).",
3335
+ "exclusive": [
3336
+ "days"
3337
+ ],
3338
+ "name": "end",
3339
+ "hasDynamicHelp": false,
3340
+ "multiple": false,
3341
+ "type": "option"
3342
+ },
3343
+ "json": {
3344
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
3345
+ "name": "json",
3346
+ "allowNo": false,
3347
+ "type": "boolean"
3348
+ },
3349
+ "non-interactive": {
3350
+ "description": "Run the command in non-interactive mode.",
3351
+ "name": "non-interactive",
3352
+ "noCacheDefault": true,
3353
+ "allowNo": false,
3354
+ "type": "boolean"
3355
+ }
3356
+ },
3357
+ "hasDynamicHelp": false,
3358
+ "hiddenAliases": [],
3359
+ "id": "channel:insights",
3360
+ "pluginAlias": "eas-cli",
3361
+ "pluginName": "eas-cli",
3362
+ "pluginType": "core",
3363
+ "strict": true,
3364
+ "enableJsonFlag": false,
3365
+ "ContextOptions": {
3366
+ "LoggedIn": {
3367
+ "loggedIn": {}
3368
+ },
3369
+ "MaybeLoggedIn": {
3370
+ "maybeLoggedIn": {}
3371
+ },
3372
+ "DynamicLoggedIn": {
3373
+ "getDynamicLoggedInAsync": {}
3374
+ },
3375
+ "SessionManagment": {
3376
+ "sessionManager": {}
3377
+ },
3378
+ "OptionalProjectConfig": {
3379
+ "optionalPrivateProjectConfig": {}
3380
+ },
3381
+ "ProjectDir": {
3382
+ "projectDir": {}
3383
+ },
3384
+ "DynamicProjectConfig": {
3385
+ "getDynamicPublicProjectConfigAsync": {},
3386
+ "getDynamicPrivateProjectConfigAsync": {}
3387
+ },
3388
+ "ProjectConfig": {
3389
+ "loggedIn": {},
3390
+ "privateProjectConfig": {}
3391
+ },
3392
+ "Analytics": {
3393
+ "analytics": {}
3394
+ },
3395
+ "Vcs": {
3396
+ "vcsClient": {}
3397
+ },
3398
+ "ServerSideEnvironmentVariables": {
3399
+ "getServerSideEnvironmentVariablesAsync": {}
3400
+ },
3401
+ "ProjectId": {
3402
+ "projectId": {}
3403
+ }
3404
+ },
3405
+ "contextDefinition": {
3406
+ "projectId": {},
3407
+ "loggedIn": {}
3408
+ },
3409
+ "isESM": false,
3410
+ "relativePath": [
3411
+ "build",
3412
+ "commands",
3413
+ "channel",
3414
+ "insights.js"
3415
+ ]
3416
+ },
3291
3417
  "channel:list": {
3292
3418
  "aliases": [],
3293
3419
  "args": {},
@@ -4898,86 +5024,18 @@
4898
5024
  "update.js"
4899
5025
  ]
4900
5026
  },
4901
- "fingerprint:compare": {
5027
+ "device:create": {
4902
5028
  "aliases": [],
4903
- "args": {
4904
- "hash1": {
4905
- "description": "If provided alone, HASH1 is compared against the current project's fingerprint.",
4906
- "name": "hash1",
4907
- "required": false
4908
- },
4909
- "hash2": {
4910
- "description": "If two hashes are provided, HASH1 is compared against HASH2.",
4911
- "name": "hash2",
4912
- "required": false
4913
- }
4914
- },
4915
- "description": "compare fingerprints of the current project, builds, and updates",
4916
- "examples": [
4917
- "$ eas fingerprint:compare \t # Compare fingerprints in interactive mode",
4918
- "$ eas fingerprint:compare <FINGERPRINT-HASH> \t # Compare fingerprint against local directory",
4919
- "$ eas fingerprint:compare <FINGERPRINT-HASH-1> <FINGERPRINT-HASH-2> \t # Compare provided fingerprints",
4920
- "$ eas fingerprint:compare --build-id <BUILD-ID> \t # Compare fingerprint from build against local directory",
4921
- "$ eas fingerprint:compare --build-id <BUILD-ID> --environment production \t # Compare fingerprint from build against local directory with the \"production\" environment",
4922
- "$ eas fingerprint:compare --build-id <BUILD-ID-1> --build-id <BUILD-ID-2>\t # Compare fingerprint from a build against another build",
4923
- "$ eas fingerprint:compare --build-id <BUILD-ID> --update-id <UPDATE-ID>\t # Compare fingerprint from build against fingerprint from update",
4924
- "$ eas fingerprint:compare <FINGERPRINT-HASH> --update-id <UPDATE-ID> \t # Compare fingerprint from update against provided fingerprint"
4925
- ],
4926
- "flags": {
4927
- "build-id": {
4928
- "aliases": [
4929
- "buildId"
4930
- ],
4931
- "description": "Compare the fingerprint with the build with the specified ID",
4932
- "name": "build-id",
4933
- "hasDynamicHelp": false,
4934
- "multiple": true,
4935
- "type": "option"
4936
- },
4937
- "update-id": {
4938
- "aliases": [
4939
- "updateId"
4940
- ],
4941
- "description": "Compare the fingerprint with the update with the specified ID",
4942
- "name": "update-id",
4943
- "hasDynamicHelp": false,
4944
- "multiple": true,
4945
- "type": "option"
4946
- },
4947
- "open": {
4948
- "description": "Open the fingerprint comparison in the browser",
4949
- "name": "open",
4950
- "allowNo": false,
4951
- "type": "boolean"
4952
- },
4953
- "environment": {
4954
- "description": "If generating a fingerprint from the local directory, use the specified environment.",
4955
- "name": "environment",
4956
- "hasDynamicHelp": false,
4957
- "multiple": false,
4958
- "type": "option"
4959
- },
4960
- "json": {
4961
- "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
4962
- "name": "json",
4963
- "allowNo": false,
4964
- "type": "boolean"
4965
- },
4966
- "non-interactive": {
4967
- "description": "Run the command in non-interactive mode.",
4968
- "name": "non-interactive",
4969
- "noCacheDefault": true,
4970
- "allowNo": false,
4971
- "type": "boolean"
4972
- }
4973
- },
5029
+ "args": {},
5030
+ "description": "register new Apple Devices to use for internal distribution",
5031
+ "flags": {},
4974
5032
  "hasDynamicHelp": false,
4975
5033
  "hiddenAliases": [],
4976
- "id": "fingerprint:compare",
5034
+ "id": "device:create",
4977
5035
  "pluginAlias": "eas-cli",
4978
5036
  "pluginName": "eas-cli",
4979
5037
  "pluginType": "core",
4980
- "strict": false,
5038
+ "strict": true,
4981
5039
  "enableJsonFlag": false,
4982
5040
  "ContextOptions": {
4983
5041
  "LoggedIn": {
@@ -5020,59 +5078,32 @@
5020
5078
  }
5021
5079
  },
5022
5080
  "contextDefinition": {
5023
- "projectId": {},
5024
5081
  "loggedIn": {},
5025
- "privateProjectConfig": {},
5026
- "vcsClient": {},
5027
- "getServerSideEnvironmentVariablesAsync": {}
5082
+ "optionalPrivateProjectConfig": {}
5028
5083
  },
5029
5084
  "isESM": false,
5030
5085
  "relativePath": [
5031
5086
  "build",
5032
5087
  "commands",
5033
- "fingerprint",
5034
- "compare.js"
5088
+ "device",
5089
+ "create.js"
5035
5090
  ]
5036
5091
  },
5037
- "fingerprint:generate": {
5092
+ "device:delete": {
5038
5093
  "aliases": [],
5039
5094
  "args": {},
5040
- "description": "generate fingerprints from the current project",
5041
- "examples": [
5042
- "$ eas fingerprint:generate \t # Generate fingerprint in interactive mode",
5043
- "$ eas fingerprint:generate --build-profile preview \t # Generate a fingerprint using the \"preview\" build profile",
5044
- "$ eas fingerprint:generate --environment preview \t # Generate a fingerprint using the \"preview\" environment",
5045
- "$ eas fingerprint:generate --json --non-interactive --platform android \t # Output fingerprint json to stdout"
5046
- ],
5095
+ "description": "remove a registered device from your account",
5047
5096
  "flags": {
5048
- "platform": {
5049
- "char": "p",
5050
- "name": "platform",
5051
- "hasDynamicHelp": false,
5052
- "multiple": false,
5053
- "options": [
5054
- "android",
5055
- "ios"
5056
- ],
5057
- "type": "option"
5058
- },
5059
- "environment": {
5060
- "description": "Environment variable's environment, e.g. 'production', 'preview', 'development'",
5061
- "exclusive": [
5062
- "build-profile"
5063
- ],
5064
- "name": "environment",
5097
+ "apple-team-id": {
5098
+ "description": "The Apple team ID on which to find the device",
5099
+ "name": "apple-team-id",
5065
5100
  "hasDynamicHelp": false,
5066
5101
  "multiple": false,
5067
5102
  "type": "option"
5068
5103
  },
5069
- "build-profile": {
5070
- "char": "e",
5071
- "description": "Name of the build profile from eas.json.",
5072
- "exclusive": [
5073
- "environment"
5074
- ],
5075
- "name": "build-profile",
5104
+ "udid": {
5105
+ "description": "The Apple device ID to disable",
5106
+ "name": "udid",
5076
5107
  "hasDynamicHelp": false,
5077
5108
  "multiple": false,
5078
5109
  "type": "option"
@@ -5093,11 +5124,11 @@
5093
5124
  },
5094
5125
  "hasDynamicHelp": false,
5095
5126
  "hiddenAliases": [],
5096
- "id": "fingerprint:generate",
5127
+ "id": "device:delete",
5097
5128
  "pluginAlias": "eas-cli",
5098
5129
  "pluginName": "eas-cli",
5099
5130
  "pluginType": "core",
5100
- "strict": false,
5131
+ "strict": true,
5101
5132
  "enableJsonFlag": false,
5102
5133
  "ContextOptions": {
5103
5134
  "LoggedIn": {
@@ -5141,29 +5172,58 @@
5141
5172
  },
5142
5173
  "contextDefinition": {
5143
5174
  "projectId": {},
5144
- "loggedIn": {},
5145
- "privateProjectConfig": {},
5146
- "vcsClient": {},
5147
- "getServerSideEnvironmentVariablesAsync": {},
5148
- "getDynamicPublicProjectConfigAsync": {},
5149
- "getDynamicPrivateProjectConfigAsync": {}
5175
+ "loggedIn": {}
5150
5176
  },
5151
5177
  "isESM": false,
5152
5178
  "relativePath": [
5153
5179
  "build",
5154
5180
  "commands",
5155
- "fingerprint",
5156
- "generate.js"
5181
+ "device",
5182
+ "delete.js"
5157
5183
  ]
5158
5184
  },
5159
- "device:create": {
5185
+ "device:list": {
5160
5186
  "aliases": [],
5161
5187
  "args": {},
5162
- "description": "register new Apple Devices to use for internal distribution",
5163
- "flags": {},
5188
+ "description": "list all registered devices for your account",
5189
+ "flags": {
5190
+ "apple-team-id": {
5191
+ "name": "apple-team-id",
5192
+ "hasDynamicHelp": false,
5193
+ "multiple": false,
5194
+ "type": "option"
5195
+ },
5196
+ "offset": {
5197
+ "description": "Start queries from specified index. Use for paginating results. Defaults to 0.",
5198
+ "name": "offset",
5199
+ "hasDynamicHelp": false,
5200
+ "multiple": false,
5201
+ "type": "option"
5202
+ },
5203
+ "limit": {
5204
+ "description": "The number of items to fetch each query. Defaults to 50 and is capped at 100.",
5205
+ "name": "limit",
5206
+ "hasDynamicHelp": false,
5207
+ "multiple": false,
5208
+ "type": "option"
5209
+ },
5210
+ "json": {
5211
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5212
+ "name": "json",
5213
+ "allowNo": false,
5214
+ "type": "boolean"
5215
+ },
5216
+ "non-interactive": {
5217
+ "description": "Run the command in non-interactive mode.",
5218
+ "name": "non-interactive",
5219
+ "noCacheDefault": true,
5220
+ "allowNo": false,
5221
+ "type": "boolean"
5222
+ }
5223
+ },
5164
5224
  "hasDynamicHelp": false,
5165
5225
  "hiddenAliases": [],
5166
- "id": "device:create",
5226
+ "id": "device:list",
5167
5227
  "pluginAlias": "eas-cli",
5168
5228
  "pluginName": "eas-cli",
5169
5229
  "pluginType": "core",
@@ -5210,21 +5270,21 @@
5210
5270
  }
5211
5271
  },
5212
5272
  "contextDefinition": {
5213
- "loggedIn": {},
5214
- "optionalPrivateProjectConfig": {}
5273
+ "projectId": {},
5274
+ "loggedIn": {}
5215
5275
  },
5216
5276
  "isESM": false,
5217
5277
  "relativePath": [
5218
5278
  "build",
5219
5279
  "commands",
5220
5280
  "device",
5221
- "create.js"
5281
+ "list.js"
5222
5282
  ]
5223
5283
  },
5224
- "device:delete": {
5284
+ "device:rename": {
5225
5285
  "aliases": [],
5226
5286
  "args": {},
5227
- "description": "remove a registered device from your account",
5287
+ "description": "rename a registered device",
5228
5288
  "flags": {
5229
5289
  "apple-team-id": {
5230
5290
  "description": "The Apple team ID on which to find the device",
@@ -5234,12 +5294,19 @@
5234
5294
  "type": "option"
5235
5295
  },
5236
5296
  "udid": {
5237
- "description": "The Apple device ID to disable",
5297
+ "description": "The Apple device ID to rename",
5238
5298
  "name": "udid",
5239
5299
  "hasDynamicHelp": false,
5240
5300
  "multiple": false,
5241
5301
  "type": "option"
5242
5302
  },
5303
+ "name": {
5304
+ "description": "The new name for the device",
5305
+ "name": "name",
5306
+ "hasDynamicHelp": false,
5307
+ "multiple": false,
5308
+ "type": "option"
5309
+ },
5243
5310
  "json": {
5244
5311
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5245
5312
  "name": "json",
@@ -5256,7 +5323,7 @@
5256
5323
  },
5257
5324
  "hasDynamicHelp": false,
5258
5325
  "hiddenAliases": [],
5259
- "id": "device:delete",
5326
+ "id": "device:rename",
5260
5327
  "pluginAlias": "eas-cli",
5261
5328
  "pluginName": "eas-cli",
5262
5329
  "pluginType": "core",
@@ -5311,51 +5378,21 @@
5311
5378
  "build",
5312
5379
  "commands",
5313
5380
  "device",
5314
- "delete.js"
5381
+ "rename.js"
5315
5382
  ]
5316
5383
  },
5317
- "device:list": {
5384
+ "device:view": {
5318
5385
  "aliases": [],
5319
- "args": {},
5320
- "description": "list all registered devices for your account",
5321
- "flags": {
5322
- "apple-team-id": {
5323
- "name": "apple-team-id",
5324
- "hasDynamicHelp": false,
5325
- "multiple": false,
5326
- "type": "option"
5327
- },
5328
- "offset": {
5329
- "description": "Start queries from specified index. Use for paginating results. Defaults to 0.",
5330
- "name": "offset",
5331
- "hasDynamicHelp": false,
5332
- "multiple": false,
5333
- "type": "option"
5334
- },
5335
- "limit": {
5336
- "description": "The number of items to fetch each query. Defaults to 50 and is capped at 100.",
5337
- "name": "limit",
5338
- "hasDynamicHelp": false,
5339
- "multiple": false,
5340
- "type": "option"
5341
- },
5342
- "json": {
5343
- "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5344
- "name": "json",
5345
- "allowNo": false,
5346
- "type": "boolean"
5347
- },
5348
- "non-interactive": {
5349
- "description": "Run the command in non-interactive mode.",
5350
- "name": "non-interactive",
5351
- "noCacheDefault": true,
5352
- "allowNo": false,
5353
- "type": "boolean"
5386
+ "args": {
5387
+ "UDID": {
5388
+ "name": "UDID"
5354
5389
  }
5355
5390
  },
5391
+ "description": "view a device for your project",
5392
+ "flags": {},
5356
5393
  "hasDynamicHelp": false,
5357
5394
  "hiddenAliases": [],
5358
- "id": "device:list",
5395
+ "id": "device:view",
5359
5396
  "pluginAlias": "eas-cli",
5360
5397
  "pluginName": "eas-cli",
5361
5398
  "pluginType": "core",
@@ -5410,35 +5447,20 @@
5410
5447
  "build",
5411
5448
  "commands",
5412
5449
  "device",
5413
- "list.js"
5450
+ "view.js"
5414
5451
  ]
5415
5452
  },
5416
- "device:rename": {
5417
- "aliases": [],
5418
- "args": {},
5419
- "description": "rename a registered device",
5453
+ "deploy:delete": {
5454
+ "aliases": [
5455
+ "worker:delete"
5456
+ ],
5457
+ "args": {
5458
+ "DEPLOYMENT_ID": {
5459
+ "name": "DEPLOYMENT_ID"
5460
+ }
5461
+ },
5462
+ "description": "Delete a deployment.",
5420
5463
  "flags": {
5421
- "apple-team-id": {
5422
- "description": "The Apple team ID on which to find the device",
5423
- "name": "apple-team-id",
5424
- "hasDynamicHelp": false,
5425
- "multiple": false,
5426
- "type": "option"
5427
- },
5428
- "udid": {
5429
- "description": "The Apple device ID to rename",
5430
- "name": "udid",
5431
- "hasDynamicHelp": false,
5432
- "multiple": false,
5433
- "type": "option"
5434
- },
5435
- "name": {
5436
- "description": "The new name for the device",
5437
- "name": "name",
5438
- "hasDynamicHelp": false,
5439
- "multiple": false,
5440
- "type": "option"
5441
- },
5442
5464
  "json": {
5443
5465
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5444
5466
  "name": "json",
@@ -5455,10 +5477,11 @@
5455
5477
  },
5456
5478
  "hasDynamicHelp": false,
5457
5479
  "hiddenAliases": [],
5458
- "id": "device:rename",
5480
+ "id": "deploy:delete",
5459
5481
  "pluginAlias": "eas-cli",
5460
5482
  "pluginName": "eas-cli",
5461
5483
  "pluginType": "core",
5484
+ "state": "preview",
5462
5485
  "strict": true,
5463
5486
  "enableJsonFlag": false,
5464
5487
  "ContextOptions": {
@@ -5502,33 +5525,105 @@
5502
5525
  }
5503
5526
  },
5504
5527
  "contextDefinition": {
5505
- "projectId": {},
5528
+ "getDynamicPublicProjectConfigAsync": {},
5529
+ "getDynamicPrivateProjectConfigAsync": {},
5530
+ "projectDir": {},
5506
5531
  "loggedIn": {}
5507
5532
  },
5508
5533
  "isESM": false,
5509
5534
  "relativePath": [
5510
5535
  "build",
5511
5536
  "commands",
5512
- "device",
5513
- "rename.js"
5537
+ "deploy",
5538
+ "delete.js"
5514
5539
  ]
5515
5540
  },
5516
- "device:view": {
5517
- "aliases": [],
5518
- "args": {
5519
- "UDID": {
5520
- "name": "UDID"
5541
+ "deploy": {
5542
+ "aliases": [
5543
+ "worker:deploy"
5544
+ ],
5545
+ "args": {},
5546
+ "description": "deploy your Expo Router web build and API Routes",
5547
+ "flags": {
5548
+ "prod": {
5549
+ "aliases": [
5550
+ "production"
5551
+ ],
5552
+ "description": "Create a new production deployment.",
5553
+ "name": "prod",
5554
+ "allowNo": false,
5555
+ "type": "boolean"
5556
+ },
5557
+ "alias": {
5558
+ "description": "Custom alias to assign to the new deployment.",
5559
+ "name": "alias",
5560
+ "hasDynamicHelp": false,
5561
+ "helpValue": "name",
5562
+ "multiple": false,
5563
+ "type": "option"
5564
+ },
5565
+ "id": {
5566
+ "description": "Custom unique identifier for the new deployment.",
5567
+ "name": "id",
5568
+ "hasDynamicHelp": false,
5569
+ "helpValue": "xyz123",
5570
+ "multiple": false,
5571
+ "type": "option"
5572
+ },
5573
+ "export-dir": {
5574
+ "description": "Directory where the Expo project was exported.",
5575
+ "name": "export-dir",
5576
+ "default": "dist",
5577
+ "hasDynamicHelp": false,
5578
+ "helpValue": "dir",
5579
+ "multiple": false,
5580
+ "type": "option"
5581
+ },
5582
+ "dry-run": {
5583
+ "description": "Outputs a tarball of the new deployment instead of uploading it.",
5584
+ "name": "dry-run",
5585
+ "allowNo": false,
5586
+ "type": "boolean"
5587
+ },
5588
+ "source-maps": {
5589
+ "description": "Include source maps in the deployment.",
5590
+ "name": "source-maps",
5591
+ "allowNo": true,
5592
+ "type": "boolean"
5593
+ },
5594
+ "environment": {
5595
+ "description": "Environment variable's environment, e.g. 'production', 'preview', 'development'",
5596
+ "name": "environment",
5597
+ "hasDynamicHelp": false,
5598
+ "multiple": false,
5599
+ "type": "option"
5600
+ },
5601
+ "json": {
5602
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5603
+ "name": "json",
5604
+ "allowNo": false,
5605
+ "type": "boolean"
5606
+ },
5607
+ "non-interactive": {
5608
+ "description": "Run the command in non-interactive mode.",
5609
+ "name": "non-interactive",
5610
+ "noCacheDefault": true,
5611
+ "allowNo": false,
5612
+ "type": "boolean"
5521
5613
  }
5522
5614
  },
5523
- "description": "view a device for your project",
5524
- "flags": {},
5525
5615
  "hasDynamicHelp": false,
5526
5616
  "hiddenAliases": [],
5527
- "id": "device:view",
5617
+ "id": "deploy",
5528
5618
  "pluginAlias": "eas-cli",
5529
5619
  "pluginName": "eas-cli",
5530
5620
  "pluginType": "core",
5621
+ "state": "preview",
5531
5622
  "strict": true,
5623
+ "usage": [
5624
+ "deploy [options]",
5625
+ "deploy --prod"
5626
+ ],
5532
5627
  "enableJsonFlag": false,
5533
5628
  "ContextOptions": {
5534
5629
  "LoggedIn": {
@@ -5571,28 +5666,78 @@
5571
5666
  }
5572
5667
  },
5573
5668
  "contextDefinition": {
5574
- "projectId": {},
5669
+ "getDynamicPublicProjectConfigAsync": {},
5670
+ "getDynamicPrivateProjectConfigAsync": {},
5671
+ "projectDir": {},
5575
5672
  "loggedIn": {}
5576
5673
  },
5577
5674
  "isESM": false,
5578
5675
  "relativePath": [
5579
5676
  "build",
5580
5677
  "commands",
5581
- "device",
5582
- "view.js"
5678
+ "deploy",
5679
+ "index.js"
5583
5680
  ]
5584
5681
  },
5585
- "deploy:delete": {
5586
- "aliases": [
5587
- "worker:delete"
5588
- ],
5682
+ "fingerprint:compare": {
5683
+ "aliases": [],
5589
5684
  "args": {
5590
- "DEPLOYMENT_ID": {
5591
- "name": "DEPLOYMENT_ID"
5685
+ "hash1": {
5686
+ "description": "If provided alone, HASH1 is compared against the current project's fingerprint.",
5687
+ "name": "hash1",
5688
+ "required": false
5689
+ },
5690
+ "hash2": {
5691
+ "description": "If two hashes are provided, HASH1 is compared against HASH2.",
5692
+ "name": "hash2",
5693
+ "required": false
5592
5694
  }
5593
5695
  },
5594
- "description": "Delete a deployment.",
5696
+ "description": "compare fingerprints of the current project, builds, and updates",
5697
+ "examples": [
5698
+ "$ eas fingerprint:compare \t # Compare fingerprints in interactive mode",
5699
+ "$ eas fingerprint:compare <FINGERPRINT-HASH> \t # Compare fingerprint against local directory",
5700
+ "$ eas fingerprint:compare <FINGERPRINT-HASH-1> <FINGERPRINT-HASH-2> \t # Compare provided fingerprints",
5701
+ "$ eas fingerprint:compare --build-id <BUILD-ID> \t # Compare fingerprint from build against local directory",
5702
+ "$ eas fingerprint:compare --build-id <BUILD-ID> --environment production \t # Compare fingerprint from build against local directory with the \"production\" environment",
5703
+ "$ eas fingerprint:compare --build-id <BUILD-ID-1> --build-id <BUILD-ID-2>\t # Compare fingerprint from a build against another build",
5704
+ "$ eas fingerprint:compare --build-id <BUILD-ID> --update-id <UPDATE-ID>\t # Compare fingerprint from build against fingerprint from update",
5705
+ "$ eas fingerprint:compare <FINGERPRINT-HASH> --update-id <UPDATE-ID> \t # Compare fingerprint from update against provided fingerprint"
5706
+ ],
5595
5707
  "flags": {
5708
+ "build-id": {
5709
+ "aliases": [
5710
+ "buildId"
5711
+ ],
5712
+ "description": "Compare the fingerprint with the build with the specified ID",
5713
+ "name": "build-id",
5714
+ "hasDynamicHelp": false,
5715
+ "multiple": true,
5716
+ "type": "option"
5717
+ },
5718
+ "update-id": {
5719
+ "aliases": [
5720
+ "updateId"
5721
+ ],
5722
+ "description": "Compare the fingerprint with the update with the specified ID",
5723
+ "name": "update-id",
5724
+ "hasDynamicHelp": false,
5725
+ "multiple": true,
5726
+ "type": "option"
5727
+ },
5728
+ "open": {
5729
+ "description": "Open the fingerprint comparison in the browser",
5730
+ "name": "open",
5731
+ "allowNo": false,
5732
+ "type": "boolean"
5733
+ },
5734
+ "environment": {
5735
+ "description": "If generating a fingerprint from the local directory, use the specified environment.",
5736
+ "name": "environment",
5737
+ "hasDynamicHelp": false,
5738
+ "multiple": false,
5739
+ "type": "option"
5740
+ },
5596
5741
  "json": {
5597
5742
  "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
5598
5743
  "name": "json",
@@ -5609,12 +5754,11 @@
5609
5754
  },
5610
5755
  "hasDynamicHelp": false,
5611
5756
  "hiddenAliases": [],
5612
- "id": "deploy:delete",
5757
+ "id": "fingerprint:compare",
5613
5758
  "pluginAlias": "eas-cli",
5614
5759
  "pluginName": "eas-cli",
5615
5760
  "pluginType": "core",
5616
- "state": "preview",
5617
- "strict": true,
5761
+ "strict": false,
5618
5762
  "enableJsonFlag": false,
5619
5763
  "ContextOptions": {
5620
5764
  "LoggedIn": {
@@ -5657,75 +5801,59 @@
5657
5801
  }
5658
5802
  },
5659
5803
  "contextDefinition": {
5660
- "getDynamicPublicProjectConfigAsync": {},
5661
- "getDynamicPrivateProjectConfigAsync": {},
5662
- "projectDir": {},
5663
- "loggedIn": {}
5804
+ "projectId": {},
5805
+ "loggedIn": {},
5806
+ "privateProjectConfig": {},
5807
+ "vcsClient": {},
5808
+ "getServerSideEnvironmentVariablesAsync": {}
5664
5809
  },
5665
5810
  "isESM": false,
5666
5811
  "relativePath": [
5667
5812
  "build",
5668
5813
  "commands",
5669
- "deploy",
5670
- "delete.js"
5814
+ "fingerprint",
5815
+ "compare.js"
5671
5816
  ]
5672
5817
  },
5673
- "deploy": {
5674
- "aliases": [
5675
- "worker:deploy"
5676
- ],
5818
+ "fingerprint:generate": {
5819
+ "aliases": [],
5677
5820
  "args": {},
5678
- "description": "deploy your Expo Router web build and API Routes",
5821
+ "description": "generate fingerprints from the current project",
5822
+ "examples": [
5823
+ "$ eas fingerprint:generate \t # Generate fingerprint in interactive mode",
5824
+ "$ eas fingerprint:generate --build-profile preview \t # Generate a fingerprint using the \"preview\" build profile",
5825
+ "$ eas fingerprint:generate --environment preview \t # Generate a fingerprint using the \"preview\" environment",
5826
+ "$ eas fingerprint:generate --json --non-interactive --platform android \t # Output fingerprint json to stdout"
5827
+ ],
5679
5828
  "flags": {
5680
- "prod": {
5681
- "aliases": [
5682
- "production"
5683
- ],
5684
- "description": "Create a new production deployment.",
5685
- "name": "prod",
5686
- "allowNo": false,
5687
- "type": "boolean"
5688
- },
5689
- "alias": {
5690
- "description": "Custom alias to assign to the new deployment.",
5691
- "name": "alias",
5692
- "hasDynamicHelp": false,
5693
- "helpValue": "name",
5694
- "multiple": false,
5695
- "type": "option"
5696
- },
5697
- "id": {
5698
- "description": "Custom unique identifier for the new deployment.",
5699
- "name": "id",
5829
+ "platform": {
5830
+ "char": "p",
5831
+ "name": "platform",
5700
5832
  "hasDynamicHelp": false,
5701
- "helpValue": "xyz123",
5702
5833
  "multiple": false,
5834
+ "options": [
5835
+ "android",
5836
+ "ios"
5837
+ ],
5703
5838
  "type": "option"
5704
5839
  },
5705
- "export-dir": {
5706
- "description": "Directory where the Expo project was exported.",
5707
- "name": "export-dir",
5708
- "default": "dist",
5840
+ "environment": {
5841
+ "description": "Environment variable's environment, e.g. 'production', 'preview', 'development'",
5842
+ "exclusive": [
5843
+ "build-profile"
5844
+ ],
5845
+ "name": "environment",
5709
5846
  "hasDynamicHelp": false,
5710
- "helpValue": "dir",
5711
5847
  "multiple": false,
5712
5848
  "type": "option"
5713
5849
  },
5714
- "dry-run": {
5715
- "description": "Outputs a tarball of the new deployment instead of uploading it.",
5716
- "name": "dry-run",
5717
- "allowNo": false,
5718
- "type": "boolean"
5719
- },
5720
- "source-maps": {
5721
- "description": "Include source maps in the deployment.",
5722
- "name": "source-maps",
5723
- "allowNo": true,
5724
- "type": "boolean"
5725
- },
5726
- "environment": {
5727
- "description": "Environment variable's environment, e.g. 'production', 'preview', 'development'",
5728
- "name": "environment",
5850
+ "build-profile": {
5851
+ "char": "e",
5852
+ "description": "Name of the build profile from eas.json.",
5853
+ "exclusive": [
5854
+ "environment"
5855
+ ],
5856
+ "name": "build-profile",
5729
5857
  "hasDynamicHelp": false,
5730
5858
  "multiple": false,
5731
5859
  "type": "option"
@@ -5746,16 +5874,11 @@
5746
5874
  },
5747
5875
  "hasDynamicHelp": false,
5748
5876
  "hiddenAliases": [],
5749
- "id": "deploy",
5877
+ "id": "fingerprint:generate",
5750
5878
  "pluginAlias": "eas-cli",
5751
5879
  "pluginName": "eas-cli",
5752
5880
  "pluginType": "core",
5753
- "state": "preview",
5754
- "strict": true,
5755
- "usage": [
5756
- "deploy [options]",
5757
- "deploy --prod"
5758
- ],
5881
+ "strict": false,
5759
5882
  "enableJsonFlag": false,
5760
5883
  "ContextOptions": {
5761
5884
  "LoggedIn": {
@@ -5798,17 +5921,20 @@
5798
5921
  }
5799
5922
  },
5800
5923
  "contextDefinition": {
5924
+ "projectId": {},
5925
+ "loggedIn": {},
5926
+ "privateProjectConfig": {},
5927
+ "vcsClient": {},
5928
+ "getServerSideEnvironmentVariablesAsync": {},
5801
5929
  "getDynamicPublicProjectConfigAsync": {},
5802
- "getDynamicPrivateProjectConfigAsync": {},
5803
- "projectDir": {},
5804
- "loggedIn": {}
5930
+ "getDynamicPrivateProjectConfigAsync": {}
5805
5931
  },
5806
5932
  "isESM": false,
5807
5933
  "relativePath": [
5808
5934
  "build",
5809
5935
  "commands",
5810
- "deploy",
5811
- "index.js"
5936
+ "fingerprint",
5937
+ "generate.js"
5812
5938
  ]
5813
5939
  },
5814
5940
  "metadata:lint": {
@@ -6232,6 +6358,9 @@
6232
6358
  "projectId": {},
6233
6359
  "loggedIn": {}
6234
6360
  },
6361
+ "loggedInOnlyContextDefinition": {
6362
+ "loggedIn": {}
6363
+ },
6235
6364
  "isESM": false,
6236
6365
  "relativePath": [
6237
6366
  "build",
@@ -6392,6 +6521,9 @@
6392
6521
  "projectId": {},
6393
6522
  "loggedIn": {}
6394
6523
  },
6524
+ "loggedInOnlyContextDefinition": {
6525
+ "loggedIn": {}
6526
+ },
6395
6527
  "isESM": false,
6396
6528
  "relativePath": [
6397
6529
  "build",
@@ -6521,6 +6653,9 @@
6521
6653
  "projectId": {},
6522
6654
  "loggedIn": {}
6523
6655
  },
6656
+ "loggedInOnlyContextDefinition": {
6657
+ "loggedIn": {}
6658
+ },
6524
6659
  "isESM": false,
6525
6660
  "relativePath": [
6526
6661
  "build",
@@ -7773,6 +7908,132 @@
7773
7908
  "index.js"
7774
7909
  ]
7775
7910
  },
7911
+ "update:insights": {
7912
+ "aliases": [],
7913
+ "args": {
7914
+ "groupId": {
7915
+ "description": "The ID of an update group.",
7916
+ "name": "groupId",
7917
+ "required": true
7918
+ }
7919
+ },
7920
+ "description": "display launch, crash, unique-user, and size insights for an update group",
7921
+ "flags": {
7922
+ "platform": {
7923
+ "description": "Filter to a single platform.",
7924
+ "name": "platform",
7925
+ "hasDynamicHelp": false,
7926
+ "multiple": false,
7927
+ "options": [
7928
+ "ios",
7929
+ "android"
7930
+ ],
7931
+ "type": "option"
7932
+ },
7933
+ "days": {
7934
+ "description": "Show insights from the last N days (default 7, mutually exclusive with --start/--end).",
7935
+ "exclusive": [
7936
+ "start",
7937
+ "end"
7938
+ ],
7939
+ "name": "days",
7940
+ "hasDynamicHelp": false,
7941
+ "multiple": false,
7942
+ "type": "option"
7943
+ },
7944
+ "start": {
7945
+ "description": "Start of insights time range (ISO date).",
7946
+ "exclusive": [
7947
+ "days"
7948
+ ],
7949
+ "name": "start",
7950
+ "hasDynamicHelp": false,
7951
+ "multiple": false,
7952
+ "type": "option"
7953
+ },
7954
+ "end": {
7955
+ "description": "End of insights time range (ISO date).",
7956
+ "exclusive": [
7957
+ "days"
7958
+ ],
7959
+ "name": "end",
7960
+ "hasDynamicHelp": false,
7961
+ "multiple": false,
7962
+ "type": "option"
7963
+ },
7964
+ "json": {
7965
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
7966
+ "name": "json",
7967
+ "allowNo": false,
7968
+ "type": "boolean"
7969
+ },
7970
+ "non-interactive": {
7971
+ "description": "Run the command in non-interactive mode.",
7972
+ "name": "non-interactive",
7973
+ "noCacheDefault": true,
7974
+ "allowNo": false,
7975
+ "type": "boolean"
7976
+ }
7977
+ },
7978
+ "hasDynamicHelp": false,
7979
+ "hiddenAliases": [],
7980
+ "id": "update:insights",
7981
+ "pluginAlias": "eas-cli",
7982
+ "pluginName": "eas-cli",
7983
+ "pluginType": "core",
7984
+ "strict": true,
7985
+ "enableJsonFlag": false,
7986
+ "ContextOptions": {
7987
+ "LoggedIn": {
7988
+ "loggedIn": {}
7989
+ },
7990
+ "MaybeLoggedIn": {
7991
+ "maybeLoggedIn": {}
7992
+ },
7993
+ "DynamicLoggedIn": {
7994
+ "getDynamicLoggedInAsync": {}
7995
+ },
7996
+ "SessionManagment": {
7997
+ "sessionManager": {}
7998
+ },
7999
+ "OptionalProjectConfig": {
8000
+ "optionalPrivateProjectConfig": {}
8001
+ },
8002
+ "ProjectDir": {
8003
+ "projectDir": {}
8004
+ },
8005
+ "DynamicProjectConfig": {
8006
+ "getDynamicPublicProjectConfigAsync": {},
8007
+ "getDynamicPrivateProjectConfigAsync": {}
8008
+ },
8009
+ "ProjectConfig": {
8010
+ "loggedIn": {},
8011
+ "privateProjectConfig": {}
8012
+ },
8013
+ "Analytics": {
8014
+ "analytics": {}
8015
+ },
8016
+ "Vcs": {
8017
+ "vcsClient": {}
8018
+ },
8019
+ "ServerSideEnvironmentVariables": {
8020
+ "getServerSideEnvironmentVariablesAsync": {}
8021
+ },
8022
+ "ProjectId": {
8023
+ "projectId": {}
8024
+ }
8025
+ },
8026
+ "contextDefinition": {
8027
+ "loggedIn": {}
8028
+ },
8029
+ "isESM": false,
8030
+ "relativePath": [
8031
+ "build",
8032
+ "commands",
8033
+ "update",
8034
+ "insights.js"
8035
+ ]
8036
+ },
7776
8037
  "update:list": {
7777
8038
  "aliases": [],
7778
8039
  "args": {},
@@ -8423,6 +8684,43 @@
8423
8684
  },
8424
8685
  "description": "update group details",
8425
8686
  "flags": {
8687
+ "insights": {
8688
+ "description": "Also show insights (launches, crash rate, unique users, payload size) for the update group.",
8689
+ "name": "insights",
8690
+ "allowNo": false,
8691
+ "type": "boolean"
8692
+ },
8693
+ "days": {
8694
+ "description": "Show insights from the last N days (default 7). Only used with --insights.",
8695
+ "exclusive": [
8696
+ "start",
8697
+ "end"
8698
+ ],
8699
+ "name": "days",
8700
+ "hasDynamicHelp": false,
8701
+ "multiple": false,
8702
+ "type": "option"
8703
+ },
8704
+ "start": {
8705
+ "description": "Start of insights time range (ISO date). Only used with --insights.",
8706
+ "exclusive": [
8707
+ "days"
8708
+ ],
8709
+ "name": "start",
8710
+ "hasDynamicHelp": false,
8711
+ "multiple": false,
8712
+ "type": "option"
8713
+ },
8714
+ "end": {
8715
+ "description": "End of insights time range (ISO date). Only used with --insights.",
8716
+ "exclusive": [
8717
+ "days"
8718
+ ],
8719
+ "name": "end",
8720
+ "hasDynamicHelp": false,
8721
+ "multiple": false,
8722
+ "type": "option"
8723
+ },
8426
8724
  "json": {
8427
8725
  "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
8428
8726
  "name": "json",
@@ -10207,5 +10505,5 @@
10207
10505
  ]
10208
10506
  }
10209
10507
  },
10210
- "version": "18.7.0"
10508
+ "version": "18.8.0"
10211
10509
  }