eas-cli 7.6.2 → 7.7.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 (40) hide show
  1. package/README.md +81 -60
  2. package/build/build/android/prepareJob.d.ts +2 -2
  3. package/build/build/android/prepareJob.js +1 -1
  4. package/build/build/build.d.ts +4 -4
  5. package/build/build/build.js +33 -3
  6. package/build/build/graphql.js +1 -0
  7. package/build/build/ios/prepareJob.d.ts +2 -2
  8. package/build/build/ios/prepareJob.js +1 -1
  9. package/build/build/local.js +1 -1
  10. package/build/build/runBuildAndSubmit.js +1 -0
  11. package/build/build/utils/repository.d.ts +4 -2
  12. package/build/build/utils/repository.js +37 -1
  13. package/build/commands/credentials/configure-build.d.ts +18 -0
  14. package/build/commands/credentials/configure-build.js +43 -0
  15. package/build/commands/credentials/index.d.ts +16 -0
  16. package/build/commands/{credentials.js → credentials/index.js} +2 -2
  17. package/build/commands/submit.d.ts +1 -0
  18. package/build/commands/submit.js +7 -1
  19. package/build/credentials/manager/Actions.d.ts +2 -1
  20. package/build/credentials/manager/Actions.js +1 -0
  21. package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.d.ts +10 -0
  22. package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.js +35 -0
  23. package/build/credentials/manager/ManageAndroid.d.ts +9 -5
  24. package/build/credentials/manager/ManageAndroid.js +4 -0
  25. package/build/credentials/manager/ManageIos.d.ts +17 -8
  26. package/build/credentials/manager/SetUpAndroidBuildCredentials.d.ts +7 -0
  27. package/build/credentials/manager/SetUpAndroidBuildCredentials.js +48 -0
  28. package/build/credentials/manager/SetUpBuildCredentialsCommandAction.d.ts +19 -0
  29. package/build/credentials/manager/SetUpBuildCredentialsCommandAction.js +25 -0
  30. package/build/credentials/manager/SetUpIosBuildCredentials.d.ts +7 -0
  31. package/build/credentials/manager/SetUpIosBuildCredentials.js +58 -0
  32. package/build/graphql/generated.d.ts +5 -0
  33. package/build/graphql/generated.js +1 -0
  34. package/build/submit/android/AndroidSubmitter.js +1 -0
  35. package/build/submit/context.d.ts +2 -0
  36. package/build/submit/ios/IosSubmitter.d.ts +1 -0
  37. package/build/submit/ios/IosSubmitter.js +2 -0
  38. package/oclif.manifest.json +77 -32
  39. package/package.json +6 -6
  40. package/build/commands/credentials.d.ts +0 -16
