eas-cli 14.7.1 → 15.0.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 +88 -81
- package/build/build/runBuildAndSubmit.d.ts +2 -0
- package/build/build/runBuildAndSubmit.js +11 -2
- package/build/commands/build/dev.d.ts +1 -0
- package/build/commands/build/dev.js +30 -16
- package/build/commands/build/internal.js +7 -3
- package/build/commands/build/run.js +1 -6
- package/build/commands/fingerprint/compare.d.ts +2 -8
- package/build/commands/fingerprint/compare.js +218 -66
- package/build/commands/project/onboarding.js +4 -1
- package/build/commands/submit/internal.js +7 -3
- package/build/graphql/generated.d.ts +141 -0
- package/build/graphql/queries/UpdateQuery.d.ts +2 -1
- package/build/graphql/queries/UpdateQuery.js +16 -0
- package/build/graphql/types/Build.js +5 -0
- package/build/graphql/types/Update.js +1 -0
- package/build/run/run.d.ts +1 -0
- package/build/run/run.js +8 -1
- package/build/vcs/clients/git.d.ts +6 -2
- package/build/vcs/clients/git.js +87 -27
- package/build/vcs/index.js +10 -10
- package/build/vcs/local.d.ts +1 -0
- package/build/vcs/local.js +3 -3
- package/oclif.manifest.json +17 -5
- package/package.json +3 -3
- package/build/vcs/clients/gitNoCommit.d.ts +0 -8
- package/build/vcs/clients/gitNoCommit.js +0 -42
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "15.0.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"analytics": {
|
|
5
5
|
"id": "analytics",
|
|
@@ -2778,20 +2778,32 @@
|
|
|
2778
2778
|
"aliases": [],
|
|
2779
2779
|
"examples": [
|
|
2780
2780
|
"$ eas fingerprint:compare \t # Compare fingerprints in interactive mode",
|
|
2781
|
-
"$ eas fingerprint:compare
|
|
2782
|
-
"$ eas fingerprint:compare
|
|
2783
|
-
"$ eas fingerprint:compare --build-id
|
|
2781
|
+
"$ eas fingerprint:compare <FINGERPRINT-HASH> \t # Compare fingerprint against local directory",
|
|
2782
|
+
"$ eas fingerprint:compare <FINGERPRINT-HASH-1> <FINGERPRINT-HASH-2> \t # Compare provided fingerprints",
|
|
2783
|
+
"$ eas fingerprint:compare --build-id <BUILD-ID> \t # Compare fingerprint from build against local directory",
|
|
2784
|
+
"$ eas fingerprint:compare --build-id <BUILD-ID-1> --build-id <BUILD-ID-2>\t # Compare fingerprint from a build against another build",
|
|
2785
|
+
"$ eas fingerprint:compare --build-id <BUILD-ID> --update-id <UPDATE-ID>\t # Compare fingerprint from build against fingerprint from update",
|
|
2786
|
+
"$ eas fingerprint:compare <FINGERPRINT-HASH> --update-id <UPDATE-ID> \t # Compare fingerprint from update against provided fingerprint"
|
|
2784
2787
|
],
|
|
2785
2788
|
"flags": {
|
|
2786
2789
|
"build-id": {
|
|
2787
2790
|
"name": "build-id",
|
|
2788
2791
|
"type": "option",
|
|
2789
2792
|
"description": "Compare the fingerprint with the build with the specified ID",
|
|
2790
|
-
"multiple":
|
|
2793
|
+
"multiple": true,
|
|
2791
2794
|
"aliases": [
|
|
2792
2795
|
"buildId"
|
|
2793
2796
|
]
|
|
2794
2797
|
},
|
|
2798
|
+
"update-id": {
|
|
2799
|
+
"name": "update-id",
|
|
2800
|
+
"type": "option",
|
|
2801
|
+
"description": "Compare the fingerprint with the update with the specified ID",
|
|
2802
|
+
"multiple": true,
|
|
2803
|
+
"aliases": [
|
|
2804
|
+
"updateId"
|
|
2805
|
+
]
|
|
2806
|
+
},
|
|
2795
2807
|
"json": {
|
|
2796
2808
|
"name": "json",
|
|
2797
2809
|
"type": "boolean",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "15.0.1",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@expo/config": "10.0.6",
|
|
14
14
|
"@expo/config-plugins": "9.0.12",
|
|
15
15
|
"@expo/eas-build-job": "1.0.165",
|
|
16
|
-
"@expo/eas-json": "
|
|
16
|
+
"@expo/eas-json": "15.0.0",
|
|
17
17
|
"@expo/env": "^1.0.0",
|
|
18
18
|
"@expo/json-file": "8.3.3",
|
|
19
19
|
"@expo/logger": "1.0.117",
|
|
@@ -237,5 +237,5 @@
|
|
|
237
237
|
"node": "20.11.0",
|
|
238
238
|
"yarn": "1.22.21"
|
|
239
239
|
},
|
|
240
|
-
"gitHead": "
|
|
240
|
+
"gitHead": "62819e09567f2bb274431527f877ecedd9fb71ff"
|
|
241
241
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import GitClient from './git';
|
|
2
|
-
export default class GitNoCommitClient extends GitClient {
|
|
3
|
-
isCommitRequiredAsync(): Promise<boolean>;
|
|
4
|
-
getRootPathAsync(): Promise<string>;
|
|
5
|
-
makeShallowCopyAsync(destinationPath: string): Promise<void>;
|
|
6
|
-
isFileIgnoredAsync(filePath: string): Promise<boolean>;
|
|
7
|
-
trackFileAsync(file: string): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
5
|
-
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
|
-
const git_1 = tslib_1.__importDefault(require("./git"));
|
|
8
|
-
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
9
|
-
const local_1 = require("../local");
|
|
10
|
-
class GitNoCommitClient extends git_1.default {
|
|
11
|
-
async isCommitRequiredAsync() {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
async getRootPathAsync() {
|
|
15
|
-
return (await (0, spawn_async_1.default)('git', ['rev-parse', '--show-toplevel'])).stdout.trim();
|
|
16
|
-
}
|
|
17
|
-
async makeShallowCopyAsync(destinationPath) {
|
|
18
|
-
// normalize converts C:/some/path to C:\some\path on windows
|
|
19
|
-
const srcPath = path_1.default.normalize(await this.getRootPathAsync());
|
|
20
|
-
await (0, local_1.makeShallowCopyAsync)(srcPath, destinationPath);
|
|
21
|
-
}
|
|
22
|
-
async isFileIgnoredAsync(filePath) {
|
|
23
|
-
// normalize converts C:/some/path to C:\some\path on windows
|
|
24
|
-
const rootPath = path_1.default.normalize(await this.getRootPathAsync());
|
|
25
|
-
const ignore = new local_1.Ignore(rootPath);
|
|
26
|
-
await ignore.initIgnoreAsync();
|
|
27
|
-
return ignore.ignores(filePath);
|
|
28
|
-
}
|
|
29
|
-
async trackFileAsync(file) {
|
|
30
|
-
try {
|
|
31
|
-
await super.trackFileAsync(file);
|
|
32
|
-
}
|
|
33
|
-
catch {
|
|
34
|
-
// In the no commit workflow it doesn't matter if we fail to track changes,
|
|
35
|
-
// so we can ignore if this throws an exception
|
|
36
|
-
log_1.default.warn(`Unable to track ${chalk_1.default.bold(path_1.default.basename(file))} in Git. Proceeding without tracking.`);
|
|
37
|
-
log_1.default.warn(` Reason: the command ${chalk_1.default.bold(`"git add ${file}"`)} exited with an error.`);
|
|
38
|
-
log_1.default.newLine();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.default = GitNoCommitClient;
|