eas-cli 18.7.0 → 18.8.1
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 +147 -90
- package/build/build/utils/url.d.ts +6 -0
- package/build/build/utils/url.js +9 -0
- package/build/channel/insights/formatInsights.d.ts +47 -0
- package/build/channel/insights/formatInsights.js +108 -0
- package/build/commands/channel/insights.d.ts +18 -0
- package/build/commands/channel/insights.js +71 -0
- package/build/commands/observe/events.d.ts +1 -0
- package/build/commands/observe/events.js +17 -4
- package/build/commands/observe/metrics.d.ts +1 -0
- package/build/commands/observe/metrics.js +18 -6
- package/build/commands/observe/versions.d.ts +1 -0
- package/build/commands/observe/versions.js +17 -4
- package/build/commands/simulator/start.d.ts +16 -0
- package/build/commands/simulator/start.js +203 -0
- package/build/commands/update/insights.d.ts +19 -0
- package/build/commands/update/insights.js +75 -0
- package/build/commands/update/view.d.ts +4 -0
- package/build/commands/update/view.js +47 -2
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +28 -3
- package/build/graphql/client.d.ts +13 -0
- package/build/graphql/client.js +36 -1
- package/build/graphql/generated.d.ts +318 -0
- package/build/graphql/generated.js +21 -3
- package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +5 -0
- package/build/graphql/mutations/DeviceRunSessionMutation.js +34 -0
- package/build/graphql/queries/ChannelInsightsQuery.d.ts +12 -0
- package/build/graphql/queries/ChannelInsightsQuery.js +81 -0
- package/build/graphql/queries/DeviceRunSessionQuery.d.ts +5 -0
- package/build/graphql/queries/DeviceRunSessionQuery.js +28 -0
- package/build/graphql/queries/UpdateInsightsQuery.d.ts +10 -0
- package/build/graphql/queries/UpdateInsightsQuery.js +53 -0
- package/build/graphql/types/Observe.js +1 -0
- package/build/insights/formatTimespan.d.ts +7 -0
- package/build/insights/formatTimespan.js +15 -0
- package/build/insights/timeRange.d.ts +10 -0
- package/build/insights/timeRange.js +10 -0
- package/build/metadata/apple/tasks/previews.js +41 -15
- package/build/observe/formatEvents.d.ts +3 -0
- package/build/observe/formatEvents.js +4 -0
- package/build/observe/formatMetrics.d.ts +3 -2
- package/build/observe/formatMetrics.js +16 -27
- package/build/observe/formatVersions.js +2 -8
- package/build/update/insights/formatInsights.d.ts +34 -0
- package/build/update/insights/formatInsights.js +128 -0
- package/build/utils/renderTextTable.d.ts +6 -0
- package/build/utils/renderTextTable.js +23 -0
- package/oclif.manifest.json +995 -593
- package/package.json +5 -5
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Render a simple column-aligned text table with a bold header row, a dashed
|
|
3
|
+
* separator, the data rows, and an optional footer row (preceded by its own
|
|
4
|
+
* separator). Columns are padded to the widest cell in that column.
|
|
5
|
+
*/
|
|
6
|
+
export default function renderTextTable(headers: string[], rows: string[][], footerRow?: string[]): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = renderTextTable;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
/**
|
|
7
|
+
* Render a simple column-aligned text table with a bold header row, a dashed
|
|
8
|
+
* separator, the data rows, and an optional footer row (preceded by its own
|
|
9
|
+
* separator). Columns are padded to the widest cell in that column.
|
|
10
|
+
*/
|
|
11
|
+
function renderTextTable(headers, rows, footerRow) {
|
|
12
|
+
const allRows = footerRow ? [...rows, footerRow] : rows;
|
|
13
|
+
const colWidths = headers.map((h, i) => Math.max(h.length, ...allRows.map(r => (r[i] ?? '').length)));
|
|
14
|
+
const headerLine = headers.map((h, i) => h.padEnd(colWidths[i])).join(' ');
|
|
15
|
+
const separatorLine = colWidths.map(w => '-'.repeat(w)).join(' ');
|
|
16
|
+
const dataLines = rows.map(row => row.map((cell, i) => (cell ?? '').padEnd(colWidths[i])).join(' '));
|
|
17
|
+
const lines = [chalk_1.default.bold(headerLine), separatorLine, ...dataLines];
|
|
18
|
+
if (footerRow) {
|
|
19
|
+
lines.push(separatorLine);
|
|
20
|
+
lines.push(footerRow.map((cell, i) => (cell ?? '').padEnd(colWidths[i])).join(' '));
|
|
21
|
+
}
|
|
22
|
+
return lines.join('\n');
|
|
23
|
+
}
|