eas-cli 16.20.0 → 16.20.2
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 +85 -85
- package/build/build/android/build.js +1 -3
- package/build/build/build.d.ts +3 -3
- package/build/build/build.js +11 -4
- package/build/build/evaluateConfigWithEnvVarsAsync.js +3 -4
- package/build/build/graphql.d.ts +4 -2
- package/build/build/graphql.js +3 -14
- package/build/build/ios/build.js +1 -3
- package/build/build/metadata.d.ts +1 -2
- package/build/build/metadata.js +0 -1
- package/build/build/utils/environment.d.ts +5 -1
- package/build/build/utils/environment.js +12 -6
- package/build/commandUtils/EasCommand.d.ts +1 -1
- package/build/commandUtils/context/ContextField.d.ts +1 -1
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +1 -1
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +4 -4
- package/build/commandUtils/flags.d.ts +1 -4
- package/build/commandUtils/flags.js +5 -6
- package/build/commands/build/resign.d.ts +2 -1
- package/build/commands/deploy/index.d.ts +1 -1
- package/build/commands/env/create.d.ts +1 -1
- package/build/commands/env/delete.d.ts +1 -1
- package/build/commands/env/get.d.ts +1 -1
- package/build/commands/env/list.d.ts +1 -1
- package/build/commands/env/pull.d.ts +1 -1
- package/build/commands/env/push.d.ts +1 -1
- package/build/commands/env/update.d.ts +1 -1
- package/build/commands/fingerprint/compare.d.ts +1 -1
- package/build/commands/fingerprint/generate.d.ts +1 -1
- package/build/commands/update/configure.d.ts +1 -1
- package/build/commands/update/index.d.ts +1 -1
- package/build/commands/update/index.js +1 -5
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +1 -1
- package/build/credentials/ios/appstore/capabilityList.js +18 -8
- package/build/graphql/generated.d.ts +77 -52
- package/build/graphql/generated.js +3 -9
- package/build/graphql/mutations/FingerprintMutation.d.ts +2 -3
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +2 -1
- package/build/project/maybeUploadFingerprintAsync.d.ts +2 -2
- package/build/project/maybeUploadFingerprintAsync.js +7 -12
- package/build/project/publish.d.ts +5 -5
- package/build/project/publish.js +1 -1
- package/build/utils/prompts.d.ts +2 -1
- package/build/utils/prompts.js +3 -2
- package/build/utils/variableUtils.d.ts +2 -1
- package/build/utils/variableUtils.js +2 -1
- package/build/worker/assets.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/build/project/publish.js
CHANGED
|
@@ -571,7 +571,7 @@ async function maybeCalculateFingerprintForRuntimeVersionInfoObjectsWithoutExpoU
|
|
|
571
571
|
for (const platform of runtimeInfo.platforms) {
|
|
572
572
|
const runtimeAndPlatform = `${runtimeInfo.runtimeVersion}-${platform}`;
|
|
573
573
|
const fingerprint = uploadedFingerprintsByRuntimeAndPlatform.get(runtimeAndPlatform);
|
|
574
|
-
if (fingerprint
|
|
574
|
+
if (fingerprint?.uploadedSource) {
|
|
575
575
|
fingerprintInfoGroup[platform] = {
|
|
576
576
|
fingerprintHash: fingerprint.hash,
|
|
577
577
|
fingerprintSource: fingerprint.uploadedSource,
|
package/build/utils/prompts.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
2
|
+
import { EnvironmentSecretType, EnvironmentVariableVisibility } from '../graphql/generated';
|
|
2
3
|
import { RequestedPlatform } from '../platform';
|
|
3
4
|
export declare function promptVariableTypeAsync(nonInteractive: boolean, initialType?: EnvironmentSecretType): Promise<EnvironmentSecretType>;
|
|
4
5
|
export declare function parseVisibility(stringVisibility: 'plaintext' | 'sensitive' | 'secret'): EnvironmentVariableVisibility;
|
package/build/utils/prompts.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.promptPlatformAsync = exports.promptVariableNameAsync = exports.promptVariableValueAsync = exports.promptVariableEnvironmentAsync = exports.promptVariableVisibilityAsync = exports.parseVisibility = exports.promptVariableTypeAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const environment_1 = require("../build/utils/environment");
|
|
6
7
|
const generated_1 = require("../graphql/generated");
|
|
7
8
|
const platform_1 = require("../platform");
|
|
8
9
|
const prompts_1 = require("../prompts");
|
|
@@ -66,7 +67,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
66
67
|
throw new Error('The `--environment` flag must be set when running in `--non-interactive` mode.');
|
|
67
68
|
}
|
|
68
69
|
if (!multiple) {
|
|
69
|
-
return await (0, prompts_1.selectAsync)('Select environment:', (availableEnvironments ?? Object.values(
|
|
70
|
+
return await (0, prompts_1.selectAsync)('Select environment:', (availableEnvironments ?? Object.values(environment_1.EnvironmentVariableEnvironment)).map(environment => ({
|
|
70
71
|
title: environment.toLocaleLowerCase(),
|
|
71
72
|
value: environment,
|
|
72
73
|
})));
|
|
@@ -75,7 +76,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
75
76
|
message: 'Select environment:',
|
|
76
77
|
name: 'environments',
|
|
77
78
|
type: 'multiselect',
|
|
78
|
-
choices: Object.values(
|
|
79
|
+
choices: Object.values(environment_1.EnvironmentVariableEnvironment).map(environment => ({
|
|
79
80
|
title: environment.toLocaleLowerCase(),
|
|
80
81
|
value: environment,
|
|
81
82
|
selected: selectedEnvironments?.includes(environment),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EnvironmentVariableEnvironment
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
2
|
+
import { EnvironmentVariableFragment } from '../graphql/generated';
|
|
2
3
|
import { EnvironmentVariableWithFileContent } from '../graphql/queries/EnvironmentVariablesQuery';
|
|
3
4
|
export declare function isEnvironment(environment: string): environment is EnvironmentVariableEnvironment;
|
|
4
5
|
export declare function formatVariableName(variable: EnvironmentVariableFragment): string;
|
|
@@ -4,9 +4,10 @@ exports.formatVariable = exports.performForEnvironmentsAsync = exports.formatVar
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const dateformat_1 = tslib_1.__importDefault(require("dateformat"));
|
|
6
6
|
const formatFields_1 = tslib_1.__importDefault(require("./formatFields"));
|
|
7
|
+
const environment_1 = require("../build/utils/environment");
|
|
7
8
|
const generated_1 = require("../graphql/generated");
|
|
8
9
|
function isEnvironment(environment) {
|
|
9
|
-
return Object.values(
|
|
10
|
+
return Object.values(environment_1.EnvironmentVariableEnvironment).includes(environment);
|
|
10
11
|
}
|
|
11
12
|
exports.isEnvironment = isEnvironment;
|
|
12
13
|
function formatVariableName(variable) {
|
package/build/worker/assets.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { GzipOptions } from 'minizlib';
|
|
3
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
3
4
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
|
-
import { EnvironmentVariableEnvironment } from '../graphql/generated';
|
|
5
5
|
interface AssetMapOptions {
|
|
6
6
|
maxFileSize: number;
|
|
7
7
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "16.20.
|
|
4
|
+
"version": "16.20.2",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@expo/code-signing-certificates": "0.0.5",
|
|
13
13
|
"@expo/config": "10.0.6",
|
|
14
14
|
"@expo/config-plugins": "9.0.12",
|
|
15
|
-
"@expo/eas-build-job": "1.0.
|
|
16
|
-
"@expo/eas-json": "16.
|
|
15
|
+
"@expo/eas-build-job": "1.0.231",
|
|
16
|
+
"@expo/eas-json": "16.20.1",
|
|
17
17
|
"@expo/env": "^1.0.0",
|
|
18
18
|
"@expo/json-file": "8.3.3",
|
|
19
19
|
"@expo/logger": "1.0.221",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@expo/results": "1.0.0",
|
|
29
29
|
"@expo/rudder-sdk-node": "1.1.1",
|
|
30
30
|
"@expo/spawn-async": "1.7.2",
|
|
31
|
-
"@expo/steps": "1.0.
|
|
31
|
+
"@expo/steps": "1.0.231",
|
|
32
32
|
"@expo/timeago.js": "1.0.0",
|
|
33
33
|
"@oclif/core": "^1.26.2",
|
|
34
34
|
"@oclif/plugin-autocomplete": "^2.3.10",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
"node": "20.11.0",
|
|
242
242
|
"yarn": "1.22.21"
|
|
243
243
|
},
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "f093197dea016783e6060942dd58312ba1a51fc8"
|
|
245
245
|
}
|