eas-cli 7.1.3 → 7.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.
- package/README.md +60 -61
- package/build/commands/update/index.d.ts +0 -1
- package/build/commands/update/index.js +3 -8
- package/build/credentials/android/actions/{AssignGoogleServiceAccountKey.d.ts → AssignGoogleServiceAccountKeyForFcmV1.d.ts} +1 -1
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.js +19 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.d.ts +8 -0
- package/build/credentials/android/actions/{AssignGoogleServiceAccountKey.js → AssignGoogleServiceAccountKeyForSubmissions.js} +3 -3
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +1 -1
- package/build/credentials/android/actions/{SetUpGoogleServiceAccountKey.d.ts → SetUpGoogleServiceAccountKeyForFcmV1.d.ts} +1 -1
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.js +59 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.d.ts +10 -0
- package/build/credentials/android/actions/{SetUpGoogleServiceAccountKey.js → SetUpGoogleServiceAccountKeyForSubmissions.js} +5 -5
- package/build/credentials/android/api/GraphqlClient.d.ts +2 -1
- package/build/credentials/android/api/GraphqlClient.js +5 -1
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.d.ts +1 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.js +26 -0
- package/build/credentials/android/utils/googleServiceAccountKey.js +1 -1
- package/build/credentials/android/utils/printCredentials.js +24 -2
- package/build/credentials/manager/Actions.d.ts +22 -16
- package/build/credentials/manager/Actions.js +22 -16
- package/build/credentials/manager/AndroidActions.d.ts +3 -1
- package/build/credentials/manager/AndroidActions.js +46 -12
- package/build/credentials/manager/ManageAndroid.js +30 -12
- package/build/graphql/generated.d.ts +160 -0
- package/build/graphql/types/credentials/AndroidAppCredentials.js +4 -0
- package/build/project/customBuildConfig.js +1 -1
- package/build/project/publish.d.ts +1 -2
- package/build/project/publish.js +1 -4
- package/build/submit/android/ServiceAccountSource.js +2 -2
- package/oclif.manifest.json +1 -7
- package/package.json +4 -4
|
@@ -5396,6 +5396,16 @@ export type CreateAndroidAppCredentialsMutation = {
|
|
|
5396
5396
|
clientId?: string | null;
|
|
5397
5397
|
};
|
|
5398
5398
|
} | null;
|
|
5399
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
5400
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5401
|
+
id: string;
|
|
5402
|
+
projectIdentifier: string;
|
|
5403
|
+
privateKeyIdentifier: string;
|
|
5404
|
+
clientEmail: string;
|
|
5405
|
+
clientIdentifier: string;
|
|
5406
|
+
createdAt: any;
|
|
5407
|
+
updatedAt: any;
|
|
5408
|
+
} | null;
|
|
5399
5409
|
googleServiceAccountKeyForSubmissions?: {
|
|
5400
5410
|
__typename?: 'GoogleServiceAccountKey';
|
|
5401
5411
|
id: string;
|
|
@@ -5496,6 +5506,16 @@ export type SetFcmMutation = {
|
|
|
5496
5506
|
clientId?: string | null;
|
|
5497
5507
|
};
|
|
5498
5508
|
} | null;
|
|
5509
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
5510
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5511
|
+
id: string;
|
|
5512
|
+
projectIdentifier: string;
|
|
5513
|
+
privateKeyIdentifier: string;
|
|
5514
|
+
clientEmail: string;
|
|
5515
|
+
clientIdentifier: string;
|
|
5516
|
+
createdAt: any;
|
|
5517
|
+
updatedAt: any;
|
|
5518
|
+
} | null;
|
|
5499
5519
|
googleServiceAccountKeyForSubmissions?: {
|
|
5500
5520
|
__typename?: 'GoogleServiceAccountKey';
|
|
5501
5521
|
id: string;
|
|
@@ -5596,6 +5616,126 @@ export type SetGoogleServiceAccountKeyForSubmissionsMutation = {
|
|
|
5596
5616
|
clientId?: string | null;
|
|
5597
5617
|
};
|
|
5598
5618
|
} | null;
|
|
5619
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
5620
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5621
|
+
id: string;
|
|
5622
|
+
projectIdentifier: string;
|
|
5623
|
+
privateKeyIdentifier: string;
|
|
5624
|
+
clientEmail: string;
|
|
5625
|
+
clientIdentifier: string;
|
|
5626
|
+
createdAt: any;
|
|
5627
|
+
updatedAt: any;
|
|
5628
|
+
} | null;
|
|
5629
|
+
googleServiceAccountKeyForSubmissions?: {
|
|
5630
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5631
|
+
id: string;
|
|
5632
|
+
projectIdentifier: string;
|
|
5633
|
+
privateKeyIdentifier: string;
|
|
5634
|
+
clientEmail: string;
|
|
5635
|
+
clientIdentifier: string;
|
|
5636
|
+
createdAt: any;
|
|
5637
|
+
updatedAt: any;
|
|
5638
|
+
} | null;
|
|
5639
|
+
androidAppBuildCredentialsList: Array<{
|
|
5640
|
+
__typename?: 'AndroidAppBuildCredentials';
|
|
5641
|
+
id: string;
|
|
5642
|
+
isDefault: boolean;
|
|
5643
|
+
isLegacy: boolean;
|
|
5644
|
+
name: string;
|
|
5645
|
+
androidKeystore?: {
|
|
5646
|
+
__typename?: 'AndroidKeystore';
|
|
5647
|
+
id: string;
|
|
5648
|
+
type: AndroidKeystoreType;
|
|
5649
|
+
keystore: string;
|
|
5650
|
+
keystorePassword: string;
|
|
5651
|
+
keyAlias: string;
|
|
5652
|
+
keyPassword?: string | null;
|
|
5653
|
+
md5CertificateFingerprint?: string | null;
|
|
5654
|
+
sha1CertificateFingerprint?: string | null;
|
|
5655
|
+
sha256CertificateFingerprint?: string | null;
|
|
5656
|
+
createdAt: any;
|
|
5657
|
+
updatedAt: any;
|
|
5658
|
+
} | null;
|
|
5659
|
+
}>;
|
|
5660
|
+
};
|
|
5661
|
+
};
|
|
5662
|
+
};
|
|
5663
|
+
export type SetGoogleServiceAccountKeyForFcmV1MutationVariables = Exact<{
|
|
5664
|
+
androidAppCredentialsId: Scalars['ID']['input'];
|
|
5665
|
+
googleServiceAccountKeyId: Scalars['ID']['input'];
|
|
5666
|
+
}>;
|
|
5667
|
+
export type SetGoogleServiceAccountKeyForFcmV1Mutation = {
|
|
5668
|
+
__typename?: 'RootMutation';
|
|
5669
|
+
androidAppCredentials: {
|
|
5670
|
+
__typename?: 'AndroidAppCredentialsMutation';
|
|
5671
|
+
setGoogleServiceAccountKeyForFcmV1: {
|
|
5672
|
+
__typename?: 'AndroidAppCredentials';
|
|
5673
|
+
id: string;
|
|
5674
|
+
applicationIdentifier?: string | null;
|
|
5675
|
+
isLegacy: boolean;
|
|
5676
|
+
app: {
|
|
5677
|
+
__typename?: 'App';
|
|
5678
|
+
id: string;
|
|
5679
|
+
fullName: string;
|
|
5680
|
+
slug: string;
|
|
5681
|
+
ownerAccount: {
|
|
5682
|
+
__typename?: 'Account';
|
|
5683
|
+
id: string;
|
|
5684
|
+
name: string;
|
|
5685
|
+
ownerUserActor?: {
|
|
5686
|
+
__typename?: 'SSOUser';
|
|
5687
|
+
id: string;
|
|
5688
|
+
username: string;
|
|
5689
|
+
} | {
|
|
5690
|
+
__typename?: 'User';
|
|
5691
|
+
id: string;
|
|
5692
|
+
username: string;
|
|
5693
|
+
} | null;
|
|
5694
|
+
users: Array<{
|
|
5695
|
+
__typename?: 'UserPermission';
|
|
5696
|
+
role: Role;
|
|
5697
|
+
actor: {
|
|
5698
|
+
__typename?: 'Robot';
|
|
5699
|
+
id: string;
|
|
5700
|
+
} | {
|
|
5701
|
+
__typename?: 'SSOUser';
|
|
5702
|
+
id: string;
|
|
5703
|
+
} | {
|
|
5704
|
+
__typename?: 'User';
|
|
5705
|
+
id: string;
|
|
5706
|
+
};
|
|
5707
|
+
}>;
|
|
5708
|
+
};
|
|
5709
|
+
};
|
|
5710
|
+
androidFcm?: {
|
|
5711
|
+
__typename?: 'AndroidFcm';
|
|
5712
|
+
id: string;
|
|
5713
|
+
credential: any;
|
|
5714
|
+
version: AndroidFcmVersion;
|
|
5715
|
+
createdAt: any;
|
|
5716
|
+
updatedAt: any;
|
|
5717
|
+
snippet: {
|
|
5718
|
+
__typename?: 'FcmSnippetLegacy';
|
|
5719
|
+
firstFourCharacters: string;
|
|
5720
|
+
lastFourCharacters: string;
|
|
5721
|
+
} | {
|
|
5722
|
+
__typename?: 'FcmSnippetV1';
|
|
5723
|
+
projectId: string;
|
|
5724
|
+
keyId: string;
|
|
5725
|
+
serviceAccountEmail: string;
|
|
5726
|
+
clientId?: string | null;
|
|
5727
|
+
};
|
|
5728
|
+
} | null;
|
|
5729
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
5730
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5731
|
+
id: string;
|
|
5732
|
+
projectIdentifier: string;
|
|
5733
|
+
privateKeyIdentifier: string;
|
|
5734
|
+
clientEmail: string;
|
|
5735
|
+
clientIdentifier: string;
|
|
5736
|
+
createdAt: any;
|
|
5737
|
+
updatedAt: any;
|
|
5738
|
+
} | null;
|
|
5599
5739
|
googleServiceAccountKeyForSubmissions?: {
|
|
5600
5740
|
__typename?: 'GoogleServiceAccountKey';
|
|
5601
5741
|
id: string;
|
|
@@ -5812,6 +5952,16 @@ export type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifi
|
|
|
5812
5952
|
clientId?: string | null;
|
|
5813
5953
|
};
|
|
5814
5954
|
} | null;
|
|
5955
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
5956
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
5957
|
+
id: string;
|
|
5958
|
+
projectIdentifier: string;
|
|
5959
|
+
privateKeyIdentifier: string;
|
|
5960
|
+
clientEmail: string;
|
|
5961
|
+
clientIdentifier: string;
|
|
5962
|
+
createdAt: any;
|
|
5963
|
+
updatedAt: any;
|
|
5964
|
+
} | null;
|
|
5815
5965
|
googleServiceAccountKeyForSubmissions?: {
|
|
5816
5966
|
__typename?: 'GoogleServiceAccountKey';
|
|
5817
5967
|
id: string;
|
|
@@ -10793,6 +10943,16 @@ export type CommonAndroidAppCredentialsFragment = {
|
|
|
10793
10943
|
clientId?: string | null;
|
|
10794
10944
|
};
|
|
10795
10945
|
} | null;
|
|
10946
|
+
googleServiceAccountKeyForFcmV1?: {
|
|
10947
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
10948
|
+
id: string;
|
|
10949
|
+
projectIdentifier: string;
|
|
10950
|
+
privateKeyIdentifier: string;
|
|
10951
|
+
clientEmail: string;
|
|
10952
|
+
clientIdentifier: string;
|
|
10953
|
+
createdAt: any;
|
|
10954
|
+
updatedAt: any;
|
|
10955
|
+
} | null;
|
|
10796
10956
|
googleServiceAccountKeyForSubmissions?: {
|
|
10797
10957
|
__typename?: 'GoogleServiceAccountKey';
|
|
10798
10958
|
id: string;
|
|
@@ -20,6 +20,10 @@ exports.CommonAndroidAppCredentialsFragmentNode = (0, graphql_tag_1.default) `
|
|
|
20
20
|
id
|
|
21
21
|
...AndroidFcmFragment
|
|
22
22
|
}
|
|
23
|
+
googleServiceAccountKeyForFcmV1 {
|
|
24
|
+
id
|
|
25
|
+
...GoogleServiceAccountKeyFragment
|
|
26
|
+
}
|
|
23
27
|
googleServiceAccountKeyForSubmissions {
|
|
24
28
|
id
|
|
25
29
|
...GoogleServiceAccountKeyFragment
|
|
@@ -20,7 +20,7 @@ async function validateCustomBuildConfigAsync({ profile, projectDir, vcsClient,
|
|
|
20
20
|
}
|
|
21
21
|
try {
|
|
22
22
|
const config = await (0, steps_1.readAndValidateBuildConfigAsync)(configPath, {
|
|
23
|
-
|
|
23
|
+
skipNamespacedFunctionsOrFunctionGroupsCheck: true,
|
|
24
24
|
});
|
|
25
25
|
return {
|
|
26
26
|
workflowName: config.build.name,
|
|
@@ -68,13 +68,12 @@ export declare function convertAssetToUpdateInfoGroupFormatAsync(asset: RawAsset
|
|
|
68
68
|
* This will be sorted later based on the platform's runtime versions.
|
|
69
69
|
*/
|
|
70
70
|
export declare function buildUnsortedUpdateInfoGroupAsync(assets: CollectedAssets, exp: ExpoConfig): Promise<UpdateInfoGroup>;
|
|
71
|
-
export declare function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache,
|
|
71
|
+
export declare function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache, }: {
|
|
72
72
|
projectDir: string;
|
|
73
73
|
inputDir: string;
|
|
74
74
|
exp: Pick<ExpoConfig, 'sdkVersion' | 'web'>;
|
|
75
75
|
platformFlag: ExpoCLIExportPlatformFlag;
|
|
76
76
|
clearCache?: boolean;
|
|
77
|
-
dev?: boolean;
|
|
78
77
|
}): Promise<void>;
|
|
79
78
|
export declare function resolveInputDirectoryAsync(inputDir: string, { skipBundler }: {
|
|
80
79
|
skipBundler?: boolean;
|
package/build/project/publish.js
CHANGED
|
@@ -117,7 +117,7 @@ async function buildUnsortedUpdateInfoGroupAsync(assets, exp) {
|
|
|
117
117
|
return updateInfoGroup;
|
|
118
118
|
}
|
|
119
119
|
exports.buildUnsortedUpdateInfoGroupAsync = buildUnsortedUpdateInfoGroupAsync;
|
|
120
|
-
async function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache,
|
|
120
|
+
async function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache, }) {
|
|
121
121
|
var _a;
|
|
122
122
|
const packageJSON = json_file_1.default.read(path_1.default.resolve(projectDir, 'package.json'));
|
|
123
123
|
if (!packageJSON) {
|
|
@@ -134,7 +134,6 @@ async function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clea
|
|
|
134
134
|
'--dump-sourcemap',
|
|
135
135
|
'--dump-assetmap',
|
|
136
136
|
`--platform=${platformFlag}`,
|
|
137
|
-
...(dev ? ['--dev'] : []),
|
|
138
137
|
...(clearCache ? ['--clear'] : []),
|
|
139
138
|
]);
|
|
140
139
|
}
|
|
@@ -151,7 +150,6 @@ async function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clea
|
|
|
151
150
|
'--dump-sourcemap',
|
|
152
151
|
'--dump-assetmap',
|
|
153
152
|
...platformArgs,
|
|
154
|
-
...(dev ? ['--dev'] : []),
|
|
155
153
|
...(clearCache ? ['--clear'] : []),
|
|
156
154
|
]);
|
|
157
155
|
}
|
|
@@ -169,7 +167,6 @@ async function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clea
|
|
|
169
167
|
'--dump-sourcemap',
|
|
170
168
|
'--dump-assetmap',
|
|
171
169
|
`--platform=${platformFlag}`,
|
|
172
|
-
...(dev ? ['--dev'] : []),
|
|
173
170
|
...(clearCache ? ['--clear'] : []),
|
|
174
171
|
]);
|
|
175
172
|
}
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
6
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
7
7
|
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
8
|
-
const
|
|
8
|
+
const SetUpGoogleServiceAccountKeyForSubmissions_1 = require("../../credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions");
|
|
9
9
|
const googleServiceAccountKey_1 = require("../../credentials/android/utils/googleServiceAccountKey");
|
|
10
10
|
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
11
11
|
const applicationId_1 = require("../../project/android/applicationId");
|
|
@@ -67,7 +67,7 @@ async function getServiceAccountFromCredentialsServiceAsync(ctx, source) {
|
|
|
67
67
|
androidApplicationIdentifier: (_a = source.androidApplicationIdentifier) !== null && _a !== void 0 ? _a : (await promptForApplicationIdAsync()),
|
|
68
68
|
};
|
|
69
69
|
log_1.default.log(`Looking up credentials configuration for ${appLookupParams.androidApplicationIdentifier}...`);
|
|
70
|
-
const setupGoogleServiceAccountKeyAction = new
|
|
70
|
+
const setupGoogleServiceAccountKeyAction = new SetUpGoogleServiceAccountKeyForSubmissions_1.SetUpGoogleServiceAccountKeyForSubmissions(appLookupParams);
|
|
71
71
|
const androidAppCredentials = await setupGoogleServiceAccountKeyAction.runAsync(ctx.credentialsCtx);
|
|
72
72
|
const googleServiceAccountKey = (0, nullthrows_1.default)(androidAppCredentials.googleServiceAccountKeyForSubmissions, 'Credentials Service must provide a valid GoogleServiceAccountKey');
|
|
73
73
|
return {
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "7.
|
|
2
|
+
"version": "7.2.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"analytics": {
|
|
5
5
|
"id": "analytics",
|
|
@@ -2156,12 +2156,6 @@
|
|
|
2156
2156
|
],
|
|
2157
2157
|
"default": "all"
|
|
2158
2158
|
},
|
|
2159
|
-
"dev": {
|
|
2160
|
-
"name": "dev",
|
|
2161
|
-
"type": "boolean",
|
|
2162
|
-
"description": "Publish a development bundle",
|
|
2163
|
-
"allowNo": false
|
|
2164
|
-
},
|
|
2165
2159
|
"auto": {
|
|
2166
2160
|
"name": "auto",
|
|
2167
2161
|
"type": "boolean",
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.2.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@expo/apple-utils": "1.
|
|
11
|
+
"@expo/apple-utils": "1.4.0",
|
|
12
12
|
"@expo/code-signing-certificates": "0.0.5",
|
|
13
13
|
"@expo/config": "8.5.4",
|
|
14
14
|
"@expo/config-plugins": "7.8.4",
|
|
@@ -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.
|
|
30
|
+
"@expo/steps": "1.0.67",
|
|
31
31
|
"@expo/timeago.js": "1.0.0",
|
|
32
32
|
"@oclif/core": "^1.26.2",
|
|
33
33
|
"@oclif/plugin-autocomplete": "^2.3.10",
|
|
@@ -222,5 +222,5 @@
|
|
|
222
222
|
"node": "20.11.0",
|
|
223
223
|
"yarn": "1.22.21"
|
|
224
224
|
},
|
|
225
|
-
"gitHead": "
|
|
225
|
+
"gitHead": "39dc6299d2278b71a0c27cac596fe42b3ab7049e"
|
|
226
226
|
}
|