eas-cli 0.44.0 → 0.46.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 +1 -826
- package/build/build/android/graphql.js +1 -0
- package/build/build/android/prepareJob.js +3 -0
- package/build/build/ios/graphql.js +1 -0
- package/build/build/ios/prepareJob.js +3 -0
- package/build/build/local.js +1 -1
- package/build/build/runBuildAndSubmit.js +4 -0
- package/build/commands/analytics.js +1 -1
- package/build/commands/branch/create.js +1 -1
- package/build/commands/branch/delete.js +1 -1
- package/build/commands/branch/list.js +1 -1
- package/build/commands/branch/rename.js +1 -1
- package/build/commands/branch/view.js +1 -1
- package/build/commands/build/cancel.js +1 -1
- package/build/commands/build/configure.js +11 -3
- package/build/commands/build/index.js +1 -1
- package/build/commands/build/inspect.js +1 -1
- package/build/commands/channel/create.js +1 -1
- package/build/commands/channel/delete.js +2 -2
- package/build/commands/channel/edit.js +1 -1
- package/build/commands/channel/list.js +1 -1
- package/build/commands/channel/view.js +1 -1
- package/build/commands/config.js +9 -3
- package/build/commands/credentials.js +1 -1
- package/build/commands/device/delete.d.ts +17 -0
- package/build/commands/device/delete.js +181 -0
- package/build/commands/device/list.js +1 -1
- package/build/commands/diagnostics.js +1 -1
- package/build/commands/secret/create.js +1 -1
- package/build/commands/secret/delete.js +1 -3
- package/build/commands/secret/list.js +1 -1
- package/build/commands/submit.js +2 -3
- package/build/commands/update/configure.js +1 -1
- package/build/commands/update/delete.js +1 -1
- package/build/commands/update/index.js +1 -1
- package/build/commands/update/list.js +1 -1
- package/build/commands/update/view.js +1 -1
- package/build/commands/webhook/create.js +1 -1
- package/build/commands/webhook/delete.js +1 -1
- package/build/commands/webhook/list.js +1 -1
- package/build/commands/webhook/update.js +1 -1
- package/build/commands/webhook/view.js +1 -1
- package/build/credentials/ios/actions/DeviceUtils.d.ts +1 -0
- package/build/credentials/ios/actions/DeviceUtils.js +16 -1
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +1 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +16 -0
- package/build/graphql/generated.d.ts +5808 -3522
- package/build/graphql/generated.js +223 -223
- package/build/submit/ArchiveSource.js +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +51 -49
|
@@ -61,7 +61,7 @@ class WebhookDelete extends EasCommand_1.default {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.default = WebhookDelete;
|
|
64
|
-
WebhookDelete.description = '
|
|
64
|
+
WebhookDelete.description = 'delete a webhook';
|
|
65
65
|
WebhookDelete.args = [
|
|
66
66
|
{
|
|
67
67
|
name: 'ID',
|
|
@@ -39,7 +39,7 @@ class WebhookList extends EasCommand_1.default {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
exports.default = WebhookList;
|
|
42
|
-
WebhookList.description = '
|
|
42
|
+
WebhookList.description = 'list webhooks';
|
|
43
43
|
WebhookList.flags = {
|
|
44
44
|
event: core_1.Flags.enum({
|
|
45
45
|
description: 'Event type that triggers the webhook',
|
|
@@ -27,7 +27,7 @@ class WebhookUpdate extends EasCommand_1.default {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
exports.default = WebhookUpdate;
|
|
30
|
-
WebhookUpdate.description = '
|
|
30
|
+
WebhookUpdate.description = 'update a webhook';
|
|
31
31
|
WebhookUpdate.flags = {
|
|
32
32
|
id: core_1.Flags.string({
|
|
33
33
|
description: 'Webhook ID',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { AppleDevice, AppleDeviceFragment } from '../../../graphql/generated';
|
|
2
2
|
export declare function chooseDevicesAsync(allDevices: AppleDeviceFragment[], preselectedDeviceIdentifiers?: string[]): Promise<AppleDevice[]>;
|
|
3
|
+
export declare function chooseDevicesToDeleteAsync(allDevices: AppleDeviceFragment[]): Promise<AppleDevice[]>;
|
|
3
4
|
export declare function formatDeviceLabel(device: AppleDeviceFragment): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatDeviceLabel = exports.chooseDevicesAsync = void 0;
|
|
3
|
+
exports.formatDeviceLabel = exports.chooseDevicesToDeleteAsync = exports.chooseDevicesAsync = void 0;
|
|
4
4
|
const AppleDevice_1 = require("../../../graphql/types/credentials/AppleDevice");
|
|
5
5
|
const prompts_1 = require("../.././../prompts");
|
|
6
6
|
async function chooseDevicesAsync(allDevices, preselectedDeviceIdentifiers = []) {
|
|
@@ -23,6 +23,21 @@ async function chooseDevicesAsync(allDevices, preselectedDeviceIdentifiers = [])
|
|
|
23
23
|
return devices;
|
|
24
24
|
}
|
|
25
25
|
exports.chooseDevicesAsync = chooseDevicesAsync;
|
|
26
|
+
async function chooseDevicesToDeleteAsync(allDevices) {
|
|
27
|
+
const { devices } = await (0, prompts_1.promptAsync)({
|
|
28
|
+
type: 'multiselect',
|
|
29
|
+
name: 'devices',
|
|
30
|
+
message: 'Which devices do you want to remove?',
|
|
31
|
+
choices: allDevices.map(device => ({
|
|
32
|
+
value: device,
|
|
33
|
+
title: formatDeviceLabel(device),
|
|
34
|
+
selected: false,
|
|
35
|
+
})),
|
|
36
|
+
instructions: false,
|
|
37
|
+
});
|
|
38
|
+
return devices;
|
|
39
|
+
}
|
|
40
|
+
exports.chooseDevicesToDeleteAsync = chooseDevicesToDeleteAsync;
|
|
26
41
|
function formatDeviceLabel(device) {
|
|
27
42
|
var _a;
|
|
28
43
|
const deviceDetails = formatDeviceDetails(device);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AppleDeviceFragment, AppleDeviceInput } from '../../../../../graphql/generated';
|
|
2
2
|
export declare const AppleDeviceMutation: {
|
|
3
3
|
createAppleDeviceAsync(appleDeviceInput: AppleDeviceInput, accountId: string): Promise<AppleDeviceFragment>;
|
|
4
|
+
deleteAppleDeviceAsync(deviceId: string): Promise<string>;
|
|
4
5
|
};
|
|
@@ -29,4 +29,20 @@ exports.AppleDeviceMutation = {
|
|
|
29
29
|
.toPromise());
|
|
30
30
|
return data.appleDevice.createAppleDevice;
|
|
31
31
|
},
|
|
32
|
+
async deleteAppleDeviceAsync(deviceId) {
|
|
33
|
+
const data = await (0, client_1.withErrorHandlingAsync)(client_1.graphqlClient
|
|
34
|
+
.mutation((0, graphql_tag_1.default) `
|
|
35
|
+
mutation DeleteAppleDeviceMutation($deviceId: ID!) {
|
|
36
|
+
appleDevice {
|
|
37
|
+
deleteAppleDevice(id: $deviceId) {
|
|
38
|
+
id
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`, {
|
|
43
|
+
deviceId,
|
|
44
|
+
})
|
|
45
|
+
.toPromise());
|
|
46
|
+
return data.id;
|
|
47
|
+
},
|
|
32
48
|
};
|