eas-cli 21.8.0 → 22.0.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 +166 -156
- package/build/build/android/prepareJob.js +1 -0
- package/build/build/ios/prepareJob.js +1 -0
- package/build/build/metadata.js +0 -1
- package/build/build/runBuildAndSubmit.js +1 -1
- package/build/build/utils/formatBuild.js +2 -2
- package/build/build/utils/url.js +3 -5
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +10 -3
- package/build/commandUtils/new/configs.js +1 -1
- package/build/commands/account/view.js +1 -2
- package/build/commands/build/cancel.js +3 -3
- package/build/commands/build/download.js +1 -1
- package/build/commands/go.js +2 -45
- package/build/commands/project/icon/set.js +4 -40
- package/build/commands/project/init.d.ts +1 -0
- package/build/commands/project/init.js +13 -0
- package/build/commands/submit.d.ts +1 -0
- package/build/commands/submit.js +8 -1
- package/build/commands/update/index.js +1 -1
- package/build/commands/update/revert-update-rollout.js +1 -1
- package/build/commands/update/rollback.js +1 -1
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +20 -13
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.d.ts +14 -2
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +47 -7
- package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +3 -1
- package/build/credentials/ios/appstore/ensureTestFlightGroup.js +14 -11
- package/build/graphql/generated.d.ts +596 -922
- package/build/graphql/generated.js +12 -2
- package/build/graphql/queries/ChannelInsightsQuery.js +4 -1
- package/build/graphql/types/Account.js +1 -4
- package/build/graphql/types/Build.js +13 -8
- package/build/graphql/types/Submission.js +0 -1
- package/build/graphql/types/Update.js +4 -1
- package/build/project/accountSelection.js +1 -3
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +3 -5
- package/build/project/projectIcon.d.ts +40 -0
- package/build/project/projectIcon.js +132 -0
- package/build/project/projectNotConfiguredError.d.ts +17 -0
- package/build/project/projectNotConfiguredError.js +24 -0
- package/build/submit/ArchiveSource.js +3 -3
- package/build/submit/context.d.ts +2 -0
- package/build/submit/context.js +1 -0
- package/build/submit/ios/AppProduce.js +1 -1
- package/build/submit/ios/IosSubmitCommand.js +2 -0
- package/build/submit/ios/ensureTestFlightSetup.d.ts +7 -0
- package/build/submit/ios/ensureTestFlightSetup.js +81 -0
- package/build/submit/status.js +1 -1
- package/build/submit/utils/formatSubmission.js +2 -2
- package/build/update/queries.js +1 -1
- package/build/update/republish.js +3 -3
- package/build/update/roll-back-to-embedded.js +1 -1
- package/build/update/utils.d.ts +2 -1
- package/build/update/utils.js +7 -7
- package/build/user/User.js +1 -1
- package/oclif.manifest.json +2323 -2311
- package/package.json +6 -6
package/build/update/utils.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ export type FormatUpdateParameter = Pick<Update, 'id' | 'createdAt' | 'message'>
|
|
|
7
7
|
};
|
|
8
8
|
export type UpdateJsonInfo = {
|
|
9
9
|
branch: string;
|
|
10
|
-
|
|
10
|
+
runtimeVersion: string;
|
|
11
|
+
} & Pick<UpdateFragment, 'id' | 'createdAt' | 'group' | 'message' | 'platform' | 'manifestPermalink' | 'gitCommitHash'>;
|
|
11
12
|
export type UpdateGroupDescription = FormatUpdateParameter & {
|
|
12
13
|
branch: string;
|
|
13
14
|
group: string;
|
package/build/update/utils.js
CHANGED
|
@@ -106,7 +106,7 @@ function ensureValidVersions(exp, platform) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
function formatUpdateTitle(update) {
|
|
109
|
-
const { message, createdAt, actor,
|
|
109
|
+
const { message, createdAt, actor, runtime } = update;
|
|
110
110
|
let actorName;
|
|
111
111
|
switch (actor?.__typename) {
|
|
112
112
|
case 'User':
|
|
@@ -124,7 +124,7 @@ function formatUpdateTitle(update) {
|
|
|
124
124
|
actorName = 'unknown';
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
return `[${(0, dateformat_1.default)(createdAt, 'mmm dd HH:MM')} by ${actorName}, runtimeVersion: ${
|
|
127
|
+
return `[${(0, dateformat_1.default)(createdAt, 'mmm dd HH:MM')} by ${actorName}, runtimeVersion: ${runtime.version}] ${message}`;
|
|
128
128
|
}
|
|
129
129
|
function getUpdateJsonInfosForUpdates(updates) {
|
|
130
130
|
return updates.map(update => ({
|
|
@@ -133,7 +133,7 @@ function getUpdateJsonInfosForUpdates(updates) {
|
|
|
133
133
|
group: update.group,
|
|
134
134
|
branch: update.branch.name,
|
|
135
135
|
message: update.message,
|
|
136
|
-
runtimeVersion: update.
|
|
136
|
+
runtimeVersion: update.runtime.version,
|
|
137
137
|
platform: update.platform,
|
|
138
138
|
manifestPermalink: update.manifestPermalink,
|
|
139
139
|
isRollBackToEmbedded: update.isRollBackToEmbedded,
|
|
@@ -143,7 +143,7 @@ function getUpdateJsonInfosForUpdates(updates) {
|
|
|
143
143
|
function getUpdateGroupDescriptions(updateGroups) {
|
|
144
144
|
return updateGroups.map(updateGroup => ({
|
|
145
145
|
message: formatUpdateMessage(updateGroup[0]),
|
|
146
|
-
runtimeVersion: updateGroup[0].
|
|
146
|
+
runtimeVersion: updateGroup[0].runtime.version,
|
|
147
147
|
isRollBackToEmbedded: updateGroup[0].isRollBackToEmbedded,
|
|
148
148
|
rolloutPercentage: updateGroup[0].rolloutPercentage ?? undefined,
|
|
149
149
|
codeSigningKey: updateGroup[0].codeSigningInfo?.keyid,
|
|
@@ -155,7 +155,7 @@ function getUpdateGroupDescriptionsWithBranch(updateGroups) {
|
|
|
155
155
|
return updateGroups.map(updateGroup => ({
|
|
156
156
|
branch: updateGroup[0].branch.name,
|
|
157
157
|
message: formatUpdateMessage(updateGroup[0]),
|
|
158
|
-
runtimeVersion: updateGroup[0].
|
|
158
|
+
runtimeVersion: updateGroup[0].runtime.version,
|
|
159
159
|
isRollBackToEmbedded: updateGroup[0].isRollBackToEmbedded,
|
|
160
160
|
rolloutPercentage: updateGroup[0].rolloutPercentage ?? undefined,
|
|
161
161
|
codeSigningKey: updateGroup[0].codeSigningInfo?.keyid,
|
|
@@ -172,7 +172,7 @@ function getBranchDescription(branch) {
|
|
|
172
172
|
branch: branch.name,
|
|
173
173
|
update: {
|
|
174
174
|
message: formatUpdateMessage(latestUpdate),
|
|
175
|
-
runtimeVersion: latestUpdate.
|
|
175
|
+
runtimeVersion: latestUpdate.runtime.version,
|
|
176
176
|
isRollBackToEmbedded: latestUpdate.isRollBackToEmbedded,
|
|
177
177
|
rolloutPercentage: latestUpdate.rolloutPercentage ?? undefined,
|
|
178
178
|
codeSigningKey: latestUpdate.codeSigningInfo?.keyid,
|
|
@@ -211,7 +211,7 @@ async function prewarmDiffingAsync(graphqlClient, appId, newUpdates) {
|
|
|
211
211
|
appId,
|
|
212
212
|
branchName: update.branch.name,
|
|
213
213
|
platform: exports.updatePublishPlatformToAppPlatform[updatePublishPlatform],
|
|
214
|
-
runtimeVersion: update.
|
|
214
|
+
runtimeVersion: update.runtime.version,
|
|
215
215
|
limit: 2,
|
|
216
216
|
});
|
|
217
217
|
if (updateIds.length !== 2) {
|
package/build/user/User.js
CHANGED
|
@@ -10,7 +10,7 @@ const generated_1 = require("../graphql/generated");
|
|
|
10
10
|
* then organization accounts.
|
|
11
11
|
*/
|
|
12
12
|
function getCreatableAccountNames(actor) {
|
|
13
|
-
const creatableAccounts = actor.accounts.filter(a => a.
|
|
13
|
+
const creatableAccounts = actor.accounts.filter(a => a.viewerUserPermission.role !== generated_1.Role.ViewOnly);
|
|
14
14
|
if (actor.__typename === 'Robot') {
|
|
15
15
|
return creatableAccounts.map(it => it.name);
|
|
16
16
|
}
|