@@ -894,6 +894,7 @@ export type AndroidSubmissionConfigInput = {
894
894
  changesNotSentForReview?: InputMaybe<Scalars['Boolean']['input']>;
895
895
  googleServiceAccountKeyId?: InputMaybe<Scalars['String']['input']>;
896
896
  googleServiceAccountKeyJson?: InputMaybe<Scalars['String']['input']>;
897
+ isVerboseFastlaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
897
898
  releaseStatus?: InputMaybe<SubmissionAndroidReleaseStatus>;
898
899
  rollout?: InputMaybe<Scalars['Float']['input']>;
899
900
  track: SubmissionAndroidTrack;
@@ -1829,6 +1830,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
1829
1830
  platform: AppPlatform;
1830
1831
  priority: BuildPriority;
1831
1832
  project: Project;
1833
+ projectMetadataFileUrl?: Maybe<Scalars['String']['output']>;
1832
1834
  projectRootDirectory?: Maybe<Scalars['String']['output']>;
1833
1835
  provisioningStartedAt?: Maybe<Scalars['DateTime']['output']>;
1834
1836
  /** Queue position is 1-indexed */
@@ -3308,6 +3310,7 @@ export type IosSubmissionConfigInput = {
3308
3310
  ascApiKey?: InputMaybe<AscApiKeyInput>;
3309
3311
  ascApiKeyId?: InputMaybe<Scalars['String']['input']>;
3310
3312
  ascAppIdentifier: Scalars['String']['input'];
3313
+ isVerboseFastlaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
3311
3314
  };
3312
3315
  export type KeystoreGenerationUrl = {
3313
3316
  __typename?: 'KeystoreGenerationUrl';
@@ -3596,6 +3599,7 @@ export type Project = {
3596
3599
  export type ProjectArchiveSourceInput = {
3597
3600
  bucketKey?: InputMaybe<Scalars['String']['input']>;
3598
3601
  gitRef?: InputMaybe<Scalars['String']['input']>;
3602
+ metadataLocation?: InputMaybe<Scalars['String']['input']>;
3599
3603
  repositoryUrl?: InputMaybe<Scalars['String']['input']>;
3600
3604
  type: ProjectArchiveSourceType;
3601
3605
  url?: InputMaybe<Scalars['String']['input']>;
@@ -4579,6 +4583,7 @@ export type UploadSessionCreateUploadSessionArgs = {
4579
4583
  type: UploadSessionType;
4580
4584
  };
4581
4585
  export declare enum UploadSessionType {
4586
+ EasBuildGcsProjectMetadata = "EAS_BUILD_GCS_PROJECT_METADATA",
4582
4587
  EasBuildGcsProjectSources = "EAS_BUILD_GCS_PROJECT_SOURCES",
4583
4588
  /** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */
4584
4589
  EasBuildProjectSources = "EAS_BUILD_PROJECT_SOURCES",
@@ -518,6 +518,7 @@ var SubmissionStatus;
518
518
  })(SubmissionStatus || (exports.SubmissionStatus = SubmissionStatus = {}));
519
519
  var UploadSessionType;
520
520
  (function (UploadSessionType) {
521
+ UploadSessionType["EasBuildGcsProjectMetadata"] = "EAS_BUILD_GCS_PROJECT_METADATA";
521
522
  UploadSessionType["EasBuildGcsProjectSources"] = "EAS_BUILD_GCS_PROJECT_SOURCES";
522
523
  /** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */
523
524
  UploadSessionType["EasBuildProjectSources"] = "EAS_BUILD_PROJECT_SOURCES";
@@ -56,6 +56,7 @@ class AndroidSubmitter extends BaseSubmitter_1.default {
56
56
  changesNotSentForReview,
57
57
  releaseStatus,
58
58
  rollout,
59
+ isVerboseFastlaneEnabled: this.ctx.isVerboseFastlaneEnabled,
59
60
  ...serviceAccountKeyResult.result,
60
61
  };
61
62
  }
@@ -13,6 +13,7 @@ export interface SubmissionContext<T extends Platform> {
13
13
  analyticsEventProperties: AnalyticsEventProperties;
14
14
  exp: ExpoConfig;
15
15
  nonInteractive: boolean;
16
+ isVerboseFastlaneEnabled: boolean;
16
17
  platform: T;
17
18
  profile: SubmitProfile<T>;
18
19
  projectDir: string;
@@ -36,6 +37,7 @@ export declare function createSubmissionContextAsync<T extends Platform>(params:
36
37
  credentialsCtx?: CredentialsContext;
37
38
  env?: Record<string, string>;
38
39
  nonInteractive: boolean;
40
+ isVerboseFastlaneEnabled: boolean;
39
41
  platform: T;
40
42
  profile: SubmitProfile<T>;
41
43
  projectDir: string;
@@ -10,6 +10,7 @@ export interface IosSubmissionOptions extends Pick<IosSubmissionConfigInput, 'ap
10
10
  archiveSource: ArchiveSource;
11
11
  appSpecificPasswordSource?: AppSpecificPasswordSource;
12
12
  ascApiKeySource?: AscApiKeySource;
13
+ isVerboseFastlaneEnabled?: boolean;
13
14
  }
14
15
  interface ResolvedSourceOptions {
15
16
  archive: ResolvedArchiveSource;
@@ -62,9 +62,11 @@ class IosSubmitter extends BaseSubmitter_1.default {
62
62
  formatSubmissionConfig(options, { credentials }) {
63
63
  const { appSpecificPassword, ascApiKeyResult } = credentials;
64
64
  const { appleIdUsername, ascAppIdentifier } = options;
65
+ const { isVerboseFastlaneEnabled } = this.ctx;
65
66
  return {
66
67
  ascAppIdentifier,
67
68
  appleIdUsername,
69
+ isVerboseFastlaneEnabled,
68
70
  ...(appSpecificPassword ? this.formatAppSpecificPassword(appSpecificPassword) : null),
69
71
  ...((ascApiKeyResult === null || ascApiKeyResult === void 0 ? void 0 : ascApiKeyResult.result) ? this.formatAscApiKeyResult(ascApiKeyResult.result) : null),
70
72
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.6.2",
2
+ "version": "7.7.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -77,37 +77,6 @@
77
77
  "projectDir": {}
78
78
  }
79
79
  },
80
- "credentials": {
81
- "id": "credentials",
82
- "description": "manage credentials",
83
- "strict": true,
84
- "pluginName": "eas-cli",
85
- "pluginAlias": "eas-cli",
86
- "pluginType": "core",
87
- "aliases": [],
88
- "flags": {
89
- "platform": {
90
- "name": "platform",
91
- "type": "option",
92
- "char": "p",
93
- "helpValue": "(android|ios)",
94
- "multiple": false,
95
- "options": [
96
- "android",
97
- "ios"
98
- ]
99
- }
100
- },
101
- "args": {},
102
- "contextDefinition": {
103
- "loggedIn": {},
104
- "privateProjectConfig": {},
105
- "getDynamicPublicProjectConfigAsync": {},
106
- "getDynamicPrivateProjectConfigAsync": {},
107
- "analytics": {},
108
- "vcsClient": {}
109
- }
110
- },
111
80
  "diagnostics": {
112
81
  "id": "diagnostics",
113
82
  "description": "display environment info",
@@ -222,6 +191,12 @@
222
191
  "description": "Wait for submission to complete",
223
192
  "allowNo": true
224
193
  },
194
+ "verbose-fastlane": {
195
+ "name": "verbose-fastlane",
196
+ "type": "boolean",
197
+ "description": "Enable verbose logging for the submission process",
198
+ "allowNo": false
199
+ },
225
200
  "non-interactive": {
226
201
  "name": "non-interactive",
227
202
  "type": "boolean",
@@ -1557,6 +1532,76 @@
1557
1532
  "privateProjectConfig": {}
1558
1533
  }
1559
1534
  },
1535
+ "credentials:configure-build": {
1536
+ "id": "credentials:configure-build",
1537
+ "description": "Set up credentials for building your project.",
1538
+ "strict": true,
1539
+ "pluginName": "eas-cli",
1540
+ "pluginAlias": "eas-cli",
1541
+ "pluginType": "core",
1542
+ "aliases": [],
1543
+ "flags": {
1544
+ "platform": {
1545
+ "name": "platform",
1546
+ "type": "option",
1547
+ "char": "p",
1548
+ "helpValue": "(android|ios)",
1549
+ "multiple": false,
1550
+ "options": [
1551
+ "android",
1552
+ "ios"
1553
+ ]
1554
+ },
1555
+ "profile": {
1556
+ "name": "profile",
1557
+ "type": "option",
1558
+ "char": "e",
1559
+ "description": "The name of the build profile in eas.json.",
1560
+ "helpValue": "PROFILE_NAME",
1561
+ "multiple": false
1562
+ }
1563
+ },
1564
+ "args": {},
1565
+ "contextDefinition": {
1566
+ "loggedIn": {},
1567
+ "privateProjectConfig": {},
1568
+ "getDynamicPublicProjectConfigAsync": {},
1569
+ "getDynamicPrivateProjectConfigAsync": {},
1570
+ "analytics": {},
1571
+ "vcsClient": {}
1572
+ }
1573
+ },
1574
+ "credentials": {
1575
+ "id": "credentials",
1576
+ "description": "manage credentials",
1577
+ "strict": true,
1578
+ "pluginName": "eas-cli",
1579
+ "pluginAlias": "eas-cli",
1580
+ "pluginType": "core",
1581
+ "aliases": [],
1582
+ "flags": {
1583
+ "platform": {
1584
+ "name": "platform",
1585
+ "type": "option",
1586
+ "char": "p",
1587
+ "helpValue": "(android|ios)",
1588
+ "multiple": false,
1589
+ "options": [
1590
+ "android",
1591
+ "ios"
1592
+ ]
1593
+ }
1594
+ },
1595
+ "args": {},
1596
+ "contextDefinition": {
1597
+ "loggedIn": {},
1598
+ "privateProjectConfig": {},
1599
+ "getDynamicPublicProjectConfigAsync": {},
1600
+ "getDynamicPrivateProjectConfigAsync": {},
1601
+ "analytics": {},
1602
+ "vcsClient": {}
1603
+ }
1604
+ },
1560
1605
  "device:create": {
1561
1606
  "id": "device:create",
1562
1607
  "description": "register new Apple Devices to use for internal distribution",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "7.6.2",
4
+ "version": "7.7.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -13,8 +13,8 @@
13
13
  "@expo/config": "8.5.4",
14
14
  "@expo/config-plugins": "7.8.4",
15
15
  "@expo/config-types": "50.0.0",
16
- "@expo/eas-build-job": "1.0.88",
17
- "@expo/eas-json": "7.6.1",
16
+ "@expo/eas-build-job": "1.0.92",
17
+ "@expo/eas-json": "7.7.0",
18
18
  "@expo/json-file": "8.2.37",
19
19
  "@expo/multipart-body-parser": "1.1.0",
20
20
  "@expo/osascript": "2.0.33",
@@ -27,7 +27,7 @@
27
27
  "@expo/results": "1.0.0",
28
28
  "@expo/rudder-sdk-node": "1.1.1",
29
29
  "@expo/spawn-async": "1.7.0",
30
- "@expo/steps": "1.0.91",
30
+ "@expo/steps": "1.0.92",
31
31
  "@expo/timeago.js": "1.0.0",
32
32
  "@oclif/core": "^1.26.2",
33
33
  "@oclif/plugin-autocomplete": "^2.3.10",
@@ -109,7 +109,7 @@
109
109
  "@types/wrap-ansi": "3.0.0",
110
110
  "axios": "0.27.2",
111
111
  "eslint-plugin-graphql": "4.0.0",
112
- "express": "4.18.2",
112
+ "express": "4.19.2",
113
113
  "memfs": "3.4.13",
114
114
  "mockdate": "3.0.5",
115
115
  "nock": "13.4.0",
@@ -222,5 +222,5 @@
222
222
  "node": "20.11.0",
223
223
  "yarn": "1.22.21"
224
224
  },
225
- "gitHead": "dece2e5242be8a3c5b87d1f40b295345aff96059"
225
+ "gitHead": "26bb7052ef45a1bd08ae34670ba1b3592ed05a40"
226
226
  }
@@ -1,16 +0,0 @@
1
- import EasCommand from '../commandUtils/EasCommand';
2
- export default class Credentials extends EasCommand {
3
- static description: string;
4
- static flags: {
5
- platform: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
6
- };
7
- static contextDefinition: {
8
- vcsClient: import("../commandUtils/context/VcsClientContextField").default;
9
- analytics: import("../commandUtils/context/AnalyticsContextField").default;
10
- getDynamicPublicProjectConfigAsync: import("../commandUtils/context/DynamicProjectConfigContextField").DynamicPublicProjectConfigContextField;
11
- getDynamicPrivateProjectConfigAsync: import("../commandUtils/context/DynamicProjectConfigContextField").DynamicPrivateProjectConfigContextField;
12
- privateProjectConfig: import("../commandUtils/context/OptionalPrivateProjectConfigContextField").OptionalPrivateProjectConfigContextField;
13
- loggedIn: import("../commandUtils/context/LoggedInContextField").default;
14
- };
15
- runAsync(): Promise<void>;
16
- }