eas-cli 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +72 -47
  2. package/build/analytics/events.d.ts +4 -1
  3. package/build/analytics/events.js +3 -0
  4. package/build/build/android/build.js +1 -1
  5. package/build/build/build.js +4 -4
  6. package/build/build/createContext.js +1 -0
  7. package/build/build/ios/graphql.js +0 -1
  8. package/build/build/utils/printBuildInfo.js +2 -2
  9. package/build/build/utils/repository.js +4 -4
  10. package/build/commandUtils/EasCommand.d.ts +2 -0
  11. package/build/commandUtils/EasCommand.js +44 -3
  12. package/build/commands/branch/create.js +1 -1
  13. package/build/commands/branch/delete.js +1 -1
  14. package/build/commands/branch/rename.js +2 -2
  15. package/build/commands/build/index.d.ts +2 -1
  16. package/build/commands/build/index.js +36 -18
  17. package/build/commands/channel/create.js +1 -1
  18. package/build/commands/channel/delete.js +1 -1
  19. package/build/commands/channel/edit.js +3 -3
  20. package/build/commands/channel/rollout.js +3 -3
  21. package/build/commands/channel/view.js +1 -1
  22. package/build/commands/credentials.d.ts +3 -0
  23. package/build/commands/credentials.js +6 -1
  24. package/build/commands/project/init.js +3 -1
  25. package/build/commands/secret/list.js +1 -1
  26. package/build/commands/submit.d.ts +2 -1
  27. package/build/commands/submit.js +28 -14
  28. package/build/commands/update/index.js +7 -4
  29. package/build/commands/update/list.js +1 -1
  30. package/build/credentials/android/actions/RemoveKeystore.js +1 -1
  31. package/build/credentials/android/api/GraphqlClient.js +1 -1
  32. package/build/credentials/context.d.ts +3 -0
  33. package/build/credentials/context.js +1 -0
  34. package/build/credentials/errors.js +1 -1
  35. package/build/credentials/ios/IosCredentialsProvider.d.ts +1 -0
  36. package/build/credentials/ios/IosCredentialsProvider.js +33 -5
  37. package/build/credentials/ios/actions/DistributionCertificateUtils.js +2 -2
  38. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +1 -1
  39. package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +2 -2
  40. package/build/credentials/ios/actions/SetUpProvisioningProfile.js +1 -1
  41. package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +1 -1
  42. package/build/credentials/ios/api/GraphqlClient.js +1 -1
  43. package/build/credentials/ios/appstore/ascApiKey.d.ts +11 -0
  44. package/build/credentials/ios/appstore/ascApiKey.js +53 -3
  45. package/build/credentials/ios/appstore/bundleIdCapabilities.js +176 -15
  46. package/build/credentials/ios/appstore/contractMessages.js +1 -1
  47. package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
  48. package/build/credentials/ios/appstore/pushKey.js +2 -2
  49. package/build/credentials/manager/ManageAndroid.js +2 -8
  50. package/build/credentials/manager/ManageIos.js +2 -4
  51. package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +1 -1
  52. package/build/credentials/manager/SelectPlatform.d.ts +2 -0
  53. package/build/credentials/manager/SelectPlatform.js +7 -12
  54. package/build/credentials/utils/promptForCredentials.js +1 -1
  55. package/build/devices/manager.js +1 -1
  56. package/build/graphql/client.js +1 -1
  57. package/build/graphql/generated.d.ts +191 -39
  58. package/build/graphql/generated.js +39 -1
  59. package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.d.ts +1 -1
  60. package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.js +2 -2
  61. package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +1 -1
  62. package/build/graphql/queries/EnvironmentSecretsQuery.js +2 -2
  63. package/build/graphql/queries/StatuspageServiceQuery.d.ts +4 -0
  64. package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
  65. package/build/graphql/types/StatuspageService.d.ts +1 -0
  66. package/build/graphql/types/StatuspageService.js +19 -0
  67. package/build/metadata/errors.js +2 -2
  68. package/build/project/ensureProjectExists.d.ts +0 -7
  69. package/build/project/ensureProjectExists.js +4 -14
  70. package/build/project/metroConfig.js +1 -1
  71. package/build/project/projectUtils.d.ts +16 -3
  72. package/build/project/projectUtils.js +47 -50
  73. package/build/submit/android/AndroidSubmitter.js +1 -1
  74. package/build/submit/submit.js +2 -2
  75. package/build/submit/utils/errors.js +11 -9
  76. package/build/update/utils.js +1 -1
  77. package/build/utils/statuspageService.d.ts +2 -0
  78. package/build/utils/statuspageService.js +41 -0
  79. package/build/vcs/local.d.ts +1 -0
  80. package/build/vcs/local.js +11 -2
  81. package/oclif.manifest.json +1 -1
  82. package/package.json +4 -7
  83. package/build/graphql/queries/ProjectQuery.d.ts +0 -6
  84. package/build/graphql/queries/ProjectQuery.js +0 -24
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProjectQuery = void 0;
4
- const tslib_1 = require("tslib");
5
- const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
6
- const client_1 = require("../client");
7
- exports.ProjectQuery = {
8
- async byUsernameAndSlugAsync(username, slug) {
9
- const data = await (0, client_1.withErrorHandlingAsync)(client_1.graphqlClient
10
- .query((0, graphql_tag_1.default) `
11
- query ProjectByUsernameAndSlugQuery($username: String!, $slug: String!) {
12
- project {
13
- byUsernameAndSlug(username: $username, slug: $slug) {
14
- id
15
- }
16
- }
17
- }
18
- `, { username, slug }, {
19
- additionalTypenames: ['App', 'Snack'] /* typenames that use the Project type*/,
20
- })
21
- .toPromise());
22
- return data.project.byUsernameAndSlug;
23
- },
24
- };