@donotuse/eas-cli 18.5.0-rc.1

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 (1239) hide show
  1. package/README.md +2520 -0
  2. package/bin/dev +10 -0
  3. package/bin/dev.cmd +3 -0
  4. package/bin/run +6 -0
  5. package/bin/run.cmd +3 -0
  6. package/build/ApiV2Error.d.ts +17 -0
  7. package/build/ApiV2Error.js +20 -0
  8. package/build/analytics/AnalyticsManager.d.ts +79 -0
  9. package/build/analytics/AnalyticsManager.js +189 -0
  10. package/build/analytics/common.d.ts +7 -0
  11. package/build/analytics/common.js +18 -0
  12. package/build/api.d.ts +23 -0
  13. package/build/api.js +111 -0
  14. package/build/branch/actions/SelectBranch.d.ts +33 -0
  15. package/build/branch/actions/SelectBranch.js +67 -0
  16. package/build/branch/delete.d.ts +5 -0
  17. package/build/branch/delete.js +23 -0
  18. package/build/branch/queries.d.ts +23 -0
  19. package/build/branch/queries.js +127 -0
  20. package/build/branch/utils.d.ts +5 -0
  21. package/build/branch/utils.js +13 -0
  22. package/build/build/android/build.d.ts +9 -0
  23. package/build/build/android/build.js +126 -0
  24. package/build/build/android/graphql.d.ts +3 -0
  25. package/build/build/android/graphql.js +40 -0
  26. package/build/build/android/prepareJob.d.ts +9 -0
  27. package/build/build/android/prepareJob.js +101 -0
  28. package/build/build/android/syncProjectConfiguration.d.ts +12 -0
  29. package/build/build/android/syncProjectConfiguration.js +57 -0
  30. package/build/build/android/version.d.ts +42 -0
  31. package/build/build/android/version.js +186 -0
  32. package/build/build/build.d.ts +32 -0
  33. package/build/build/build.js +530 -0
  34. package/build/build/configure.d.ts +27 -0
  35. package/build/build/configure.js +110 -0
  36. package/build/build/context.d.ts +64 -0
  37. package/build/build/context.js +2 -0
  38. package/build/build/createContext.d.ts +35 -0
  39. package/build/build/createContext.js +145 -0
  40. package/build/build/errors.d.ts +25 -0
  41. package/build/build/errors.js +40 -0
  42. package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +14 -0
  43. package/build/build/evaluateConfigWithEnvVarsAsync.js +70 -0
  44. package/build/build/graphql.d.ts +13 -0
  45. package/build/build/graphql.js +106 -0
  46. package/build/build/ios/build.d.ts +5 -0
  47. package/build/build/ios/build.js +94 -0
  48. package/build/build/ios/credentials.d.ts +8 -0
  49. package/build/build/ios/credentials.js +43 -0
  50. package/build/build/ios/graphql.d.ts +6 -0
  51. package/build/build/ios/graphql.js +49 -0
  52. package/build/build/ios/prepareJob.d.ts +12 -0
  53. package/build/build/ios/prepareJob.js +119 -0
  54. package/build/build/ios/syncProjectConfiguration.d.ts +13 -0
  55. package/build/build/ios/syncProjectConfiguration.js +35 -0
  56. package/build/build/ios/version.d.ts +49 -0
  57. package/build/build/ios/version.js +273 -0
  58. package/build/build/local.d.ts +28 -0
  59. package/build/build/local.js +100 -0
  60. package/build/build/metadata.d.ts +8 -0
  61. package/build/build/metadata.js +137 -0
  62. package/build/build/queries.d.ts +22 -0
  63. package/build/build/queries.js +135 -0
  64. package/build/build/runBuildAndSubmit.d.ts +44 -0
  65. package/build/build/runBuildAndSubmit.js +420 -0
  66. package/build/build/types.d.ts +34 -0
  67. package/build/build/types.js +20 -0
  68. package/build/build/utils/appJson.d.ts +6 -0
  69. package/build/build/utils/appJson.js +25 -0
  70. package/build/build/utils/credentials.d.ts +3 -0
  71. package/build/build/utils/credentials.js +18 -0
  72. package/build/build/utils/devClient.d.ts +9 -0
  73. package/build/build/utils/devClient.js +96 -0
  74. package/build/build/utils/environment.d.ts +5 -0
  75. package/build/build/utils/environment.js +9 -0
  76. package/build/build/utils/formatBuild.d.ts +4 -0
  77. package/build/build/utils/formatBuild.js +157 -0
  78. package/build/build/utils/printBuildInfo.d.ts +5 -0
  79. package/build/build/utils/printBuildInfo.js +127 -0
  80. package/build/build/utils/repository.d.ts +19 -0
  81. package/build/build/utils/repository.js +195 -0
  82. package/build/build/utils/resourceClass.d.ts +4 -0
  83. package/build/build/utils/resourceClass.js +52 -0
  84. package/build/build/utils/url.d.ts +9 -0
  85. package/build/build/utils/url.js +46 -0
  86. package/build/build/utils/version.d.ts +7 -0
  87. package/build/build/utils/version.js +36 -0
  88. package/build/build/validate.d.ts +5 -0
  89. package/build/build/validate.js +159 -0
  90. package/build/channel/actions/SelectChannel.d.ts +33 -0
  91. package/build/channel/actions/SelectChannel.js +67 -0
  92. package/build/channel/branch-mapping.d.ts +55 -0
  93. package/build/channel/branch-mapping.js +145 -0
  94. package/build/channel/delete.d.ts +5 -0
  95. package/build/channel/delete.js +23 -0
  96. package/build/channel/errors.d.ts +3 -0
  97. package/build/channel/errors.js +9 -0
  98. package/build/channel/print-utils.d.ts +7 -0
  99. package/build/channel/print-utils.js +57 -0
  100. package/build/channel/queries.d.ts +46 -0
  101. package/build/channel/queries.js +274 -0
  102. package/build/channel/utils.d.ts +13 -0
  103. package/build/channel/utils.js +15 -0
  104. package/build/commandUtils/EasCommand.d.ts +151 -0
  105. package/build/commandUtils/EasCommand.js +214 -0
  106. package/build/commandUtils/builds.d.ts +16 -0
  107. package/build/commandUtils/builds.js +84 -0
  108. package/build/commandUtils/context/AnalyticsContextField.d.ts +5 -0
  109. package/build/commandUtils/context/AnalyticsContextField.js +10 -0
  110. package/build/commandUtils/context/ContextField.d.ts +16 -0
  111. package/build/commandUtils/context/ContextField.js +5 -0
  112. package/build/commandUtils/context/DynamicLoggedInContextField.d.ts +14 -0
  113. package/build/commandUtils/context/DynamicLoggedInContextField.js +25 -0
  114. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +14 -0
  115. package/build/commandUtils/context/DynamicProjectConfigContextField.js +84 -0
  116. package/build/commandUtils/context/LoggedInContextField.d.ts +15 -0
  117. package/build/commandUtils/context/LoggedInContextField.js +23 -0
  118. package/build/commandUtils/context/MaybeLoggedInContextField.d.ts +17 -0
  119. package/build/commandUtils/context/MaybeLoggedInContextField.js +25 -0
  120. package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.d.ts +13 -0
  121. package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +52 -0
  122. package/build/commandUtils/context/PrivateProjectConfigContextField.d.ts +13 -0
  123. package/build/commandUtils/context/PrivateProjectConfigContextField.js +39 -0
  124. package/build/commandUtils/context/ProjectDirContextField.d.ts +4 -0
  125. package/build/commandUtils/context/ProjectDirContextField.js +11 -0
  126. package/build/commandUtils/context/ProjectIdContextField.d.ts +4 -0
  127. package/build/commandUtils/context/ProjectIdContextField.js +19 -0
  128. package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.d.ts +5 -0
  129. package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.js +36 -0
  130. package/build/commandUtils/context/SessionManagementContextField.d.ts +5 -0
  131. package/build/commandUtils/context/SessionManagementContextField.js +10 -0
  132. package/build/commandUtils/context/VcsClientContextField.d.ts +7 -0
  133. package/build/commandUtils/context/VcsClientContextField.js +19 -0
  134. package/build/commandUtils/context/contextUtils/createGraphqlClient.d.ts +7 -0
  135. package/build/commandUtils/context/contextUtils/createGraphqlClient.js +41 -0
  136. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.d.ts +19 -0
  137. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +103 -0
  138. package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +38 -0
  139. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +139 -0
  140. package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +6 -0
  141. package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +30 -0
  142. package/build/commandUtils/errors.d.ts +3 -0
  143. package/build/commandUtils/errors.js +11 -0
  144. package/build/commandUtils/experienceParser.d.ts +6 -0
  145. package/build/commandUtils/experienceParser.js +42 -0
  146. package/build/commandUtils/flags.d.ts +43 -0
  147. package/build/commandUtils/flags.js +88 -0
  148. package/build/commandUtils/gating/FeatureGateEnvOverrides.d.ts +7 -0
  149. package/build/commandUtils/gating/FeatureGateEnvOverrides.js +34 -0
  150. package/build/commandUtils/gating/FeatureGateKey.d.ts +4 -0
  151. package/build/commandUtils/gating/FeatureGateKey.js +11 -0
  152. package/build/commandUtils/gating/FeatureGateTestOverrides.d.ts +5 -0
  153. package/build/commandUtils/gating/FeatureGateTestOverrides.js +17 -0
  154. package/build/commandUtils/gating/FeatureGating.d.ts +16 -0
  155. package/build/commandUtils/gating/FeatureGating.js +61 -0
  156. package/build/commandUtils/new/commands.d.ts +4 -0
  157. package/build/commandUtils/new/commands.js +69 -0
  158. package/build/commandUtils/new/configs.d.ts +24 -0
  159. package/build/commandUtils/new/configs.js +129 -0
  160. package/build/commandUtils/new/projectFiles.d.ts +8 -0
  161. package/build/commandUtils/new/projectFiles.js +157 -0
  162. package/build/commandUtils/new/templates/.eas/workflows/create-development-builds.yml +21 -0
  163. package/build/commandUtils/new/templates/.eas/workflows/create-draft.yml +15 -0
  164. package/build/commandUtils/new/templates/.eas/workflows/deploy-to-production.yml +68 -0
  165. package/build/commandUtils/new/templates/AGENTS.md +162 -0
  166. package/build/commandUtils/new/templates/CLAUDE.md +9 -0
  167. package/build/commandUtils/new/templates/readme-additions.md +36 -0
  168. package/build/commandUtils/new/utils.d.ts +6 -0
  169. package/build/commandUtils/new/utils.js +20 -0
  170. package/build/commandUtils/pagination.d.ts +17 -0
  171. package/build/commandUtils/pagination.js +39 -0
  172. package/build/commandUtils/projectNameValidation.d.ts +8 -0
  173. package/build/commandUtils/projectNameValidation.js +30 -0
  174. package/build/commandUtils/usageUtils.d.ts +58 -0
  175. package/build/commandUtils/usageUtils.js +204 -0
  176. package/build/commandUtils/workflow/buildProfileUtils.d.ts +36 -0
  177. package/build/commandUtils/workflow/buildProfileUtils.js +209 -0
  178. package/build/commandUtils/workflow/creation.d.ts +20 -0
  179. package/build/commandUtils/workflow/creation.js +462 -0
  180. package/build/commandUtils/workflow/fetchLogs.d.ts +6 -0
  181. package/build/commandUtils/workflow/fetchLogs.js +44 -0
  182. package/build/commandUtils/workflow/inputs.d.ts +40 -0
  183. package/build/commandUtils/workflow/inputs.js +165 -0
  184. package/build/commandUtils/workflow/parse.d.ts +3 -0
  185. package/build/commandUtils/workflow/parse.js +12 -0
  186. package/build/commandUtils/workflow/stateMachine.d.ts +44 -0
  187. package/build/commandUtils/workflow/stateMachine.js +212 -0
  188. package/build/commandUtils/workflow/types.d.ts +40 -0
  189. package/build/commandUtils/workflow/types.js +13 -0
  190. package/build/commandUtils/workflow/utils.d.ts +33 -0
  191. package/build/commandUtils/workflow/utils.js +325 -0
  192. package/build/commandUtils/workflow/validation.d.ts +7 -0
  193. package/build/commandUtils/workflow/validation.js +159 -0
  194. package/build/commands/account/login.d.ts +14 -0
  195. package/build/commands/account/login.js +49 -0
  196. package/build/commands/account/logout.d.ts +9 -0
  197. package/build/commands/account/logout.js +18 -0
  198. package/build/commands/account/usage.d.ts +15 -0
  199. package/build/commands/account/usage.js +326 -0
  200. package/build/commands/account/view.d.ts +11 -0
  201. package/build/commands/account/view.js +67 -0
  202. package/build/commands/analytics.d.ts +8 -0
  203. package/build/commands/analytics.js +27 -0
  204. package/build/commands/branch/create.d.ts +17 -0
  205. package/build/commands/branch/create.js +65 -0
  206. package/build/commands/branch/delete.d.ts +16 -0
  207. package/build/commands/branch/delete.js +102 -0
  208. package/build/commands/branch/list.d.ts +15 -0
  209. package/build/commands/branch/list.js +32 -0
  210. package/build/commands/branch/publish.d.ts +6 -0
  211. package/build/commands/branch/publish.js +12 -0
  212. package/build/commands/branch/rename.d.ts +15 -0
  213. package/build/commands/branch/rename.js +99 -0
  214. package/build/commands/branch/view.d.ts +18 -0
  215. package/build/commands/branch/view.js +63 -0
  216. package/build/commands/build/cancel.d.ts +24 -0
  217. package/build/commands/build/cancel.js +131 -0
  218. package/build/commands/build/configure.d.ts +13 -0
  219. package/build/commands/build/configure.js +99 -0
  220. package/build/commands/build/delete.d.ts +24 -0
  221. package/build/commands/build/delete.js +114 -0
  222. package/build/commands/build/dev.d.ts +26 -0
  223. package/build/commands/build/dev.js +262 -0
  224. package/build/commands/build/download.d.ts +20 -0
  225. package/build/commands/build/download.js +116 -0
  226. package/build/commands/build/index.d.ts +39 -0
  227. package/build/commands/build/index.js +301 -0
  228. package/build/commands/build/inspect.d.ts +30 -0
  229. package/build/commands/build/inspect.js +153 -0
  230. package/build/commands/build/internal.d.ts +25 -0
  231. package/build/commands/build/internal.js +87 -0
  232. package/build/commands/build/list.d.ts +31 -0
  233. package/build/commands/build/list.js +157 -0
  234. package/build/commands/build/resign.d.ts +63 -0
  235. package/build/commands/build/resign.js +233 -0
  236. package/build/commands/build/run.d.ts +21 -0
  237. package/build/commands/build/run.js +191 -0
  238. package/build/commands/build/version/get.d.ts +18 -0
  239. package/build/commands/build/version/get.js +114 -0
  240. package/build/commands/build/version/set.d.ts +16 -0
  241. package/build/commands/build/version/set.js +105 -0
  242. package/build/commands/build/version/sync.d.ts +18 -0
  243. package/build/commands/build/version/sync.js +149 -0
  244. package/build/commands/build/view.d.ts +16 -0
  245. package/build/commands/build/view.js +77 -0
  246. package/build/commands/channel/create.d.ts +16 -0
  247. package/build/commands/channel/create.js +60 -0
  248. package/build/commands/channel/delete.d.ts +16 -0
  249. package/build/commands/channel/delete.js +84 -0
  250. package/build/commands/channel/edit.d.ts +20 -0
  251. package/build/commands/channel/edit.js +113 -0
  252. package/build/commands/channel/list.d.ts +15 -0
  253. package/build/commands/channel/list.js +36 -0
  254. package/build/commands/channel/pause.d.ts +20 -0
  255. package/build/commands/channel/pause.js +87 -0
  256. package/build/commands/channel/resume.d.ts +20 -0
  257. package/build/commands/channel/resume.js +87 -0
  258. package/build/commands/channel/rollout.d.ts +33 -0
  259. package/build/commands/channel/rollout.js +141 -0
  260. package/build/commands/channel/view.d.ts +18 -0
  261. package/build/commands/channel/view.js +61 -0
  262. package/build/commands/config.d.ts +19 -0
  263. package/build/commands/config.js +106 -0
  264. package/build/commands/credentials/configure-build.d.ts +18 -0
  265. package/build/commands/credentials/configure-build.js +42 -0
  266. package/build/commands/credentials/index.d.ts +16 -0
  267. package/build/commands/credentials/index.js +28 -0
  268. package/build/commands/deploy/alias/delete.d.ts +21 -0
  269. package/build/commands/deploy/alias/delete.js +101 -0
  270. package/build/commands/deploy/alias/index.d.ts +21 -0
  271. package/build/commands/deploy/alias/index.js +165 -0
  272. package/build/commands/deploy/alias.d.ts +21 -0
  273. package/build/commands/deploy/alias.js +165 -0
  274. package/build/commands/deploy/delete.d.ts +21 -0
  275. package/build/commands/deploy/delete.js +87 -0
  276. package/build/commands/deploy/index.d.ts +26 -0
  277. package/build/commands/deploy/index.js +370 -0
  278. package/build/commands/device/create.d.ts +9 -0
  279. package/build/commands/device/create.js +30 -0
  280. package/build/commands/device/delete.d.ts +24 -0
  281. package/build/commands/device/delete.js +135 -0
  282. package/build/commands/device/list.d.ts +16 -0
  283. package/build/commands/device/list.js +60 -0
  284. package/build/commands/device/rename.d.ts +24 -0
  285. package/build/commands/device/rename.js +125 -0
  286. package/build/commands/device/view.d.ts +12 -0
  287. package/build/commands/device/view.js +54 -0
  288. package/build/commands/diagnostics.d.ts +10 -0
  289. package/build/commands/diagnostics.js +61 -0
  290. package/build/commands/env/create.d.ts +26 -0
  291. package/build/commands/env/create.js +226 -0
  292. package/build/commands/env/delete.d.ts +19 -0
  293. package/build/commands/env/delete.js +115 -0
  294. package/build/commands/env/exec.d.ts +22 -0
  295. package/build/commands/env/exec.js +158 -0
  296. package/build/commands/env/get.d.ts +20 -0
  297. package/build/commands/env/get.js +130 -0
  298. package/build/commands/env/link.d.ts +23 -0
  299. package/build/commands/env/link.js +128 -0
  300. package/build/commands/env/list.d.ts +20 -0
  301. package/build/commands/env/list.js +123 -0
  302. package/build/commands/env/pull.d.ts +18 -0
  303. package/build/commands/env/pull.js +106 -0
  304. package/build/commands/env/push.d.ts +29 -0
  305. package/build/commands/env/push.js +193 -0
  306. package/build/commands/env/unlink.d.ts +22 -0
  307. package/build/commands/env/unlink.js +117 -0
  308. package/build/commands/env/update.d.ts +26 -0
  309. package/build/commands/env/update.js +229 -0
  310. package/build/commands/fingerprint/compare.d.ts +26 -0
  311. package/build/commands/fingerprint/compare.js +600 -0
  312. package/build/commands/fingerprint/generate.d.ts +23 -0
  313. package/build/commands/fingerprint/generate.js +123 -0
  314. package/build/commands/go.d.ts +23 -0
  315. package/build/commands/go.js +483 -0
  316. package/build/commands/metadata/lint.d.ts +12 -0
  317. package/build/commands/metadata/lint.js +73 -0
  318. package/build/commands/metadata/pull.d.ts +14 -0
  319. package/build/commands/metadata/pull.js +81 -0
  320. package/build/commands/metadata/push.d.ts +14 -0
  321. package/build/commands/metadata/push.js +75 -0
  322. package/build/commands/open.d.ts +9 -0
  323. package/build/commands/open.js +41 -0
  324. package/build/commands/project/info.d.ts +9 -0
  325. package/build/commands/project/info.js +45 -0
  326. package/build/commands/project/init.d.ts +22 -0
  327. package/build/commands/project/init.js +317 -0
  328. package/build/commands/project/new.d.ts +34 -0
  329. package/build/commands/project/new.js +120 -0
  330. package/build/commands/project/onboarding.d.ts +14 -0
  331. package/build/commands/project/onboarding.js +372 -0
  332. package/build/commands/secret/create.d.ts +20 -0
  333. package/build/commands/secret/create.js +187 -0
  334. package/build/commands/secret/delete.d.ts +14 -0
  335. package/build/commands/secret/delete.js +70 -0
  336. package/build/commands/secret/list.d.ts +10 -0
  337. package/build/commands/secret/list.js +38 -0
  338. package/build/commands/secret/push.d.ts +17 -0
  339. package/build/commands/secret/push.js +150 -0
  340. package/build/commands/submit/internal.d.ts +24 -0
  341. package/build/commands/submit/internal.js +167 -0
  342. package/build/commands/submit.d.ts +29 -0
  343. package/build/commands/submit.js +166 -0
  344. package/build/commands/update/configure.d.ts +16 -0
  345. package/build/commands/update/configure.js +63 -0
  346. package/build/commands/update/delete.d.ts +15 -0
  347. package/build/commands/update/delete.js +58 -0
  348. package/build/commands/update/edit.d.ts +18 -0
  349. package/build/commands/update/edit.js +138 -0
  350. package/build/commands/update/index.d.ts +38 -0
  351. package/build/commands/update/index.js +545 -0
  352. package/build/commands/update/list.d.ts +20 -0
  353. package/build/commands/update/list.js +113 -0
  354. package/build/commands/update/republish.d.ts +23 -0
  355. package/build/commands/update/republish.js +150 -0
  356. package/build/commands/update/revert-update-rollout.d.ts +24 -0
  357. package/build/commands/update/revert-update-rollout.js +263 -0
  358. package/build/commands/update/roll-back-to-embedded.d.ts +22 -0
  359. package/build/commands/update/roll-back-to-embedded.js +150 -0
  360. package/build/commands/update/rollback.d.ts +8 -0
  361. package/build/commands/update/rollback.js +39 -0
  362. package/build/commands/update/view.d.ts +14 -0
  363. package/build/commands/update/view.js +43 -0
  364. package/build/commands/upload.d.ts +18 -0
  365. package/build/commands/upload.js +367 -0
  366. package/build/commands/webhook/create.d.ts +16 -0
  367. package/build/commands/webhook/create.js +47 -0
  368. package/build/commands/webhook/delete.d.ts +15 -0
  369. package/build/commands/webhook/delete.js +102 -0
  370. package/build/commands/webhook/list.d.ts +14 -0
  371. package/build/commands/webhook/list.js +62 -0
  372. package/build/commands/webhook/update.d.ts +16 -0
  373. package/build/commands/webhook/update.js +52 -0
  374. package/build/commands/webhook/view.d.ts +11 -0
  375. package/build/commands/webhook/view.js +36 -0
  376. package/build/commands/worker/alias.d.ts +22 -0
  377. package/build/commands/worker/alias.js +169 -0
  378. package/build/commands/worker/deploy.d.ts +76 -0
  379. package/build/commands/worker/deploy.js +323 -0
  380. package/build/commands/workflow/cancel.d.ts +13 -0
  381. package/build/commands/workflow/cancel.js +81 -0
  382. package/build/commands/workflow/create.d.ts +17 -0
  383. package/build/commands/workflow/create.js +171 -0
  384. package/build/commands/workflow/list.d.ts +13 -0
  385. package/build/commands/workflow/list.js +53 -0
  386. package/build/commands/workflow/logs.d.ts +17 -0
  387. package/build/commands/workflow/logs.js +96 -0
  388. package/build/commands/workflow/run.d.ts +63 -0
  389. package/build/commands/workflow/run.js +318 -0
  390. package/build/commands/workflow/runs.d.ts +16 -0
  391. package/build/commands/workflow/runs.js +73 -0
  392. package/build/commands/workflow/status.d.ts +31 -0
  393. package/build/commands/workflow/status.js +111 -0
  394. package/build/commands/workflow/validate.d.ts +18 -0
  395. package/build/commands/workflow/validate.js +51 -0
  396. package/build/commands/workflow/view.d.ts +16 -0
  397. package/build/commands/workflow/view.js +169 -0
  398. package/build/credentials/android/AndroidCredentialsProvider.d.ts +23 -0
  399. package/build/credentials/android/AndroidCredentialsProvider.js +44 -0
  400. package/build/credentials/android/actions/AssignFcm.d.ts +8 -0
  401. package/build/credentials/android/actions/AssignFcm.js +20 -0
  402. package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.d.ts +8 -0
  403. package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.js +20 -0
  404. package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.d.ts +8 -0
  405. package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.js +20 -0
  406. package/build/credentials/android/actions/BuildCredentialsUtils.d.ts +20 -0
  407. package/build/credentials/android/actions/BuildCredentialsUtils.js +115 -0
  408. package/build/credentials/android/actions/CreateFcm.d.ts +7 -0
  409. package/build/credentials/android/actions/CreateFcm.js +30 -0
  410. package/build/credentials/android/actions/CreateGoogleServiceAccountKey.d.ts +9 -0
  411. package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +63 -0
  412. package/build/credentials/android/actions/CreateKeystore.d.ts +8 -0
  413. package/build/credentials/android/actions/CreateKeystore.js +34 -0
  414. package/build/credentials/android/actions/DownloadKeystore.d.ts +19 -0
  415. package/build/credentials/android/actions/DownloadKeystore.js +68 -0
  416. package/build/credentials/android/actions/RemoveFcm.d.ts +7 -0
  417. package/build/credentials/android/actions/RemoveFcm.js +34 -0
  418. package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.d.ts +12 -0
  419. package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.js +50 -0
  420. package/build/credentials/android/actions/RemoveKeystore.d.ts +9 -0
  421. package/build/credentials/android/actions/RemoveKeystore.js +45 -0
  422. package/build/credentials/android/actions/SetUpBuildCredentials.d.ts +33 -0
  423. package/build/credentials/android/actions/SetUpBuildCredentials.js +72 -0
  424. package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +8 -0
  425. package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.js +69 -0
  426. package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.d.ts +10 -0
  427. package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.js +60 -0
  428. package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.d.ts +10 -0
  429. package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.js +60 -0
  430. package/build/credentials/android/actions/UpdateCredentialsJson.d.ts +5 -0
  431. package/build/credentials/android/actions/UpdateCredentialsJson.js +14 -0
  432. package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.d.ts +7 -0
  433. package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.js +24 -0
  434. package/build/credentials/android/api/GraphqlClient.d.ts +41 -0
  435. package/build/credentials/android/api/GraphqlClient.js +151 -0
  436. package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.d.ts +8 -0
  437. package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +80 -0
  438. package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.d.ts +10 -0
  439. package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.js +112 -0
  440. package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.d.ts +6 -0
  441. package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.js +48 -0
  442. package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.d.ts +6 -0
  443. package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.js +54 -0
  444. package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.d.ts +6 -0
  445. package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.js +54 -0
  446. package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.d.ts +8 -0
  447. package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.js +51 -0
  448. package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +11 -0
  449. package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +69 -0
  450. package/build/credentials/android/credentials.d.ts +26 -0
  451. package/build/credentials/android/credentials.js +32 -0
  452. package/build/credentials/android/utils/googleServiceAccountKey.d.ts +7 -0
  453. package/build/credentials/android/utils/googleServiceAccountKey.js +123 -0
  454. package/build/credentials/android/utils/keystore.d.ts +5 -0
  455. package/build/credentials/android/utils/keystore.js +144 -0
  456. package/build/credentials/android/utils/keystoreNew.d.ts +5 -0
  457. package/build/credentials/android/utils/keystoreNew.js +84 -0
  458. package/build/credentials/android/utils/printCredentials.d.ts +8 -0
  459. package/build/credentials/android/utils/printCredentials.js +160 -0
  460. package/build/credentials/context.d.ts +50 -0
  461. package/build/credentials/context.js +89 -0
  462. package/build/credentials/credentialsJson/read.d.ts +7 -0
  463. package/build/credentials/credentialsJson/read.js +90 -0
  464. package/build/credentials/credentialsJson/types.d.ts +34 -0
  465. package/build/credentials/credentialsJson/types.js +26 -0
  466. package/build/credentials/credentialsJson/update.d.ts +14 -0
  467. package/build/credentials/credentialsJson/update.js +208 -0
  468. package/build/credentials/credentialsJson/utils.d.ts +4 -0
  469. package/build/credentials/credentialsJson/utils.js +26 -0
  470. package/build/credentials/errors.d.ts +19 -0
  471. package/build/credentials/errors.js +44 -0
  472. package/build/credentials/ios/IosCredentialsProvider.d.ts +23 -0
  473. package/build/credentials/ios/IosCredentialsProvider.js +132 -0
  474. package/build/credentials/ios/actions/AppleTeamFormatting.d.ts +2 -0
  475. package/build/credentials/ios/actions/AppleTeamFormatting.js +6 -0
  476. package/build/credentials/ios/actions/AppleTeamUtils.d.ts +4 -0
  477. package/build/credentials/ios/actions/AppleTeamUtils.js +12 -0
  478. package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +20 -0
  479. package/build/credentials/ios/actions/AscApiKeyUtils.js +196 -0
  480. package/build/credentials/ios/actions/AssignAscApiKey.d.ts +9 -0
  481. package/build/credentials/ios/actions/AssignAscApiKey.js +29 -0
  482. package/build/credentials/ios/actions/AssignPushKey.d.ts +8 -0
  483. package/build/credentials/ios/actions/AssignPushKey.js +22 -0
  484. package/build/credentials/ios/actions/BuildCredentialsUtils.d.ts +11 -0
  485. package/build/credentials/ios/actions/BuildCredentialsUtils.js +63 -0
  486. package/build/credentials/ios/actions/ConfigureProvisioningProfile.d.ts +14 -0
  487. package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +81 -0
  488. package/build/credentials/ios/actions/CreateAscApiKey.d.ts +8 -0
  489. package/build/credentials/ios/actions/CreateAscApiKey.js +18 -0
  490. package/build/credentials/ios/actions/CreateDistributionCertificate.d.ts +8 -0
  491. package/build/credentials/ios/actions/CreateDistributionCertificate.js +19 -0
  492. package/build/credentials/ios/actions/CreateProvisioningProfile.d.ts +14 -0
  493. package/build/credentials/ios/actions/CreateProvisioningProfile.js +72 -0
  494. package/build/credentials/ios/actions/CreatePushKey.d.ts +7 -0
  495. package/build/credentials/ios/actions/CreatePushKey.js +22 -0
  496. package/build/credentials/ios/actions/DeviceUtils.d.ts +3 -0
  497. package/build/credentials/ios/actions/DeviceUtils.js +40 -0
  498. package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +14 -0
  499. package/build/credentials/ios/actions/DistributionCertificateUtils.js +192 -0
  500. package/build/credentials/ios/actions/ProvisioningProfileUtils.d.ts +5 -0
  501. package/build/credentials/ios/actions/ProvisioningProfileUtils.js +22 -0
  502. package/build/credentials/ios/actions/PushKeyUtils.d.ts +11 -0
  503. package/build/credentials/ios/actions/PushKeyUtils.js +175 -0
  504. package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +12 -0
  505. package/build/credentials/ios/actions/RemoveAscApiKey.js +56 -0
  506. package/build/credentials/ios/actions/RemoveDistributionCertificate.d.ts +14 -0
  507. package/build/credentials/ios/actions/RemoveDistributionCertificate.js +88 -0
  508. package/build/credentials/ios/actions/RemoveProvisioningProfile.d.ts +9 -0
  509. package/build/credentials/ios/actions/RemoveProvisioningProfile.js +27 -0
  510. package/build/credentials/ios/actions/RemovePushKey.d.ts +12 -0
  511. package/build/credentials/ios/actions/RemovePushKey.js +64 -0
  512. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.d.ts +21 -0
  513. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +254 -0
  514. package/build/credentials/ios/actions/SetUpAscApiKey.d.ts +21 -0
  515. package/build/credentials/ios/actions/SetUpAscApiKey.js +122 -0
  516. package/build/credentials/ios/actions/SetUpBuildCredentials.d.ts +15 -0
  517. package/build/credentials/ios/actions/SetUpBuildCredentials.js +76 -0
  518. package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +11 -0
  519. package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.js +49 -0
  520. package/build/credentials/ios/actions/SetUpDistributionCertificate.d.ts +17 -0
  521. package/build/credentials/ios/actions/SetUpDistributionCertificate.js +144 -0
  522. package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.d.ts +24 -0
  523. package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +94 -0
  524. package/build/credentials/ios/actions/SetUpProvisioningProfile.d.ts +19 -0
  525. package/build/credentials/ios/actions/SetUpProvisioningProfile.js +102 -0
  526. package/build/credentials/ios/actions/SetUpPushKey.d.ts +10 -0
  527. package/build/credentials/ios/actions/SetUpPushKey.js +83 -0
  528. package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +20 -0
  529. package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +55 -0
  530. package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.d.ts +14 -0
  531. package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.js +112 -0
  532. package/build/credentials/ios/actions/UpdateCredentialsJson.d.ts +10 -0
  533. package/build/credentials/ios/actions/UpdateCredentialsJson.js +22 -0
  534. package/build/credentials/ios/api/GraphqlClient.d.ts +60 -0
  535. package/build/credentials/ios/api/GraphqlClient.js +300 -0
  536. package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.d.ts +6 -0
  537. package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.js +54 -0
  538. package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.d.ts +5 -0
  539. package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.js +37 -0
  540. package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +7 -0
  541. package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +70 -0
  542. package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.d.ts +5 -0
  543. package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.js +35 -0
  544. package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.d.ts +9 -0
  545. package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.js +60 -0
  546. package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.d.ts +13 -0
  547. package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.js +91 -0
  548. package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.d.ts +6 -0
  549. package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.js +51 -0
  550. package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.d.ts +6 -0
  551. package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.js +51 -0
  552. package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.d.ts +7 -0
  553. package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.js +87 -0
  554. package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.d.ts +7 -0
  555. package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.js +84 -0
  556. package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +11 -0
  557. package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +69 -0
  558. package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.d.ts +5 -0
  559. package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.js +37 -0
  560. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +27 -0
  561. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +145 -0
  562. package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.d.ts +15 -0
  563. package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +119 -0
  564. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.d.ts +15 -0
  565. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +72 -0
  566. package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.d.ts +11 -0
  567. package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +69 -0
  568. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.d.ts +6 -0
  569. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +52 -0
  570. package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.d.ts +8 -0
  571. package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.js +46 -0
  572. package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.d.ts +11 -0
  573. package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.js +77 -0
  574. package/build/credentials/ios/api/graphql/types/AppLookupParams.d.ts +7 -0
  575. package/build/credentials/ios/api/graphql/types/AppLookupParams.js +2 -0
  576. package/build/credentials/ios/appstore/AppStoreApi.d.ts +33 -0
  577. package/build/credentials/ios/appstore/AppStoreApi.js +106 -0
  578. package/build/credentials/ios/appstore/Credentials.d.ts +9 -0
  579. package/build/credentials/ios/appstore/Credentials.js +35 -0
  580. package/build/credentials/ios/appstore/Credentials.types.d.ts +60 -0
  581. package/build/credentials/ios/appstore/Credentials.types.js +2 -0
  582. package/build/credentials/ios/appstore/CredentialsUtils.d.ts +18 -0
  583. package/build/credentials/ios/appstore/CredentialsUtils.js +78 -0
  584. package/build/credentials/ios/appstore/ascApiKey.d.ts +36 -0
  585. package/build/credentials/ios/appstore/ascApiKey.js +172 -0
  586. package/build/credentials/ios/appstore/authenticate.d.ts +20 -0
  587. package/build/credentials/ios/appstore/authenticate.js +171 -0
  588. package/build/credentials/ios/appstore/authenticateTypes.d.ts +41 -0
  589. package/build/credentials/ios/appstore/authenticateTypes.js +16 -0
  590. package/build/credentials/ios/appstore/bundleId.d.ts +3 -0
  591. package/build/credentials/ios/appstore/bundleId.js +43 -0
  592. package/build/credentials/ios/appstore/bundleIdCapabilities.d.ts +27 -0
  593. package/build/credentials/ios/appstore/bundleIdCapabilities.js +148 -0
  594. package/build/credentials/ios/appstore/capabilityIdentifiers.d.ts +18 -0
  595. package/build/credentials/ios/appstore/capabilityIdentifiers.js +109 -0
  596. package/build/credentials/ios/appstore/capabilityList.d.ts +32 -0
  597. package/build/credentials/ios/appstore/capabilityList.js +656 -0
  598. package/build/credentials/ios/appstore/constants.d.ts +1 -0
  599. package/build/credentials/ios/appstore/constants.js +6 -0
  600. package/build/credentials/ios/appstore/contractMessages.d.ts +7 -0
  601. package/build/credentials/ios/appstore/contractMessages.js +101 -0
  602. package/build/credentials/ios/appstore/distributionCertificate.d.ts +14 -0
  603. package/build/credentials/ios/appstore/distributionCertificate.js +111 -0
  604. package/build/credentials/ios/appstore/ensureAppExists.d.ts +53 -0
  605. package/build/credentials/ios/appstore/ensureAppExists.js +247 -0
  606. package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +6 -0
  607. package/build/credentials/ios/appstore/ensureTestFlightGroup.js +175 -0
  608. package/build/credentials/ios/appstore/keychain.d.ts +10 -0
  609. package/build/credentials/ios/appstore/keychain.js +67 -0
  610. package/build/credentials/ios/appstore/provisioningProfile.d.ts +11 -0
  611. package/build/credentials/ios/appstore/provisioningProfile.js +181 -0
  612. package/build/credentials/ios/appstore/provisioningProfileAdhoc.d.ts +4 -0
  613. package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +192 -0
  614. package/build/credentials/ios/appstore/pushKey.d.ts +18 -0
  615. package/build/credentials/ios/appstore/pushKey.js +82 -0
  616. package/build/credentials/ios/appstore/resolveCredentials.d.ts +19 -0
  617. package/build/credentials/ios/appstore/resolveCredentials.js +256 -0
  618. package/build/credentials/ios/credentials.d.ts +57 -0
  619. package/build/credentials/ios/credentials.js +105 -0
  620. package/build/credentials/ios/errors.d.ts +3 -0
  621. package/build/credentials/ios/errors.js +9 -0
  622. package/build/credentials/ios/types.d.ts +28 -0
  623. package/build/credentials/ios/types.js +37 -0
  624. package/build/credentials/ios/utils/authType.d.ts +3 -0
  625. package/build/credentials/ios/utils/authType.js +7 -0
  626. package/build/credentials/ios/utils/convertHTMLToASCII.d.ts +4 -0
  627. package/build/credentials/ios/utils/convertHTMLToASCII.js +58 -0
  628. package/build/credentials/ios/utils/p12Certificate.d.ts +4 -0
  629. package/build/credentials/ios/utils/p12Certificate.js +59 -0
  630. package/build/credentials/ios/utils/printCredentials.d.ts +5 -0
  631. package/build/credentials/ios/utils/printCredentials.js +251 -0
  632. package/build/credentials/ios/utils/provisioningProfile.d.ts +11 -0
  633. package/build/credentials/ios/utils/provisioningProfile.js +41 -0
  634. package/build/credentials/ios/validators/validateAscApiKey.d.ts +5 -0
  635. package/build/credentials/ios/validators/validateAscApiKey.js +20 -0
  636. package/build/credentials/ios/validators/validateDistributionCertificate.d.ts +3 -0
  637. package/build/credentials/ios/validators/validateDistributionCertificate.js +9 -0
  638. package/build/credentials/ios/validators/validateProvisioningProfile.d.ts +5 -0
  639. package/build/credentials/ios/validators/validateProvisioningProfile.js +114 -0
  640. package/build/credentials/ios/validators/validatePushKey.d.ts +3 -0
  641. package/build/credentials/ios/validators/validatePushKey.js +9 -0
  642. package/build/credentials/manager/Actions.d.ts +62 -0
  643. package/build/credentials/manager/Actions.js +63 -0
  644. package/build/credentials/manager/AndroidActions.d.ts +8 -0
  645. package/build/credentials/manager/AndroidActions.js +158 -0
  646. package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.d.ts +10 -0
  647. package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.js +38 -0
  648. package/build/credentials/manager/CreateAndroidBuildCredentials.d.ts +8 -0
  649. package/build/credentials/manager/CreateAndroidBuildCredentials.js +34 -0
  650. package/build/credentials/manager/HelperActions.d.ts +18 -0
  651. package/build/credentials/manager/HelperActions.js +15 -0
  652. package/build/credentials/manager/IosActions.d.ts +7 -0
  653. package/build/credentials/manager/IosActions.js +150 -0
  654. package/build/credentials/manager/ManageAndroid.d.ts +14 -0
  655. package/build/credentials/manager/ManageAndroid.js +223 -0
  656. package/build/credentials/manager/ManageIos.d.ts +22 -0
  657. package/build/credentials/manager/ManageIos.js +338 -0
  658. package/build/credentials/manager/SelectAndroidBuildCredentials.d.ts +27 -0
  659. package/build/credentials/manager/SelectAndroidBuildCredentials.js +98 -0
  660. package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +9 -0
  661. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +38 -0
  662. package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.d.ts +10 -0
  663. package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +63 -0
  664. package/build/credentials/manager/SelectPlatform.d.ts +17 -0
  665. package/build/credentials/manager/SelectPlatform.js +33 -0
  666. package/build/credentials/manager/SetDefaultAndroidKeystore.d.ts +8 -0
  667. package/build/credentials/manager/SetDefaultAndroidKeystore.js +42 -0
  668. package/build/credentials/manager/SetUpAndroidBuildCredentials.d.ts +7 -0
  669. package/build/credentials/manager/SetUpAndroidBuildCredentials.js +49 -0
  670. package/build/credentials/manager/SetUpBuildCredentialsCommandAction.d.ts +20 -0
  671. package/build/credentials/manager/SetUpBuildCredentialsCommandAction.js +36 -0
  672. package/build/credentials/manager/SetUpIosBuildCredentials.d.ts +7 -0
  673. package/build/credentials/manager/SetUpIosBuildCredentials.js +59 -0
  674. package/build/credentials/utils/promptForCredentials.d.ts +17 -0
  675. package/build/credentials/utils/promptForCredentials.js +107 -0
  676. package/build/devices/actions/create/action.d.ts +19 -0
  677. package/build/devices/actions/create/action.js +81 -0
  678. package/build/devices/actions/create/currentMachineMethod.d.ts +3 -0
  679. package/build/devices/actions/create/currentMachineMethod.js +98 -0
  680. package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
  681. package/build/devices/actions/create/developerPortalMethod.js +89 -0
  682. package/build/devices/actions/create/inputMethod.d.ts +3 -0
  683. package/build/devices/actions/create/inputMethod.js +62 -0
  684. package/build/devices/actions/create/registrationUrlMethod.d.ts +3 -0
  685. package/build/devices/actions/create/registrationUrlMethod.js +27 -0
  686. package/build/devices/actions/create/utils.d.ts +10 -0
  687. package/build/devices/actions/create/utils.js +72 -0
  688. package/build/devices/context.d.ts +15 -0
  689. package/build/devices/context.js +11 -0
  690. package/build/devices/manager.d.ts +19 -0
  691. package/build/devices/manager.js +82 -0
  692. package/build/devices/queries.d.ts +22 -0
  693. package/build/devices/queries.js +145 -0
  694. package/build/devices/udids.d.ts +2 -0
  695. package/build/devices/udids.js +27 -0
  696. package/build/devices/utils/errors.d.ts +6 -0
  697. package/build/devices/utils/errors.js +15 -0
  698. package/build/devices/utils/formatDevice.d.ts +7 -0
  699. package/build/devices/utils/formatDevice.js +49 -0
  700. package/build/eas-update/utils.d.ts +18 -0
  701. package/build/eas-update/utils.js +6 -0
  702. package/build/easMultiselect.d.ts +24 -0
  703. package/build/easMultiselect.js +50 -0
  704. package/build/env.d.ts +24 -0
  705. package/build/env.js +25 -0
  706. package/build/fetch.d.ts +9 -0
  707. package/build/fetch.js +36 -0
  708. package/build/fingerprint/cli.d.ts +29 -0
  709. package/build/fingerprint/cli.js +126 -0
  710. package/build/fingerprint/diff.d.ts +33 -0
  711. package/build/fingerprint/diff.js +122 -0
  712. package/build/fingerprint/types.d.ts +96 -0
  713. package/build/fingerprint/types.js +5 -0
  714. package/build/fingerprint/utils.d.ts +11 -0
  715. package/build/fingerprint/utils.js +92 -0
  716. package/build/graphql/client.d.ts +3 -0
  717. package/build/graphql/client.js +27 -0
  718. package/build/graphql/generated.d.ts +19152 -0
  719. package/build/graphql/generated.js +1079 -0
  720. package/build/graphql/mutations/AppMutation.d.ts +7 -0
  721. package/build/graphql/mutations/AppMutation.js +27 -0
  722. package/build/graphql/mutations/AppVersionMutation.d.ts +12 -0
  723. package/build/graphql/mutations/AppVersionMutation.js +27 -0
  724. package/build/graphql/mutations/BuildMutation.d.ts +28 -0
  725. package/build/graphql/mutations/BuildMutation.js +107 -0
  726. package/build/graphql/mutations/EnvironmentSecretMutation.d.ts +17 -0
  727. package/build/graphql/mutations/EnvironmentSecretMutation.js +65 -0
  728. package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +11 -0
  729. package/build/graphql/mutations/EnvironmentVariableMutation.js +98 -0
  730. package/build/graphql/mutations/FingerprintMutation.d.ts +8 -0
  731. package/build/graphql/mutations/FingerprintMutation.js +29 -0
  732. package/build/graphql/mutations/KeystoreGenerationUrlMutation.d.ts +4 -0
  733. package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +23 -0
  734. package/build/graphql/mutations/LocalBuildMutation.d.ts +5 -0
  735. package/build/graphql/mutations/LocalBuildMutation.js +38 -0
  736. package/build/graphql/mutations/PublishMutation.d.ts +8 -0
  737. package/build/graphql/mutations/PublishMutation.js +85 -0
  738. package/build/graphql/mutations/SubmissionMutation.d.ts +6 -0
  739. package/build/graphql/mutations/SubmissionMutation.js +71 -0
  740. package/build/graphql/mutations/UploadSessionMutation.d.ts +14 -0
  741. package/build/graphql/mutations/UploadSessionMutation.js +41 -0
  742. package/build/graphql/mutations/UserPreferencesMutation.d.ts +10 -0
  743. package/build/graphql/mutations/UserPreferencesMutation.js +41 -0
  744. package/build/graphql/mutations/WebhookMutation.d.ts +7 -0
  745. package/build/graphql/mutations/WebhookMutation.js +55 -0
  746. package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +21 -0
  747. package/build/graphql/mutations/WorkflowRevisionMutation.js +59 -0
  748. package/build/graphql/mutations/WorkflowRunMutation.d.ts +27 -0
  749. package/build/graphql/mutations/WorkflowRunMutation.js +98 -0
  750. package/build/graphql/queries/AccountQuery.d.ts +15 -0
  751. package/build/graphql/queries/AccountQuery.js +197 -0
  752. package/build/graphql/queries/AppQuery.d.ts +8 -0
  753. package/build/graphql/queries/AppQuery.js +106 -0
  754. package/build/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +8 -0
  755. package/build/graphql/queries/AppStoreConnectApiKeyQuery.js +32 -0
  756. package/build/graphql/queries/AppVersionQuery.d.ts +5 -0
  757. package/build/graphql/queries/AppVersionQuery.js +32 -0
  758. package/build/graphql/queries/AssetQuery.d.ts +5 -0
  759. package/build/graphql/queries/AssetQuery.js +27 -0
  760. package/build/graphql/queries/BackgroundJobReceiptQuery.d.ts +5 -0
  761. package/build/graphql/queries/BackgroundJobReceiptQuery.js +28 -0
  762. package/build/graphql/queries/BranchQuery.d.ts +23 -0
  763. package/build/graphql/queries/BranchQuery.js +190 -0
  764. package/build/graphql/queries/BuildQuery.d.ts +14 -0
  765. package/build/graphql/queries/BuildQuery.js +95 -0
  766. package/build/graphql/queries/ChannelQuery.d.ts +14 -0
  767. package/build/graphql/queries/ChannelQuery.js +156 -0
  768. package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +16 -0
  769. package/build/graphql/queries/EnvironmentSecretsQuery.js +51 -0
  770. package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +36 -0
  771. package/build/graphql/queries/EnvironmentVariablesQuery.js +144 -0
  772. package/build/graphql/queries/FingerprintQuery.d.ts +16 -0
  773. package/build/graphql/queries/FingerprintQuery.js +61 -0
  774. package/build/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +6 -0
  775. package/build/graphql/queries/GoogleServiceAccountKeyQuery.js +25 -0
  776. package/build/graphql/queries/PublishQuery.d.ts +6 -0
  777. package/build/graphql/queries/PublishQuery.js +45 -0
  778. package/build/graphql/queries/RuntimeQuery.d.ts +6 -0
  779. package/build/graphql/queries/RuntimeQuery.js +70 -0
  780. package/build/graphql/queries/StatuspageServiceQuery.d.ts +5 -0
  781. package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
  782. package/build/graphql/queries/SubmissionQuery.d.ts +15 -0
  783. package/build/graphql/queries/SubmissionQuery.js +58 -0
  784. package/build/graphql/queries/UpdateQuery.d.ts +8 -0
  785. package/build/graphql/queries/UpdateQuery.js +115 -0
  786. package/build/graphql/queries/UserQuery.d.ts +5 -0
  787. package/build/graphql/queries/UserQuery.js +58 -0
  788. package/build/graphql/queries/WebhookQuery.d.ts +6 -0
  789. package/build/graphql/queries/WebhookQuery.js +49 -0
  790. package/build/graphql/queries/WorkflowJobQuery.d.ts +7 -0
  791. package/build/graphql/queries/WorkflowJobQuery.js +29 -0
  792. package/build/graphql/queries/WorkflowRunQuery.d.ts +11 -0
  793. package/build/graphql/queries/WorkflowRunQuery.js +100 -0
  794. package/build/graphql/types/Account.d.ts +12 -0
  795. package/build/graphql/types/Account.js +162 -0
  796. package/build/graphql/types/App.d.ts +1 -0
  797. package/build/graphql/types/App.js +27 -0
  798. package/build/graphql/types/AppPlatform.d.ts +4 -0
  799. package/build/graphql/types/AppPlatform.js +25 -0
  800. package/build/graphql/types/BackgroundJobReceipt.d.ts +1 -0
  801. package/build/graphql/types/BackgroundJobReceipt.js +20 -0
  802. package/build/graphql/types/Build.d.ts +3 -0
  803. package/build/graphql/types/Build.js +99 -0
  804. package/build/graphql/types/EnvironmentSecret.d.ts +8 -0
  805. package/build/graphql/types/EnvironmentSecret.js +27 -0
  806. package/build/graphql/types/EnvironmentVariable.d.ts +1 -0
  807. package/build/graphql/types/EnvironmentVariable.js +18 -0
  808. package/build/graphql/types/EnvironmentVariableWithSecret.d.ts +1 -0
  809. package/build/graphql/types/EnvironmentVariableWithSecret.js +18 -0
  810. package/build/graphql/types/Fingerprint.d.ts +1 -0
  811. package/build/graphql/types/Fingerprint.js +30 -0
  812. package/build/graphql/types/Runtime.d.ts +1 -0
  813. package/build/graphql/types/Runtime.js +11 -0
  814. package/build/graphql/types/StatuspageService.d.ts +1 -0
  815. package/build/graphql/types/StatuspageService.js +19 -0
  816. package/build/graphql/types/Submission.d.ts +1 -0
  817. package/build/graphql/types/Submission.js +36 -0
  818. package/build/graphql/types/Update.d.ts +1 -0
  819. package/build/graphql/types/Update.js +60 -0
  820. package/build/graphql/types/UpdateBranch.d.ts +1 -0
  821. package/build/graphql/types/UpdateBranch.js +20 -0
  822. package/build/graphql/types/UpdateBranchBasicInfo.d.ts +1 -0
  823. package/build/graphql/types/UpdateBranchBasicInfo.js +11 -0
  824. package/build/graphql/types/UpdateChannelBasicInfo.d.ts +1 -0
  825. package/build/graphql/types/UpdateChannelBasicInfo.js +12 -0
  826. package/build/graphql/types/Webhook.d.ts +1 -0
  827. package/build/graphql/types/Webhook.js +14 -0
  828. package/build/graphql/types/Workflow.d.ts +1 -0
  829. package/build/graphql/types/Workflow.js +25 -0
  830. package/build/graphql/types/WorkflowJob.d.ts +1 -0
  831. package/build/graphql/types/WorkflowJob.js +46 -0
  832. package/build/graphql/types/WorkflowRun.d.ts +1 -0
  833. package/build/graphql/types/WorkflowRun.js +38 -0
  834. package/build/graphql/types/credentials/AndroidAppBuildCredentials.d.ts +1 -0
  835. package/build/graphql/types/credentials/AndroidAppBuildCredentials.js +20 -0
  836. package/build/graphql/types/credentials/AndroidAppCredentials.d.ts +1 -0
  837. package/build/graphql/types/credentials/AndroidAppCredentials.js +40 -0
  838. package/build/graphql/types/credentials/AndroidFcm.d.ts +1 -0
  839. package/build/graphql/types/credentials/AndroidFcm.js +26 -0
  840. package/build/graphql/types/credentials/AndroidKeystore.d.ts +1 -0
  841. package/build/graphql/types/credentials/AndroidKeystore.js +20 -0
  842. package/build/graphql/types/credentials/AppStoreConnectApiKey.d.ts +1 -0
  843. package/build/graphql/types/credentials/AppStoreConnectApiKey.js +23 -0
  844. package/build/graphql/types/credentials/AppleAppIdentifier.d.ts +1 -0
  845. package/build/graphql/types/credentials/AppleAppIdentifier.js +11 -0
  846. package/build/graphql/types/credentials/AppleDevice.d.ts +3 -0
  847. package/build/graphql/types/credentials/AppleDevice.js +22 -0
  848. package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.d.ts +1 -0
  849. package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.js +10 -0
  850. package/build/graphql/types/credentials/AppleDistributionCertificate.d.ts +1 -0
  851. package/build/graphql/types/credentials/AppleDistributionCertificate.js +48 -0
  852. package/build/graphql/types/credentials/AppleProvisioningProfile.d.ts +2 -0
  853. package/build/graphql/types/credentials/AppleProvisioningProfile.js +34 -0
  854. package/build/graphql/types/credentials/ApplePushKey.d.ts +1 -0
  855. package/build/graphql/types/credentials/ApplePushKey.js +34 -0
  856. package/build/graphql/types/credentials/AppleTeam.d.ts +1 -0
  857. package/build/graphql/types/credentials/AppleTeam.js +12 -0
  858. package/build/graphql/types/credentials/GoogleServiceAccountKey.d.ts +1 -0
  859. package/build/graphql/types/credentials/GoogleServiceAccountKey.js +16 -0
  860. package/build/graphql/types/credentials/IosAppBuildCredentials.d.ts +1 -0
  861. package/build/graphql/types/credentials/IosAppBuildCredentials.js +24 -0
  862. package/build/graphql/types/credentials/IosAppCredentials.d.ts +2 -0
  863. package/build/graphql/types/credentials/IosAppCredentials.js +53 -0
  864. package/build/index.d.ts +1 -0
  865. package/build/index.js +5 -0
  866. package/build/log.d.ts +46 -0
  867. package/build/log.js +113 -0
  868. package/build/metadata/apple/config/reader.d.ts +26 -0
  869. package/build/metadata/apple/config/reader.js +166 -0
  870. package/build/metadata/apple/config/writer.d.ts +24 -0
  871. package/build/metadata/apple/config/writer.js +153 -0
  872. package/build/metadata/apple/data.d.ts +20 -0
  873. package/build/metadata/apple/data.js +2 -0
  874. package/build/metadata/apple/rules/index.d.ts +1 -0
  875. package/build/metadata/apple/rules/index.js +6 -0
  876. package/build/metadata/apple/rules/infoKeywordLength.d.ts +6 -0
  877. package/build/metadata/apple/rules/infoKeywordLength.js +33 -0
  878. package/build/metadata/apple/rules/infoRestrictedWords.d.ts +6 -0
  879. package/build/metadata/apple/rules/infoRestrictedWords.js +55 -0
  880. package/build/metadata/apple/task.d.ts +24 -0
  881. package/build/metadata/apple/task.js +6 -0
  882. package/build/metadata/apple/tasks/age-rating.d.ts +12 -0
  883. package/build/metadata/apple/tasks/age-rating.js +35 -0
  884. package/build/metadata/apple/tasks/app-info.d.ts +14 -0
  885. package/build/metadata/apple/tasks/app-info.js +81 -0
  886. package/build/metadata/apple/tasks/app-review-detail.d.ts +13 -0
  887. package/build/metadata/apple/tasks/app-review-detail.js +45 -0
  888. package/build/metadata/apple/tasks/app-version.d.ts +30 -0
  889. package/build/metadata/apple/tasks/app-version.js +216 -0
  890. package/build/metadata/apple/tasks/index.d.ts +10 -0
  891. package/build/metadata/apple/tasks/index.js +18 -0
  892. package/build/metadata/apple/types.d.ts +43 -0
  893. package/build/metadata/apple/types.js +2 -0
  894. package/build/metadata/auth.d.ts +20 -0
  895. package/build/metadata/auth.js +31 -0
  896. package/build/metadata/config/issue.d.ts +21 -0
  897. package/build/metadata/config/issue.js +9 -0
  898. package/build/metadata/config/resolve.d.ts +27 -0
  899. package/build/metadata/config/resolve.js +74 -0
  900. package/build/metadata/config/schema.d.ts +7 -0
  901. package/build/metadata/config/schema.js +2 -0
  902. package/build/metadata/config/validate.d.ts +3 -0
  903. package/build/metadata/config/validate.js +44 -0
  904. package/build/metadata/download.d.ts +15 -0
  905. package/build/metadata/download.js +70 -0
  906. package/build/metadata/errors.d.ts +42 -0
  907. package/build/metadata/errors.js +92 -0
  908. package/build/metadata/upload.d.ts +17 -0
  909. package/build/metadata/upload.js +73 -0
  910. package/build/metadata/utils/ajv.d.ts +10 -0
  911. package/build/metadata/utils/ajv.js +29 -0
  912. package/build/metadata/utils/asc.d.ts +3 -0
  913. package/build/metadata/utils/asc.js +2 -0
  914. package/build/metadata/utils/date.d.ts +12 -0
  915. package/build/metadata/utils/date.js +29 -0
  916. package/build/metadata/utils/log.d.ts +16 -0
  917. package/build/metadata/utils/log.js +22 -0
  918. package/build/metadata/utils/retry.d.ts +8 -0
  919. package/build/metadata/utils/retry.js +20 -0
  920. package/build/metadata/utils/telemetry.d.ts +19 -0
  921. package/build/metadata/utils/telemetry.js +82 -0
  922. package/build/onboarding/git.d.ts +16 -0
  923. package/build/onboarding/git.js +88 -0
  924. package/build/onboarding/installDependencies.d.ts +8 -0
  925. package/build/onboarding/installDependencies.js +27 -0
  926. package/build/onboarding/runCommand.d.ts +9 -0
  927. package/build/onboarding/runCommand.js +68 -0
  928. package/build/ora.d.ts +9 -0
  929. package/build/ora.js +101 -0
  930. package/build/platform.d.ts +17 -0
  931. package/build/platform.js +90 -0
  932. package/build/project/android/applicationId.d.ts +20 -0
  933. package/build/project/android/applicationId.js +152 -0
  934. package/build/project/android/gradle.d.ts +9 -0
  935. package/build/project/android/gradle.js +41 -0
  936. package/build/project/android/gradleUtils.d.ts +42 -0
  937. package/build/project/android/gradleUtils.js +85 -0
  938. package/build/project/android/versions.d.ts +3 -0
  939. package/build/project/android/versions.js +23 -0
  940. package/build/project/applicationIdentifier.d.ts +16 -0
  941. package/build/project/applicationIdentifier.js +55 -0
  942. package/build/project/customBuildConfig.d.ts +13 -0
  943. package/build/project/customBuildConfig.js +49 -0
  944. package/build/project/discourageExpoGoForProdAsync.d.ts +4 -0
  945. package/build/project/discourageExpoGoForProdAsync.js +46 -0
  946. package/build/project/expoConfig.d.ts +19 -0
  947. package/build/project/expoConfig.js +108 -0
  948. package/build/project/expoSdk.d.ts +3 -0
  949. package/build/project/expoSdk.js +29 -0
  950. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.d.ts +21 -0
  951. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +86 -0
  952. package/build/project/ios/bundleIdentifier.d.ts +22 -0
  953. package/build/project/ios/bundleIdentifier.js +151 -0
  954. package/build/project/ios/entitlements.d.ts +9 -0
  955. package/build/project/ios/entitlements.js +61 -0
  956. package/build/project/ios/exemptEncryption.d.ts +7 -0
  957. package/build/project/ios/exemptEncryption.js +81 -0
  958. package/build/project/ios/scheme.d.ts +18 -0
  959. package/build/project/ios/scheme.js +69 -0
  960. package/build/project/ios/target.d.ts +38 -0
  961. package/build/project/ios/target.js +230 -0
  962. package/build/project/ios/versions.d.ts +3 -0
  963. package/build/project/ios/versions.js +17 -0
  964. package/build/project/maybeUploadAssetMapAsync.d.ts +3 -0
  965. package/build/project/maybeUploadAssetMapAsync.js +39 -0
  966. package/build/project/maybeUploadFingerprintAsync.d.ts +15 -0
  967. package/build/project/maybeUploadFingerprintAsync.js +51 -0
  968. package/build/project/metroConfig.d.ts +3 -0
  969. package/build/project/metroConfig.js +71 -0
  970. package/build/project/projectUtils.d.ts +26 -0
  971. package/build/project/projectUtils.js +134 -0
  972. package/build/project/publish.d.ts +233 -0
  973. package/build/project/publish.js +681 -0
  974. package/build/project/remoteVersionSource.d.ts +17 -0
  975. package/build/project/remoteVersionSource.js +153 -0
  976. package/build/project/resolveRuntimeVersionAsync.d.ts +31 -0
  977. package/build/project/resolveRuntimeVersionAsync.js +51 -0
  978. package/build/project/uploadAccountScopedFileAsync.d.ts +14 -0
  979. package/build/project/uploadAccountScopedFileAsync.js +34 -0
  980. package/build/project/uploadAccountScopedProjectSourceAsync.d.ts +13 -0
  981. package/build/project/uploadAccountScopedProjectSourceAsync.js +43 -0
  982. package/build/project/workflow.d.ts +5 -0
  983. package/build/project/workflow.js +50 -0
  984. package/build/prompts.d.ts +22 -0
  985. package/build/prompts.js +76 -0
  986. package/build/rollout/actions/CreateRollout.d.ts +24 -0
  987. package/build/rollout/actions/CreateRollout.js +239 -0
  988. package/build/rollout/actions/EditRollout.d.ts +16 -0
  989. package/build/rollout/actions/EditRollout.js +83 -0
  990. package/build/rollout/actions/EndRollout.d.ts +25 -0
  991. package/build/rollout/actions/EndRollout.js +165 -0
  992. package/build/rollout/actions/ManageRollout.d.ts +24 -0
  993. package/build/rollout/actions/ManageRollout.js +90 -0
  994. package/build/rollout/actions/NonInteractiveRollout.d.ts +23 -0
  995. package/build/rollout/actions/NonInteractiveRollout.js +115 -0
  996. package/build/rollout/actions/RolloutMainMenu.d.ts +27 -0
  997. package/build/rollout/actions/RolloutMainMenu.js +122 -0
  998. package/build/rollout/actions/SelectRollout.d.ts +8 -0
  999. package/build/rollout/actions/SelectRollout.js +33 -0
  1000. package/build/rollout/actions/SelectRuntime.d.ts +19 -0
  1001. package/build/rollout/actions/SelectRuntime.js +160 -0
  1002. package/build/rollout/branch-mapping.d.ts +128 -0
  1003. package/build/rollout/branch-mapping.js +271 -0
  1004. package/build/rollout/utils.d.ts +10 -0
  1005. package/build/rollout/utils.js +91 -0
  1006. package/build/run/android/aapt.d.ts +5 -0
  1007. package/build/run/android/aapt.js +50 -0
  1008. package/build/run/android/adb.d.ts +23 -0
  1009. package/build/run/android/adb.js +116 -0
  1010. package/build/run/android/emulator.d.ts +7 -0
  1011. package/build/run/android/emulator.js +109 -0
  1012. package/build/run/android/run.d.ts +1 -0
  1013. package/build/run/android/run.js +15 -0
  1014. package/build/run/android/sdk.d.ts +2 -0
  1015. package/build/run/android/sdk.js +29 -0
  1016. package/build/run/android/systemRequirements.d.ts +1 -0
  1017. package/build/run/android/systemRequirements.js +23 -0
  1018. package/build/run/ios/run.d.ts +1 -0
  1019. package/build/run/ios/run.js +30 -0
  1020. package/build/run/ios/simctl.d.ts +2 -0
  1021. package/build/run/ios/simctl.js +7 -0
  1022. package/build/run/ios/simulator.d.ts +21 -0
  1023. package/build/run/ios/simulator.js +160 -0
  1024. package/build/run/ios/systemRequirements.d.ts +1 -0
  1025. package/build/run/ios/systemRequirements.js +81 -0
  1026. package/build/run/ios/xcode.d.ts +19 -0
  1027. package/build/run/ios/xcode.js +63 -0
  1028. package/build/run/ios/xcrun.d.ts +4 -0
  1029. package/build/run/ios/xcrun.js +66 -0
  1030. package/build/run/run.d.ts +9 -0
  1031. package/build/run/run.js +21 -0
  1032. package/build/run/utils.d.ts +2 -0
  1033. package/build/run/utils.js +17 -0
  1034. package/build/submit/ArchiveSource.d.ts +58 -0
  1035. package/build/submit/ArchiveSource.js +412 -0
  1036. package/build/submit/BaseSubmitter.d.ts +36 -0
  1037. package/build/submit/BaseSubmitter.js +88 -0
  1038. package/build/submit/android/AndroidSubmitCommand.d.ts +14 -0
  1039. package/build/submit/android/AndroidSubmitCommand.js +125 -0
  1040. package/build/submit/android/AndroidSubmitter.d.ts +23 -0
  1041. package/build/submit/android/AndroidSubmitter.js +110 -0
  1042. package/build/submit/android/ServiceAccountSource.d.ts +41 -0
  1043. package/build/submit/android/ServiceAccountSource.js +120 -0
  1044. package/build/submit/commons.d.ts +5 -0
  1045. package/build/submit/commons.js +64 -0
  1046. package/build/submit/context.d.ts +56 -0
  1047. package/build/submit/context.js +53 -0
  1048. package/build/submit/ios/AppProduce.d.ts +7 -0
  1049. package/build/submit/ios/AppProduce.js +77 -0
  1050. package/build/submit/ios/AppSpecificPasswordSource.d.ts +20 -0
  1051. package/build/submit/ios/AppSpecificPasswordSource.js +57 -0
  1052. package/build/submit/ios/AscApiKeySource.d.ts +39 -0
  1053. package/build/submit/ios/AscApiKeySource.js +115 -0
  1054. package/build/submit/ios/IosSubmitCommand.d.ts +14 -0
  1055. package/build/submit/ios/IosSubmitCommand.js +156 -0
  1056. package/build/submit/ios/IosSubmitter.d.ts +31 -0
  1057. package/build/submit/ios/IosSubmitter.js +141 -0
  1058. package/build/submit/ios/utils/language.d.ts +9 -0
  1059. package/build/submit/ios/utils/language.js +244 -0
  1060. package/build/submit/submit.d.ts +9 -0
  1061. package/build/submit/submit.js +81 -0
  1062. package/build/submit/utils/builds.d.ts +5 -0
  1063. package/build/submit/utils/builds.js +29 -0
  1064. package/build/submit/utils/errors.d.ts +5 -0
  1065. package/build/submit/utils/errors.js +23 -0
  1066. package/build/submit/utils/files.d.ts +3 -0
  1067. package/build/submit/utils/files.js +27 -0
  1068. package/build/submit/utils/logs.d.ts +5 -0
  1069. package/build/submit/utils/logs.js +68 -0
  1070. package/build/submit/utils/summary.d.ts +8 -0
  1071. package/build/submit/utils/summary.js +60 -0
  1072. package/build/submit/utils/urls.d.ts +3 -0
  1073. package/build/submit/utils/urls.js +24 -0
  1074. package/build/submit/utils/wait.d.ts +3 -0
  1075. package/build/submit/utils/wait.js +113 -0
  1076. package/build/update/android/UpdatesModule.d.ts +12 -0
  1077. package/build/update/android/UpdatesModule.js +53 -0
  1078. package/build/update/configure.d.ts +36 -0
  1079. package/build/update/configure.js +292 -0
  1080. package/build/update/delete.d.ts +5 -0
  1081. package/build/update/delete.js +23 -0
  1082. package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.d.ts +5 -0
  1083. package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +45 -0
  1084. package/build/update/ios/UpdatesModule.d.ts +11 -0
  1085. package/build/update/ios/UpdatesModule.js +41 -0
  1086. package/build/update/queries.d.ts +33 -0
  1087. package/build/update/queries.js +232 -0
  1088. package/build/update/republish.d.ts +56 -0
  1089. package/build/update/republish.js +416 -0
  1090. package/build/update/roll-back-to-embedded.d.ts +18 -0
  1091. package/build/update/roll-back-to-embedded.js +118 -0
  1092. package/build/update/utils.d.ts +64 -0
  1093. package/build/update/utils.js +267 -0
  1094. package/build/uploads.d.ts +16 -0
  1095. package/build/uploads.js +100 -0
  1096. package/build/user/SessionManager.d.ts +76 -0
  1097. package/build/user/SessionManager.js +268 -0
  1098. package/build/user/User.d.ts +9 -0
  1099. package/build/user/User.js +34 -0
  1100. package/build/user/UserSettings.d.ts +10 -0
  1101. package/build/user/UserSettings.js +13 -0
  1102. package/build/user/actions.d.ts +3 -0
  1103. package/build/user/actions.js +9 -0
  1104. package/build/user/expoBrowserAuthFlowLauncher.d.ts +3 -0
  1105. package/build/user/expoBrowserAuthFlowLauncher.js +72 -0
  1106. package/build/user/expoSsoLauncher.d.ts +3 -0
  1107. package/build/user/expoSsoLauncher.js +98 -0
  1108. package/build/user/fetchSessionSecretAndSsoUser.d.ts +5 -0
  1109. package/build/user/fetchSessionSecretAndSsoUser.js +18 -0
  1110. package/build/user/fetchSessionSecretAndUser.d.ts +9 -0
  1111. package/build/user/fetchSessionSecretAndUser.js +22 -0
  1112. package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.d.ts +7 -0
  1113. package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.js +14 -0
  1114. package/build/user/fetchUser.d.ts +6 -0
  1115. package/build/user/fetchUser.js +28 -0
  1116. package/build/utils/buildDistribution.d.ts +3 -0
  1117. package/build/utils/buildDistribution.js +20 -0
  1118. package/build/utils/code-signing.d.ts +25 -0
  1119. package/build/utils/code-signing.js +130 -0
  1120. package/build/utils/date.d.ts +4 -0
  1121. package/build/utils/date.js +36 -0
  1122. package/build/utils/download.d.ts +3 -0
  1123. package/build/utils/download.js +155 -0
  1124. package/build/utils/easCli.d.ts +1 -0
  1125. package/build/utils/easCli.js +5 -0
  1126. package/build/utils/expoCli.d.ts +17 -0
  1127. package/build/utils/expoCli.js +105 -0
  1128. package/build/utils/expoUpdatesCli.d.ts +11 -0
  1129. package/build/utils/expoUpdatesCli.js +49 -0
  1130. package/build/utils/expodash/areSetsEqual.d.ts +1 -0
  1131. package/build/utils/expodash/areSetsEqual.js +6 -0
  1132. package/build/utils/expodash/capitalize.d.ts +1 -0
  1133. package/build/utils/expodash/capitalize.js +6 -0
  1134. package/build/utils/expodash/chunk.d.ts +1 -0
  1135. package/build/utils/expodash/chunk.js +16 -0
  1136. package/build/utils/expodash/differenceBy.d.ts +1 -0
  1137. package/build/utils/expodash/differenceBy.js +7 -0
  1138. package/build/utils/expodash/filter.d.ts +2 -0
  1139. package/build/utils/expodash/filter.js +7 -0
  1140. package/build/utils/expodash/groupBy.d.ts +1 -0
  1141. package/build/utils/expodash/groupBy.js +13 -0
  1142. package/build/utils/expodash/intersection.d.ts +1 -0
  1143. package/build/utils/expodash/intersection.js +8 -0
  1144. package/build/utils/expodash/mapMapAsync.d.ts +1 -0
  1145. package/build/utils/expodash/mapMapAsync.js +12 -0
  1146. package/build/utils/expodash/memoize.d.ts +2 -0
  1147. package/build/utils/expodash/memoize.js +16 -0
  1148. package/build/utils/expodash/pick.d.ts +1 -0
  1149. package/build/utils/expodash/pick.js +11 -0
  1150. package/build/utils/expodash/sortBy.d.ts +1 -0
  1151. package/build/utils/expodash/sortBy.js +11 -0
  1152. package/build/utils/expodash/uniq.d.ts +1 -0
  1153. package/build/utils/expodash/uniq.js +7 -0
  1154. package/build/utils/expodash/uniqBy.d.ts +1 -0
  1155. package/build/utils/expodash/uniqBy.js +14 -0
  1156. package/build/utils/expodash/zipObject.d.ts +1 -0
  1157. package/build/utils/expodash/zipObject.js +13 -0
  1158. package/build/utils/files.d.ts +2 -0
  1159. package/build/utils/files.js +52 -0
  1160. package/build/utils/filterAsync.d.ts +7 -0
  1161. package/build/utils/filterAsync.js +11 -0
  1162. package/build/utils/fingerprint.d.ts +97 -0
  1163. package/build/utils/fingerprint.js +5 -0
  1164. package/build/utils/fingerprintCli.d.ts +28 -0
  1165. package/build/utils/fingerprintCli.js +110 -0
  1166. package/build/utils/fingerprintDiff.d.ts +33 -0
  1167. package/build/utils/fingerprintDiff.js +122 -0
  1168. package/build/utils/formatFields.d.ts +9 -0
  1169. package/build/utils/formatFields.js +19 -0
  1170. package/build/utils/image.d.ts +6 -0
  1171. package/build/utils/image.js +107 -0
  1172. package/build/utils/json.d.ts +2 -0
  1173. package/build/utils/json.js +42 -0
  1174. package/build/utils/paths.d.ts +7 -0
  1175. package/build/utils/paths.js +43 -0
  1176. package/build/utils/plist.d.ts +4 -0
  1177. package/build/utils/plist.js +51 -0
  1178. package/build/utils/pollForBackgroundJobReceiptAsync.d.ts +29 -0
  1179. package/build/utils/pollForBackgroundJobReceiptAsync.js +92 -0
  1180. package/build/utils/profiles.d.ts +21 -0
  1181. package/build/utils/profiles.js +89 -0
  1182. package/build/utils/progress.d.ts +15 -0
  1183. package/build/utils/progress.js +64 -0
  1184. package/build/utils/promise.d.ts +7 -0
  1185. package/build/utils/promise.js +12 -0
  1186. package/build/utils/prompts.d.ts +32 -0
  1187. package/build/utils/prompts.js +219 -0
  1188. package/build/utils/queries.d.ts +31 -0
  1189. package/build/utils/queries.js +68 -0
  1190. package/build/utils/relay.d.ts +104 -0
  1191. package/build/utils/relay.js +255 -0
  1192. package/build/utils/statuspageService.d.ts +3 -0
  1193. package/build/utils/statuspageService.js +44 -0
  1194. package/build/utils/timer.d.ts +12 -0
  1195. package/build/utils/timer.js +54 -0
  1196. package/build/utils/usage/checkForOverages.d.ts +12 -0
  1197. package/build/utils/usage/checkForOverages.js +59 -0
  1198. package/build/utils/variableUtils.d.ts +6 -0
  1199. package/build/utils/variableUtils.js +61 -0
  1200. package/build/utils/workflowFile.d.ts +14 -0
  1201. package/build/utils/workflowFile.js +58 -0
  1202. package/build/vcs/clients/git.d.ts +37 -0
  1203. package/build/vcs/clients/git.js +456 -0
  1204. package/build/vcs/clients/gitNoCommit.d.ts +8 -0
  1205. package/build/vcs/clients/gitNoCommit.js +42 -0
  1206. package/build/vcs/clients/noVcs.d.ts +11 -0
  1207. package/build/vcs/clients/noVcs.js +52 -0
  1208. package/build/vcs/git.d.ts +13 -0
  1209. package/build/vcs/git.js +59 -0
  1210. package/build/vcs/index.d.ts +2 -0
  1211. package/build/vcs/index.js +25 -0
  1212. package/build/vcs/local.d.ts +25 -0
  1213. package/build/vcs/local.js +117 -0
  1214. package/build/vcs/vcs.d.ts +25 -0
  1215. package/build/vcs/vcs.js +61 -0
  1216. package/build/webhooks/formatWebhook.d.ts +2 -0
  1217. package/build/webhooks/formatWebhook.js +14 -0
  1218. package/build/webhooks/input.d.ts +9 -0
  1219. package/build/webhooks/input.js +83 -0
  1220. package/build/worker/assets.d.ts +54 -0
  1221. package/build/worker/assets.js +193 -0
  1222. package/build/worker/deployment.d.ts +61 -0
  1223. package/build/worker/deployment.js +184 -0
  1224. package/build/worker/fragments/WorkerDeployment.d.ts +1 -0
  1225. package/build/worker/fragments/WorkerDeployment.js +14 -0
  1226. package/build/worker/fragments/WorkerDeploymentAlias.d.ts +1 -0
  1227. package/build/worker/fragments/WorkerDeploymentAlias.js +12 -0
  1228. package/build/worker/mutations.d.ts +28 -0
  1229. package/build/worker/mutations.js +105 -0
  1230. package/build/worker/queries.d.ts +14 -0
  1231. package/build/worker/queries.js +103 -0
  1232. package/build/worker/upload.d.ts +33 -0
  1233. package/build/worker/upload.js +213 -0
  1234. package/build/worker/utils/logs.d.ts +36 -0
  1235. package/build/worker/utils/logs.js +54 -0
  1236. package/build/worker/utils/multipart.d.ts +11 -0
  1237. package/build/worker/utils/multipart.js +98 -0
  1238. package/package.json +246 -0
  1239. package/schema/metadata-0.json +828 -0
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensureAppStoreConnectAppExistsAsync = ensureAppStoreConnectAppExistsAsync;
4
+ const tslib_1 = require("tslib");
5
+ const apple_utils_1 = require("@expo/apple-utils");
6
+ const language_1 = require("./utils/language");
7
+ const authenticate_1 = require("../../credentials/ios/appstore/authenticate");
8
+ const ensureAppExists_1 = require("../../credentials/ios/appstore/ensureAppExists");
9
+ const ensureTestFlightGroup_1 = require("../../credentials/ios/appstore/ensureTestFlightGroup");
10
+ const log_1 = tslib_1.__importDefault(require("../../log"));
11
+ const bundleIdentifier_1 = require("../../project/ios/bundleIdentifier");
12
+ const prompts_1 = require("../../prompts");
13
+ async function ensureAppStoreConnectAppExistsAsync(ctx) {
14
+ const { exp } = ctx;
15
+ const { appName, language } = ctx.profile;
16
+ const options = {
17
+ ...ctx.profile,
18
+ bundleIdentifier: ctx.applicationIdentifierOverride ??
19
+ ctx.profile.bundleIdentifier ??
20
+ (await (0, bundleIdentifier_1.getBundleIdentifierAsync)(ctx.projectDir, exp, ctx.vcsClient)),
21
+ appName: appName ?? exp.name ?? (await promptForAppNameAsync()),
22
+ language: (0, language_1.sanitizeLanguage)(language),
23
+ };
24
+ return await createAppStoreConnectAppAsync(ctx, options);
25
+ }
26
+ async function isProvisioningAvailableAsync(requestCtx) {
27
+ const session = apple_utils_1.Session.getAnySessionInfo();
28
+ // TODO: Investigate if username and email can be different
29
+ const username = session?.user.emailAddress;
30
+ const [user] = await apple_utils_1.User.getAsync(requestCtx, { query: { filter: { username } } });
31
+ return user.attributes.provisioningAllowed;
32
+ }
33
+ async function createAppStoreConnectAppAsync(ctx, options) {
34
+ const { appleId, appleTeamId, bundleIdentifier: bundleId, appName, language, companyName, sku, } = options;
35
+ const userAuthCtx = await ctx.credentialsCtx.appStore.ensureUserAuthenticatedAsync({
36
+ appleId,
37
+ teamId: appleTeamId,
38
+ });
39
+ const requestCtx = (0, authenticate_1.getRequestContext)(userAuthCtx);
40
+ log_1.default.addNewLineIfNone();
41
+ if (await isProvisioningAvailableAsync(requestCtx)) {
42
+ await (0, ensureAppExists_1.ensureBundleIdExistsWithNameAsync)(userAuthCtx, {
43
+ name: appName,
44
+ bundleIdentifier: bundleId,
45
+ });
46
+ }
47
+ else {
48
+ log_1.default.warn(`Provisioning is not available for Apple User: ${userAuthCtx.appleId}, skipping bundle identifier check.`);
49
+ }
50
+ const app = await (0, ensureAppExists_1.ensureAppExistsAsync)(userAuthCtx, {
51
+ name: appName,
52
+ language,
53
+ companyName,
54
+ bundleIdentifier: bundleId,
55
+ sku,
56
+ });
57
+ try {
58
+ await (0, ensureTestFlightGroup_1.ensureTestFlightGroupExistsAsync)(app);
59
+ }
60
+ catch (error) {
61
+ // This process is not critical to the app submission so we shouldn't let it fail the entire process.
62
+ log_1.default.error('Failed to create an internal TestFlight group. This can be done manually in the App Store Connect website.');
63
+ log_1.default.error(error);
64
+ }
65
+ return {
66
+ ascAppIdentifier: app.id,
67
+ };
68
+ }
69
+ async function promptForAppNameAsync() {
70
+ const { appName } = await (0, prompts_1.promptAsync)({
71
+ type: 'text',
72
+ name: 'appName',
73
+ message: 'What would you like to name your app?',
74
+ validate: (val) => val !== '' || 'App name cannot be empty!',
75
+ });
76
+ return appName;
77
+ }
@@ -0,0 +1,20 @@
1
+ import { Platform } from '@expo/eas-build-job';
2
+ import { SubmissionContext } from '../context';
3
+ export declare enum AppSpecificPasswordSourceType {
4
+ userDefined = 0
5
+ }
6
+ interface AppSpecificPasswordSourceBase {
7
+ sourceType: AppSpecificPasswordSourceType;
8
+ }
9
+ interface AppSpecificPasswordUserDefinedSource extends AppSpecificPasswordSourceBase {
10
+ sourceType: AppSpecificPasswordSourceType.userDefined;
11
+ appSpecificPassword: string;
12
+ }
13
+ export interface AppSpecificPasswordCredentials {
14
+ password: string;
15
+ appleIdUsername: string;
16
+ }
17
+ export type AppSpecificPasswordSource = AppSpecificPasswordUserDefinedSource;
18
+ export declare function getAppSpecificPasswordLocallyAsync(ctx: SubmissionContext<Platform.IOS>, source: AppSpecificPasswordSource): Promise<AppSpecificPasswordCredentials>;
19
+ export declare function getAppleIdUsernameAsync(ctx: SubmissionContext<Platform.IOS>): Promise<string>;
20
+ export {};
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppSpecificPasswordSourceType = void 0;
4
+ exports.getAppSpecificPasswordLocallyAsync = getAppSpecificPasswordLocallyAsync;
5
+ exports.getAppleIdUsernameAsync = getAppleIdUsernameAsync;
6
+ const tslib_1 = require("tslib");
7
+ const getenv_1 = tslib_1.__importDefault(require("getenv"));
8
+ const authenticate_1 = require("../../credentials/ios/appstore/authenticate");
9
+ const prompts_1 = require("../../prompts");
10
+ const UserSettings_1 = tslib_1.__importDefault(require("../../user/UserSettings"));
11
+ var AppSpecificPasswordSourceType;
12
+ (function (AppSpecificPasswordSourceType) {
13
+ AppSpecificPasswordSourceType[AppSpecificPasswordSourceType["userDefined"] = 0] = "userDefined";
14
+ })(AppSpecificPasswordSourceType || (exports.AppSpecificPasswordSourceType = AppSpecificPasswordSourceType = {}));
15
+ async function getAppSpecificPasswordLocallyAsync(ctx, source) {
16
+ if (source.sourceType === AppSpecificPasswordSourceType.userDefined) {
17
+ return {
18
+ password: source.appSpecificPassword,
19
+ appleIdUsername: await getAppleIdUsernameAsync(ctx),
20
+ };
21
+ }
22
+ else {
23
+ // exhaustive -- should never happen
24
+ throw new Error(`Unknown app specific password source type "${source?.sourceType}"`);
25
+ }
26
+ }
27
+ async function getAppleIdUsernameAsync(ctx) {
28
+ if (ctx.profile.appleId) {
29
+ return ctx.profile.appleId;
30
+ }
31
+ const envAppleId = getenv_1.default.string('EXPO_APPLE_ID', '');
32
+ if (envAppleId) {
33
+ return envAppleId;
34
+ }
35
+ if ((0, authenticate_1.isUserAuthCtx)(ctx.credentialsCtx.appStore.authCtx)) {
36
+ return ctx.credentialsCtx.appStore.authCtx.appleId;
37
+ }
38
+ // Get the email address that was last used and set it as
39
+ // the default value for quicker authentication.
40
+ const lastAppleId = await UserSettings_1.default.getAsync('appleId', null);
41
+ if (ctx.nonInteractive) {
42
+ if (lastAppleId) {
43
+ return lastAppleId;
44
+ }
45
+ else {
46
+ throw new Error('Set appleId in the submit profile (eas.json).');
47
+ }
48
+ }
49
+ const { appleId } = await (0, prompts_1.promptAsync)({
50
+ type: 'text',
51
+ name: 'appleId',
52
+ message: `Enter your Apple ID:`,
53
+ validate: (val) => !!val,
54
+ initial: lastAppleId ?? undefined,
55
+ });
56
+ return appleId;
57
+ }
@@ -0,0 +1,39 @@
1
+ import { Platform } from '@expo/eas-build-job';
2
+ import { AscApiKeyPath, MinimalAscApiKey } from '../../credentials/ios/credentials';
3
+ import { SubmissionContext } from '../context';
4
+ export declare enum AscApiKeySourceType {
5
+ path = 0,
6
+ prompt = 1,
7
+ credentialsService = 2
8
+ }
9
+ interface AscApiKeySourceBase {
10
+ sourceType: AscApiKeySourceType;
11
+ }
12
+ interface AscApiKeyCredentialsServiceSource extends AscApiKeySourceBase {
13
+ sourceType: AscApiKeySourceType.credentialsService;
14
+ }
15
+ interface AscApiKeyPromptSource extends AscApiKeySourceBase {
16
+ sourceType: AscApiKeySourceType.prompt;
17
+ }
18
+ interface AscApiKeyEnvVarSource extends AscApiKeySourceBase {
19
+ sourceType: AscApiKeySourceType.path;
20
+ path: AscApiKeyPath;
21
+ }
22
+ export type AscApiKeySource = AscApiKeyEnvVarSource | AscApiKeyPromptSource | AscApiKeyCredentialsServiceSource;
23
+ type AscApiKeySummary = {
24
+ source: 'local' | 'EAS servers';
25
+ path?: string;
26
+ keyId: string;
27
+ name?: string;
28
+ };
29
+ export type AscApiKeyFromExpoServers = {
30
+ ascApiKeyId: string;
31
+ };
32
+ export type AscApiKeyResult = {
33
+ result: MinimalAscApiKey | AscApiKeyFromExpoServers;
34
+ summary: AscApiKeySummary;
35
+ };
36
+ export declare function getAscApiKeyResultAsync(ctx: SubmissionContext<Platform.IOS>, source: AscApiKeySource): Promise<AscApiKeyResult>;
37
+ export declare function getAscApiKeyLocallyAsync(ctx: SubmissionContext<Platform.IOS>, source: AscApiKeySource): Promise<AscApiKeyResult>;
38
+ export declare function getAscApiKeyPathAsync(ctx: SubmissionContext<Platform.IOS>, source: AscApiKeySource): Promise<AscApiKeyPath>;
39
+ export {};
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AscApiKeySourceType = void 0;
4
+ exports.getAscApiKeyResultAsync = getAscApiKeyResultAsync;
5
+ exports.getAscApiKeyLocallyAsync = getAscApiKeyLocallyAsync;
6
+ exports.getAscApiKeyPathAsync = getAscApiKeyPathAsync;
7
+ const tslib_1 = require("tslib");
8
+ const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
9
+ const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
10
+ const AscApiKeyUtils_1 = require("../../credentials/ios/actions/AscApiKeyUtils");
11
+ const SetUpAscApiKey_1 = require("../../credentials/ios/actions/SetUpAscApiKey");
12
+ const log_1 = tslib_1.__importDefault(require("../../log"));
13
+ const bundleIdentifier_1 = require("../../project/ios/bundleIdentifier");
14
+ const prompts_1 = require("../../prompts");
15
+ const files_1 = require("../utils/files");
16
+ var AscApiKeySourceType;
17
+ (function (AscApiKeySourceType) {
18
+ AscApiKeySourceType[AscApiKeySourceType["path"] = 0] = "path";
19
+ AscApiKeySourceType[AscApiKeySourceType["prompt"] = 1] = "prompt";
20
+ AscApiKeySourceType[AscApiKeySourceType["credentialsService"] = 2] = "credentialsService";
21
+ })(AscApiKeySourceType || (exports.AscApiKeySourceType = AscApiKeySourceType = {}));
22
+ async function getAscApiKeyResultAsync(ctx, source) {
23
+ if (source.sourceType === AscApiKeySourceType.credentialsService) {
24
+ return await getAscApiKeyFromCredentialsServiceAsync(ctx);
25
+ }
26
+ else {
27
+ return await getAscApiKeyLocallyAsync(ctx, source);
28
+ }
29
+ }
30
+ async function maybeGetIosBundleIdentifierAsync(ctx) {
31
+ try {
32
+ return await (0, bundleIdentifier_1.getBundleIdentifierAsync)(ctx.projectDir, ctx.exp, ctx.vcsClient);
33
+ }
34
+ catch (error) {
35
+ if (error instanceof bundleIdentifier_1.AmbiguousBundleIdentifierError) {
36
+ log_1.default.warn('bundleIdentifier in the Xcode project is ambiguous, specify it via "bundleIdentifier" field in the submit profile in the eas.json.');
37
+ return null;
38
+ }
39
+ throw new Error(`Failed to resolve bundleIdentifier in the Xcode project: ${error.message}.`);
40
+ }
41
+ }
42
+ async function promptForBundleIdentifierAsync() {
43
+ const { bundleIdentifier } = await (0, prompts_1.promptAsync)({
44
+ name: 'bundleIdentifier',
45
+ message: 'Bundle identifier:',
46
+ type: 'text',
47
+ validate: value => ((0, bundleIdentifier_1.isBundleIdentifierValid)(value) ? true : bundleIdentifier_1.INVALID_BUNDLE_IDENTIFIER_MESSAGE),
48
+ });
49
+ return bundleIdentifier;
50
+ }
51
+ async function getAscApiKeyFromCredentialsServiceAsync(ctx) {
52
+ const bundleIdentifier = ctx.applicationIdentifierOverride ??
53
+ ctx.profile.bundleIdentifier ??
54
+ (await maybeGetIosBundleIdentifierAsync(ctx)) ??
55
+ (await promptForBundleIdentifierAsync());
56
+ log_1.default.log(`Looking up credentials configuration for ${bundleIdentifier}...`);
57
+ const appLookupParams = {
58
+ account: (0, nullthrows_1.default)(ctx.user.accounts.find(a => a.name === ctx.accountName), `You do not have access to account: ${ctx.accountName}`),
59
+ projectName: ctx.projectName,
60
+ bundleIdentifier,
61
+ };
62
+ const setupAscApiKeyAction = new SetUpAscApiKey_1.SetUpAscApiKey(appLookupParams, AscApiKeyUtils_1.AppStoreApiKeyPurpose.SUBMISSION_SERVICE);
63
+ const iosAppCredentials = await setupAscApiKeyAction.runAsync(ctx.credentialsCtx);
64
+ const ascKeyForSubmissions = (0, nullthrows_1.default)(iosAppCredentials.appStoreConnectApiKeyForSubmissions, `An EAS Submit ASC Api Key could not be found for ${iosAppCredentials.appleAppIdentifier.bundleIdentifier}`);
65
+ const { id, keyIdentifier, name } = ascKeyForSubmissions;
66
+ log_1.default.log(`Using Api Key ID: ${keyIdentifier}${name ? ` (${name})` : ''}`);
67
+ return {
68
+ result: {
69
+ ascApiKeyId: id,
70
+ },
71
+ summary: {
72
+ source: 'EAS servers',
73
+ keyId: keyIdentifier,
74
+ name: name ?? undefined,
75
+ },
76
+ };
77
+ }
78
+ async function getAscApiKeyLocallyAsync(ctx, source) {
79
+ const ascApiKeyPath = await getAscApiKeyPathAsync(ctx, source);
80
+ const { keyP8Path, keyId, issuerId } = ascApiKeyPath;
81
+ const keyP8 = await fs_extra_1.default.readFile(keyP8Path, 'utf-8');
82
+ return {
83
+ result: { keyP8, keyId, issuerId },
84
+ summary: {
85
+ source: 'local',
86
+ path: keyP8Path,
87
+ keyId,
88
+ },
89
+ };
90
+ }
91
+ async function getAscApiKeyPathAsync(ctx, source) {
92
+ switch (source.sourceType) {
93
+ case AscApiKeySourceType.path:
94
+ return await handlePathSourceAsync(ctx, source);
95
+ case AscApiKeySourceType.prompt:
96
+ return await handlePromptSourceAsync(ctx, source);
97
+ case AscApiKeySourceType.credentialsService:
98
+ throw new Error(`AscApiKeySourceType ${source} does not return a path.`);
99
+ }
100
+ }
101
+ async function handlePathSourceAsync(ctx, source) {
102
+ const { keyP8Path } = source.path;
103
+ if (!(await (0, files_1.isExistingFileAsync)(keyP8Path))) {
104
+ log_1.default.warn(`File ${keyP8Path} doesn't exist.`);
105
+ return await getAscApiKeyPathAsync(ctx, { sourceType: AscApiKeySourceType.prompt });
106
+ }
107
+ return source.path;
108
+ }
109
+ async function handlePromptSourceAsync(ctx, _source) {
110
+ const ascApiKeyPath = await (0, AscApiKeyUtils_1.promptForAscApiKeyPathAsync)(ctx.credentialsCtx);
111
+ return await getAscApiKeyPathAsync(ctx, {
112
+ sourceType: AscApiKeySourceType.path,
113
+ path: ascApiKeyPath,
114
+ });
115
+ }
@@ -0,0 +1,14 @@
1
+ import { Platform } from '@expo/eas-build-job';
2
+ import IosSubmitter from './IosSubmitter';
3
+ import { SubmissionContext } from '../context';
4
+ export default class IosSubmitCommand {
5
+ private ctx;
6
+ constructor(ctx: SubmissionContext<Platform.IOS>);
7
+ runAsync(): Promise<IosSubmitter>;
8
+ private resolveSubmissionOptionsAsync;
9
+ private resolveCredentialSubmissionOptionsAsync;
10
+ private resolveAppSpecificPasswordSource;
11
+ private resolveAscApiKeySource;
12
+ private resolveArchiveSource;
13
+ private resolveAscAppIdentifierAsync;
14
+ }
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const eas_build_job_1 = require("@expo/eas-build-job");
5
+ const results_1 = require("@expo/results");
6
+ const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
+ const getenv_1 = tslib_1.__importDefault(require("getenv"));
8
+ const wrap_ansi_1 = tslib_1.__importDefault(require("wrap-ansi"));
9
+ const AppProduce_1 = require("./AppProduce");
10
+ const AppSpecificPasswordSource_1 = require("./AppSpecificPasswordSource");
11
+ const AscApiKeySource_1 = require("./AscApiKeySource");
12
+ const IosSubmitter_1 = tslib_1.__importDefault(require("./IosSubmitter"));
13
+ const errors_1 = require("../../credentials/errors");
14
+ const log_1 = tslib_1.__importStar(require("../../log"));
15
+ const ArchiveSource_1 = require("../ArchiveSource");
16
+ const commons_1 = require("../commons");
17
+ class IosSubmitCommand {
18
+ ctx;
19
+ constructor(ctx) {
20
+ this.ctx = ctx;
21
+ }
22
+ async runAsync() {
23
+ log_1.default.addNewLineIfNone();
24
+ const archiveSource = this.resolveArchiveSource();
25
+ if (!archiveSource.ok) {
26
+ log_1.default.error(archiveSource.reason?.message);
27
+ throw new Error('Submission failed');
28
+ }
29
+ const archiveSourceValue = archiveSource.enforceValue();
30
+ const archive = await (0, ArchiveSource_1.getArchiveAsync)({
31
+ graphqlClient: this.ctx.graphqlClient,
32
+ platform: eas_build_job_1.Platform.IOS,
33
+ projectId: this.ctx.projectId,
34
+ nonInteractive: this.ctx.nonInteractive,
35
+ }, archiveSourceValue);
36
+ const archiveProfile = archive.sourceType === ArchiveSource_1.ArchiveSourceType.build ? archive.build.buildProfile : undefined;
37
+ if (archiveProfile && !this.ctx.specifiedProfile) {
38
+ this.ctx = await (0, commons_1.refreshContextSubmitProfileAsync)(this.ctx, archiveProfile);
39
+ }
40
+ const options = await this.resolveSubmissionOptionsAsync(archiveSourceValue);
41
+ const submitter = new IosSubmitter_1.default(this.ctx, options, archive);
42
+ return submitter;
43
+ }
44
+ async resolveSubmissionOptionsAsync(archiveSource) {
45
+ const credentialsSource = await this.resolveCredentialSubmissionOptionsAsync();
46
+ const maybeAppSpecificPasswordSource = 'appSpecificPasswordSource' in credentialsSource
47
+ ? credentialsSource.appSpecificPasswordSource
48
+ : null;
49
+ const maybeAscApiKeySource = 'ascApiKeySource' in credentialsSource ? credentialsSource.ascApiKeySource : null;
50
+ const ascAppIdentifier = await this.resolveAscAppIdentifierAsync();
51
+ const errored = [
52
+ ...(maybeAppSpecificPasswordSource ? [maybeAppSpecificPasswordSource] : []),
53
+ ...(maybeAscApiKeySource ? [maybeAscApiKeySource] : []),
54
+ ascAppIdentifier,
55
+ ].filter(r => !r.ok);
56
+ if (errored.length > 0) {
57
+ const message = errored.map(err => err.reason?.message).join('\n');
58
+ log_1.default.error(message);
59
+ throw new Error('Submission failed');
60
+ }
61
+ return {
62
+ projectId: this.ctx.projectId,
63
+ ascAppIdentifier: ascAppIdentifier.enforceValue(),
64
+ archiveSource,
65
+ ...(maybeAppSpecificPasswordSource
66
+ ? {
67
+ appSpecificPasswordSource: maybeAppSpecificPasswordSource.enforceValue(),
68
+ }
69
+ : null),
70
+ ...(maybeAscApiKeySource
71
+ ? {
72
+ ascApiKeySource: maybeAscApiKeySource.enforceValue(),
73
+ }
74
+ : null),
75
+ };
76
+ }
77
+ async resolveCredentialSubmissionOptionsAsync() {
78
+ // if an App Specific Password env var is not specified, use ASC Api Key
79
+ const appSpecificPasswordSource = this.resolveAppSpecificPasswordSource();
80
+ const shouldSkipAppSpecificPasswordSource = !appSpecificPasswordSource.ok &&
81
+ appSpecificPasswordSource.enforceError() instanceof errors_1.MissingCredentialsError;
82
+ if (!shouldSkipAppSpecificPasswordSource) {
83
+ return { appSpecificPasswordSource: this.resolveAppSpecificPasswordSource() };
84
+ }
85
+ const ascApiKeySource = this.resolveAscApiKeySource();
86
+ return { ascApiKeySource };
87
+ }
88
+ resolveAppSpecificPasswordSource() {
89
+ const envAppSpecificPassword = getenv_1.default.string('EXPO_APPLE_APP_SPECIFIC_PASSWORD', '');
90
+ if (envAppSpecificPassword) {
91
+ if (!/^[a-z]{4}-[a-z]{4}-[a-z]{4}-[a-z]{4}$/.test(envAppSpecificPassword)) {
92
+ throw new Error('EXPO_APPLE_APP_SPECIFIC_PASSWORD must be in the format xxxx-xxxx-xxxx-xxxx, where x is a lowercase letter.');
93
+ }
94
+ return (0, results_1.result)({
95
+ sourceType: AppSpecificPasswordSource_1.AppSpecificPasswordSourceType.userDefined,
96
+ appSpecificPassword: envAppSpecificPassword,
97
+ });
98
+ }
99
+ return (0, results_1.result)(new errors_1.MissingCredentialsError('The EXPO_APPLE_APP_SPECIFIC_PASSWORD environment variable must be set.'));
100
+ }
101
+ resolveAscApiKeySource() {
102
+ const { ascApiKeyPath, ascApiKeyIssuerId, ascApiKeyId } = this.ctx.profile;
103
+ if (ascApiKeyPath && ascApiKeyIssuerId && ascApiKeyId) {
104
+ return (0, results_1.result)({
105
+ sourceType: AscApiKeySource_1.AscApiKeySourceType.path,
106
+ path: {
107
+ keyP8Path: ascApiKeyPath,
108
+ issuerId: ascApiKeyIssuerId,
109
+ keyId: ascApiKeyId,
110
+ },
111
+ });
112
+ }
113
+ // interpret this to mean the user had some intention of passing in ASC Api key
114
+ if (ascApiKeyPath || ascApiKeyIssuerId || ascApiKeyId) {
115
+ const message = `ascApiKeyPath, ascApiKeyIssuerId and ascApiKeyId must all be defined in eas.json`;
116
+ // in non-interactive mode, we should fail
117
+ if (this.ctx.nonInteractive) {
118
+ throw new Error(message);
119
+ }
120
+ log_1.default.warn(message);
121
+ return (0, results_1.result)({
122
+ sourceType: AscApiKeySource_1.AscApiKeySourceType.prompt,
123
+ });
124
+ }
125
+ return (0, results_1.result)({ sourceType: AscApiKeySource_1.AscApiKeySourceType.credentialsService });
126
+ }
127
+ resolveArchiveSource() {
128
+ try {
129
+ return (0, results_1.result)((0, commons_1.resolveArchiveSource)(this.ctx));
130
+ }
131
+ catch (err) {
132
+ return (0, results_1.result)(err);
133
+ }
134
+ }
135
+ async resolveAscAppIdentifierAsync() {
136
+ const { ascAppId } = this.ctx.profile;
137
+ if (ascAppId) {
138
+ return (0, results_1.result)(ascAppId);
139
+ }
140
+ else if (this.ctx.nonInteractive) {
141
+ return (0, results_1.result)(new Error('Set ascAppId in the submit profile (eas.json) or re-run this command in interactive mode.'));
142
+ }
143
+ else {
144
+ log_1.default.log((0, wrap_ansi_1.default)(`Ensuring your app exists on App Store Connect. This step can be skipped by providing ${chalk_1.default.bold(`ascAppId`)} in the submit profile. ${(0, log_1.learnMore)('https://expo.fyi/asc-app-id')}`, process.stdout.columns || 80));
145
+ log_1.default.addNewLineIfNone();
146
+ try {
147
+ const { ascAppIdentifier } = await (0, AppProduce_1.ensureAppStoreConnectAppExistsAsync)(this.ctx);
148
+ return (0, results_1.result)(ascAppIdentifier);
149
+ }
150
+ catch (err) {
151
+ return (0, results_1.result)(err);
152
+ }
153
+ }
154
+ }
155
+ }
156
+ exports.default = IosSubmitCommand;
@@ -0,0 +1,31 @@
1
+ import { Platform } from '@expo/eas-build-job';
2
+ import { AppSpecificPasswordCredentials, AppSpecificPasswordSource } from './AppSpecificPasswordSource';
3
+ import { AscApiKeyResult, AscApiKeySource } from './AscApiKeySource';
4
+ import { IosSubmissionConfigInput, SubmissionFragment } from '../../graphql/generated';
5
+ import { ArchiveSource, ResolvedArchiveSource } from '../ArchiveSource';
6
+ import BaseSubmitter, { SubmissionInput } from '../BaseSubmitter';
7
+ import { SubmissionContext } from '../context';
8
+ export interface IosSubmissionOptions extends Pick<IosSubmissionConfigInput, 'appleIdUsername' | 'ascAppIdentifier'> {
9
+ projectId: string;
10
+ archiveSource: ArchiveSource;
11
+ appSpecificPasswordSource?: AppSpecificPasswordSource;
12
+ ascApiKeySource?: AscApiKeySource;
13
+ isVerboseFastlaneEnabled?: boolean;
14
+ }
15
+ interface ResolvedSourceOptions {
16
+ archive: ResolvedArchiveSource;
17
+ credentials: {
18
+ appSpecificPassword?: AppSpecificPasswordCredentials;
19
+ ascApiKeyResult?: AscApiKeyResult;
20
+ };
21
+ }
22
+ export default class IosSubmitter extends BaseSubmitter<Platform.IOS, ResolvedSourceOptions, IosSubmissionOptions> {
23
+ constructor(ctx: SubmissionContext<Platform.IOS>, options: IosSubmissionOptions, archive: ResolvedArchiveSource);
24
+ createSubmissionInputAsync(resolvedSourceOptions: ResolvedSourceOptions): Promise<SubmissionInput<Platform.IOS>>;
25
+ protected createPlatformSubmissionAsync({ projectId, submissionConfig, buildId, archiveSource, }: SubmissionInput<Platform.IOS>): Promise<SubmissionFragment>;
26
+ private formatSubmissionConfig;
27
+ private formatAppSpecificPassword;
28
+ private formatAscApiKeyResult;
29
+ private prepareSummaryData;
30
+ }
31
+ export {};
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const chalk_1 = tslib_1.__importDefault(require("chalk"));
5
+ const AppSpecificPasswordSource_1 = require("./AppSpecificPasswordSource");
6
+ const AscApiKeySource_1 = require("./AscApiKeySource");
7
+ const AnalyticsManager_1 = require("../../analytics/AnalyticsManager");
8
+ const SubmissionMutation_1 = require("../../graphql/mutations/SubmissionMutation");
9
+ const formatFields_1 = tslib_1.__importDefault(require("../../utils/formatFields"));
10
+ const BaseSubmitter_1 = tslib_1.__importDefault(require("../BaseSubmitter"));
11
+ const summary_1 = require("../utils/summary");
12
+ class IosSubmitter extends BaseSubmitter_1.default {
13
+ constructor(ctx, options, archive) {
14
+ const sourceOptionsResolver = {
15
+ // eslint-disable-next-line async-protect/async-suffix
16
+ archive: async () => archive,
17
+ // eslint-disable-next-line async-protect/async-suffix
18
+ credentials: async () => {
19
+ const maybeAppSpecificPassword = this.options.appSpecificPasswordSource
20
+ ? await (0, AppSpecificPasswordSource_1.getAppSpecificPasswordLocallyAsync)(this.ctx, this.options.appSpecificPasswordSource)
21
+ : null;
22
+ const maybeAppStoreConnectApiKey = this.options.ascApiKeySource
23
+ ? await (0, AscApiKeySource_1.getAscApiKeyResultAsync)(this.ctx, this.options.ascApiKeySource)
24
+ : null;
25
+ return {
26
+ ...(maybeAppSpecificPassword ? { appSpecificPassword: maybeAppSpecificPassword } : null),
27
+ ...(maybeAppStoreConnectApiKey ? { ascApiKeyResult: maybeAppStoreConnectApiKey } : null),
28
+ };
29
+ },
30
+ };
31
+ const sourceOptionsAnalytics = {
32
+ archive: {
33
+ attemptEvent: AnalyticsManager_1.SubmissionEvent.GATHER_ARCHIVE_ATTEMPT,
34
+ successEvent: AnalyticsManager_1.SubmissionEvent.GATHER_ARCHIVE_SUCCESS,
35
+ failureEvent: AnalyticsManager_1.SubmissionEvent.GATHER_ARCHIVE_FAIL,
36
+ },
37
+ credentials: {
38
+ attemptEvent: AnalyticsManager_1.SubmissionEvent.GATHER_CREDENTIALS_ATTEMPT,
39
+ successEvent: AnalyticsManager_1.SubmissionEvent.GATHER_CREDENTIALS_SUCCESS,
40
+ failureEvent: AnalyticsManager_1.SubmissionEvent.GATHER_CREDENTIALS_FAIL,
41
+ },
42
+ };
43
+ super(ctx, options, sourceOptionsResolver, sourceOptionsAnalytics);
44
+ }
45
+ async createSubmissionInputAsync(resolvedSourceOptions) {
46
+ const submissionConfig = this.formatSubmissionConfig(this.options, resolvedSourceOptions);
47
+ (0, summary_1.printSummary)(this.prepareSummaryData(this.options, resolvedSourceOptions), SummaryHumanReadableKeys);
48
+ return {
49
+ projectId: this.options.projectId,
50
+ submissionConfig,
51
+ ...this.formatArchive(resolvedSourceOptions.archive),
52
+ };
53
+ }
54
+ async createPlatformSubmissionAsync({ projectId, submissionConfig, buildId, archiveSource, }) {
55
+ return await SubmissionMutation_1.SubmissionMutation.createIosSubmissionAsync(this.ctx.graphqlClient, {
56
+ appId: projectId,
57
+ config: submissionConfig,
58
+ submittedBuildId: buildId,
59
+ archiveSource,
60
+ });
61
+ }
62
+ formatSubmissionConfig(options, { credentials }) {
63
+ const { appSpecificPassword, ascApiKeyResult } = credentials;
64
+ const { appleIdUsername, ascAppIdentifier } = options;
65
+ const { isVerboseFastlaneEnabled, groups, whatToTest } = this.ctx;
66
+ return {
67
+ ascAppIdentifier,
68
+ appleIdUsername,
69
+ isVerboseFastlaneEnabled,
70
+ groups,
71
+ changelog: whatToTest,
72
+ ...(appSpecificPassword ? this.formatAppSpecificPassword(appSpecificPassword) : null),
73
+ ...(ascApiKeyResult?.result ? this.formatAscApiKeyResult(ascApiKeyResult.result) : null),
74
+ };
75
+ }
76
+ formatAppSpecificPassword(appSpecificPassword) {
77
+ return {
78
+ appleAppSpecificPassword: appSpecificPassword.password,
79
+ appleIdUsername: appSpecificPassword.appleIdUsername,
80
+ };
81
+ }
82
+ formatAscApiKeyResult(result) {
83
+ return 'ascApiKeyId' in result
84
+ ? { ascApiKeyId: result.ascApiKeyId }
85
+ : {
86
+ ascApiKey: {
87
+ keyP8: result.keyP8,
88
+ keyIdentifier: result.keyId,
89
+ issuerIdentifier: result.issuerId,
90
+ },
91
+ };
92
+ }
93
+ prepareSummaryData(options, { archive, credentials }) {
94
+ const { ascApiKeyResult, appSpecificPassword } = credentials;
95
+ const { ascAppIdentifier, projectId } = options;
96
+ // structuring order affects table rows order
97
+ return {
98
+ ascAppIdentifier,
99
+ projectId,
100
+ ...(appSpecificPassword ? { appleIdUsername: appSpecificPassword.appleIdUsername } : null),
101
+ ...(ascApiKeyResult ? { formattedAscApiKey: formatAscApiKeySummary(ascApiKeyResult) } : null),
102
+ ...(0, summary_1.formatArchiveSourceSummary)(archive),
103
+ };
104
+ }
105
+ }
106
+ exports.default = IosSubmitter;
107
+ const SummaryHumanReadableKeys = {
108
+ ascAppIdentifier: 'ASC App ID',
109
+ appleIdUsername: 'Apple ID',
110
+ projectId: 'Project ID',
111
+ archiveUrl: 'Archive URL',
112
+ archivePath: 'Archive Path',
113
+ formattedBuild: 'Build',
114
+ formattedAscApiKey: 'App Store Connect API Key',
115
+ };
116
+ function formatAscApiKeySummary({ summary }) {
117
+ const { source, path, keyId, name } = summary;
118
+ const fields = [
119
+ {
120
+ label: 'Key Name',
121
+ value: name,
122
+ },
123
+ {
124
+ label: 'Key ID',
125
+ value: keyId,
126
+ },
127
+ {
128
+ label: 'Key Source',
129
+ value: source,
130
+ },
131
+ {
132
+ label: 'Key Path',
133
+ value: path,
134
+ },
135
+ ];
136
+ const filteredFields = fields.filter(({ value }) => value !== undefined && value !== null);
137
+ return ('\n' +
138
+ (0, formatFields_1.default)(filteredFields, {
139
+ labelFormat: label => ` ${chalk_1.default.dim(label)}:`,
140
+ }));
141
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Sanitizes language for App Store Connect.
3
+ * @param lang Language to sanitize
4
+ * @returns Provided language if valid
5
+ * @throws Error if language is invalid.s
6
+ */
7
+ export declare function sanitizeLanguage(lang?: string, { defaultLang }?: {
8
+ defaultLang?: string;
9
+ }): string;