eas-cli 16.20.1 → 16.20.3
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/evaluateConfigWithEnvVarsAsync.js +3 -4
- 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/create.js +2 -2
- package/build/commands/env/delete.d.ts +1 -1
- package/build/commands/env/delete.js +1 -1
- package/build/commands/env/get.d.ts +1 -1
- package/build/commands/env/get.js +1 -1
- package/build/commands/env/list.d.ts +1 -1
- package/build/commands/env/list.js +2 -2
- package/build/commands/env/pull.d.ts +1 -1
- package/build/commands/env/push.d.ts +1 -1
- package/build/commands/env/push.js +2 -2
- package/build/commands/env/update.d.ts +1 -1
- package/build/commands/env/update.js +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/graphql/generated.d.ts +77 -52
- package/build/graphql/generated.js +3 -9
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +2 -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 +2 -2
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.evaluateConfigWithEnvVarsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const environment_1 = require("./utils/environment");
|
|
6
|
-
const generated_1 = require("../graphql/generated");
|
|
7
6
|
const EnvironmentVariablesQuery_1 = require("../graphql/queries/EnvironmentVariablesQuery");
|
|
8
7
|
const log_1 = tslib_1.__importStar(require("../log"));
|
|
9
8
|
async function evaluateConfigWithEnvVarsAsync({ buildProfile, buildProfileName, graphqlClient, getProjectConfig, opts, }) {
|
|
@@ -69,10 +68,10 @@ async function resolveEnvVarsAsync({ buildProfile, buildProfileName, graphqlClie
|
|
|
69
68
|
}
|
|
70
69
|
function resolveSuggestedEnvironmentForBuildProfileConfiguration(buildProfile) {
|
|
71
70
|
const environment = buildProfile.distribution === 'store'
|
|
72
|
-
?
|
|
71
|
+
? environment_1.EnvironmentVariableEnvironment.Production
|
|
73
72
|
: buildProfile.developmentClient
|
|
74
|
-
?
|
|
75
|
-
:
|
|
73
|
+
? environment_1.EnvironmentVariableEnvironment.Development
|
|
74
|
+
: environment_1.EnvironmentVariableEnvironment.Preview;
|
|
76
75
|
log_1.default.log(`Resolved "${environment.toLowerCase()}" environment for the build. ${(0, log_1.learnMore)('https://docs.expo.dev/eas/environment-variables/#setting-the-environment-for-your-builds')}`);
|
|
77
76
|
return environment;
|
|
78
77
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { BuildProfile } from '@expo/eas-json';
|
|
2
|
-
|
|
2
|
+
export declare enum EnvironmentVariableEnvironment {
|
|
3
|
+
Development = "development",
|
|
4
|
+
Preview = "preview",
|
|
5
|
+
Production = "production"
|
|
6
|
+
}
|
|
3
7
|
export declare function isEnvironment(env: string): env is EnvironmentVariableEnvironment;
|
|
4
8
|
export declare function buildProfileEnvironmentToEnvironment(environment: BuildProfile['environment']): EnvironmentVariableEnvironment | null;
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildProfileEnvironmentToEnvironment = exports.isEnvironment = void 0;
|
|
4
|
-
|
|
3
|
+
exports.buildProfileEnvironmentToEnvironment = exports.isEnvironment = exports.EnvironmentVariableEnvironment = void 0;
|
|
4
|
+
// Default environments
|
|
5
|
+
var EnvironmentVariableEnvironment;
|
|
6
|
+
(function (EnvironmentVariableEnvironment) {
|
|
7
|
+
EnvironmentVariableEnvironment["Development"] = "development";
|
|
8
|
+
EnvironmentVariableEnvironment["Preview"] = "preview";
|
|
9
|
+
EnvironmentVariableEnvironment["Production"] = "production";
|
|
10
|
+
})(EnvironmentVariableEnvironment || (exports.EnvironmentVariableEnvironment = EnvironmentVariableEnvironment = {}));
|
|
5
11
|
const BuildProfileEnvironmentToEnvironment = {
|
|
6
|
-
production:
|
|
7
|
-
preview:
|
|
8
|
-
development:
|
|
12
|
+
production: EnvironmentVariableEnvironment.Production,
|
|
13
|
+
preview: EnvironmentVariableEnvironment.Preview,
|
|
14
|
+
development: EnvironmentVariableEnvironment.Development,
|
|
9
15
|
};
|
|
10
16
|
function isEnvironment(env) {
|
|
11
|
-
return Object.values(
|
|
17
|
+
return Object.values(EnvironmentVariableEnvironment).includes(env);
|
|
12
18
|
}
|
|
13
19
|
exports.isEnvironment = isEnvironment;
|
|
14
20
|
function buildProfileEnvironmentToEnvironment(environment) {
|
|
@@ -12,7 +12,7 @@ import { ProjectIdContextField } from './context/ProjectIdContextField';
|
|
|
12
12
|
import { ServerSideEnvironmentVariablesContextField } from './context/ServerSideEnvironmentVariablesContextField';
|
|
13
13
|
import SessionManagementContextField from './context/SessionManagementContextField';
|
|
14
14
|
import VcsClientContextField from './context/VcsClientContextField';
|
|
15
|
-
import { EnvironmentVariableEnvironment } from '../
|
|
15
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
16
16
|
import { Client } from '../vcs/vcs';
|
|
17
17
|
export type ContextInput<T extends {
|
|
18
18
|
[name: string]: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Analytics } from '../../analytics/AnalyticsManager';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../
|
|
2
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
3
3
|
import SessionManager from '../../user/SessionManager';
|
|
4
4
|
import { Client } from '../../vcs/vcs';
|
|
5
5
|
export interface ContextOptions {
|
package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from './createGraphqlClient';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../../
|
|
2
|
+
import { EnvironmentVariableEnvironment } from '../../../build/utils/environment';
|
|
3
3
|
export declare function loadServerSideEnvironmentVariablesAsync({ environment, projectId, graphqlClient, }: {
|
|
4
4
|
environment: EnvironmentVariableEnvironment;
|
|
5
5
|
projectId: string;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.loadServerSideEnvironmentVariablesAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const environment_1 = require("../../../build/utils/environment");
|
|
6
6
|
const EnvironmentVariablesQuery_1 = require("../../../graphql/queries/EnvironmentVariablesQuery");
|
|
7
7
|
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
8
8
|
const cachedServerSideEnvironmentVariables = {
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
9
|
+
[environment_1.EnvironmentVariableEnvironment.Development]: null,
|
|
10
|
+
[environment_1.EnvironmentVariableEnvironment.Preview]: null,
|
|
11
|
+
[environment_1.EnvironmentVariableEnvironment.Production]: null,
|
|
12
12
|
};
|
|
13
13
|
async function loadServerSideEnvironmentVariablesAsync({ environment, projectId, graphqlClient, }) {
|
|
14
14
|
// don't load environment variables if they were already loaded while executing a command
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { EnvironmentVariableEnvironment } from '../
|
|
2
|
-
declare function upperCaseAsync<T>(input: string): Promise<T>;
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
3
2
|
export declare const EasNonInteractiveAndJsonFlags: {
|
|
4
3
|
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
5
4
|
'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
6
5
|
};
|
|
7
6
|
export declare const EasEnvironmentFlagParameters: {
|
|
8
7
|
description: string;
|
|
9
|
-
parse: typeof upperCaseAsync;
|
|
10
8
|
options: EnvironmentVariableEnvironment[];
|
|
11
9
|
};
|
|
12
10
|
export declare const EASEnvironmentFlag: {
|
|
@@ -34,4 +32,3 @@ export declare const EasJsonOnlyFlag: {
|
|
|
34
32
|
export declare const EasUpdateEnvironmentFlag: {
|
|
35
33
|
environment: import("@oclif/core/lib/interfaces").OptionFlag<EnvironmentVariableEnvironment | null>;
|
|
36
34
|
};
|
|
37
|
-
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EasUpdateEnvironmentFlag = exports.EasJsonOnlyFlag = exports.EASNonInteractiveFlag = exports.EASEnvironmentVariableScopeFlag = exports.EASVariableVisibilityFlag = exports.EASVariableFormatFlag = exports.EASMultiEnvironmentFlag = exports.EASEnvironmentFlag = exports.EasEnvironmentFlagParameters = exports.EasNonInteractiveAndJsonFlags = void 0;
|
|
4
4
|
const core_1 = require("@oclif/core");
|
|
5
|
-
const
|
|
5
|
+
const environment_1 = require("../build/utils/environment");
|
|
6
6
|
// NOTE: not exactly true, but, provided mapToLowercase and upperCaseAsync
|
|
7
7
|
// are used in tandem, it saves on unnecessary typying in commands
|
|
8
8
|
async function upperCaseAsync(input) {
|
|
@@ -22,11 +22,10 @@ exports.EasNonInteractiveAndJsonFlags = {
|
|
|
22
22
|
};
|
|
23
23
|
exports.EasEnvironmentFlagParameters = {
|
|
24
24
|
description: "Environment variable's environment",
|
|
25
|
-
parse: upperCaseAsync,
|
|
26
25
|
options: mapToLowercase([
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
environment_1.EnvironmentVariableEnvironment.Development,
|
|
27
|
+
environment_1.EnvironmentVariableEnvironment.Preview,
|
|
28
|
+
environment_1.EnvironmentVariableEnvironment.Production,
|
|
30
29
|
]),
|
|
31
30
|
};
|
|
32
31
|
exports.EASEnvironmentFlag = {
|
|
@@ -71,7 +70,7 @@ exports.EasJsonOnlyFlag = {
|
|
|
71
70
|
exports.EasUpdateEnvironmentFlag = {
|
|
72
71
|
environment: core_1.Flags.enum({
|
|
73
72
|
description: 'Environment to use for the server-side defined EAS environment variables during command execution.',
|
|
74
|
-
options: mapToLowercase(Object.values(
|
|
73
|
+
options: mapToLowercase(Object.values(environment_1.EnvironmentVariableEnvironment)),
|
|
75
74
|
parse: upperCaseAsync,
|
|
76
75
|
required: false,
|
|
77
76
|
default: null,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Platform } from '@expo/eas-build-job';
|
|
2
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
2
3
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
3
4
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
|
-
import { BuildFragment
|
|
5
|
+
import { BuildFragment } from '../../graphql/generated';
|
|
5
6
|
interface BuildResignFlags {
|
|
6
7
|
json: boolean;
|
|
7
8
|
nonInteractive: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
3
3
|
export default class WorkerDeploy extends EasCommand {
|
|
4
4
|
static description: string;
|
|
5
5
|
static aliases: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
3
|
import { EASEnvironmentVariableScopeFlagValue } from '../../commandUtils/flags';
|
|
3
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
4
4
|
export default class EnvCreate extends EasCommand {
|
|
5
5
|
static description: string;
|
|
6
6
|
static args: {
|
|
@@ -187,13 +187,13 @@ class EnvCreate extends EasCommand_1.default {
|
|
|
187
187
|
fileName = path_1.default.basename(environmentFilePath);
|
|
188
188
|
}
|
|
189
189
|
value = environmentFilePath ? await fs_extra_1.default.readFile(environmentFilePath, 'base64') : value;
|
|
190
|
-
if (environment && !(0, variableUtils_1.isEnvironment)(environment.
|
|
190
|
+
if (environment && !(0, variableUtils_1.isEnvironment)(environment.toLowerCase())) {
|
|
191
191
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
192
192
|
}
|
|
193
193
|
let newEnvironments = environments
|
|
194
194
|
? environments
|
|
195
195
|
: environment
|
|
196
|
-
? [environment.
|
|
196
|
+
? [environment.toLowerCase()]
|
|
197
197
|
: undefined;
|
|
198
198
|
if (!newEnvironments) {
|
|
199
199
|
newEnvironments = await (0, prompts_2.promptVariableEnvironmentAsync)({ nonInteractive, multiple: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
3
|
import { EASEnvironmentVariableScopeFlagValue } from '../../commandUtils/flags';
|
|
3
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
4
4
|
export default class EnvDelete extends EasCommand {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
@@ -108,7 +108,7 @@ class EnvDelete extends EasCommand_1.default {
|
|
|
108
108
|
? generated_1.EnvironmentVariableScope.Shared
|
|
109
109
|
: generated_1.EnvironmentVariableScope.Project;
|
|
110
110
|
if (environment) {
|
|
111
|
-
environment = environment.
|
|
111
|
+
environment = environment.toLowerCase();
|
|
112
112
|
if (!(0, variableUtils_1.isEnvironment)(environment)) {
|
|
113
113
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
114
114
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
3
|
import { EASEnvironmentVariableScopeFlagValue } from '../../commandUtils/flags';
|
|
3
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
4
4
|
export default class EnvGet extends EasCommand {
|
|
5
5
|
static description: string;
|
|
6
6
|
static contextDefinition: {
|
|
@@ -95,7 +95,7 @@ class EnvGet extends EasCommand_1.default {
|
|
|
95
95
|
? generated_1.EnvironmentVariableScope.Shared
|
|
96
96
|
: generated_1.EnvironmentVariableScope.Project;
|
|
97
97
|
if (environment) {
|
|
98
|
-
environment = environment.
|
|
98
|
+
environment = environment.toLowerCase();
|
|
99
99
|
if (!(0, variableUtils_1.isEnvironment)(environment)) {
|
|
100
100
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
101
101
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
3
|
import { EASEnvironmentVariableScopeFlagValue } from '../../commandUtils/flags';
|
|
3
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
4
4
|
export default class EnvList extends EasCommand {
|
|
5
5
|
static description: string;
|
|
6
6
|
static contextDefinition: {
|
|
@@ -105,13 +105,13 @@ class EnvList extends EasCommand_1.default {
|
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
sanitizeInputs(flags, { environment }) {
|
|
108
|
-
if (environment && !(0, variableUtils_1.isEnvironment)(environment.
|
|
108
|
+
if (environment && !(0, variableUtils_1.isEnvironment)(environment.toLowerCase())) {
|
|
109
109
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
110
110
|
}
|
|
111
111
|
const environments = flags.environment
|
|
112
112
|
? flags.environment
|
|
113
113
|
: environment
|
|
114
|
-
? [environment.
|
|
114
|
+
? [environment.toLowerCase()]
|
|
115
115
|
: undefined;
|
|
116
116
|
return {
|
|
117
117
|
...flags,
|
|
@@ -13,7 +13,7 @@ export default class EnvPull extends EasCommand {
|
|
|
13
13
|
}[];
|
|
14
14
|
static flags: {
|
|
15
15
|
path: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
|
-
environment: import("@oclif/core/lib/interfaces").OptionFlag<import("../../
|
|
16
|
+
environment: import("@oclif/core/lib/interfaces").OptionFlag<import("../../build/utils/environment").EnvironmentVariableEnvironment | undefined>;
|
|
17
17
|
'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
18
|
};
|
|
19
19
|
runAsync(): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
3
3
|
export default class EnvPush extends EasCommand {
|
|
4
4
|
static description: string;
|
|
5
5
|
static contextDefinition: {
|
|
@@ -140,11 +140,11 @@ class EnvPush extends EasCommand_1.default {
|
|
|
140
140
|
log_1.default.log(`Uploaded env file to ${environments.join(', ').toLocaleLowerCase()}.`);
|
|
141
141
|
}
|
|
142
142
|
parseFlagsAndArgs(flags, { environment }) {
|
|
143
|
-
if (environment && !(0, variableUtils_1.isEnvironment)(environment.
|
|
143
|
+
if (environment && !(0, variableUtils_1.isEnvironment)(environment.toLowerCase())) {
|
|
144
144
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
145
145
|
}
|
|
146
146
|
const environments = flags.environment ??
|
|
147
|
-
(environment ? [environment.
|
|
147
|
+
(environment ? [environment.toLowerCase()] : undefined);
|
|
148
148
|
return {
|
|
149
149
|
...flags,
|
|
150
150
|
environment: environments,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
3
|
import { EASEnvironmentVariableScopeFlagValue } from '../../commandUtils/flags';
|
|
3
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
4
4
|
export default class EnvUpdate extends EasCommand {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
@@ -131,7 +131,7 @@ class EnvUpdate extends EasCommand_1.default {
|
|
|
131
131
|
? generated_1.EnvironmentVariableScope.Shared
|
|
132
132
|
: generated_1.EnvironmentVariableScope.Project;
|
|
133
133
|
if (environment) {
|
|
134
|
-
environment = environment.
|
|
134
|
+
environment = environment.toLowerCase();
|
|
135
135
|
if (!(0, variableUtils_1.isEnvironment)(environment)) {
|
|
136
136
|
throw new Error("Invalid environment. Use one of 'production', 'preview', or 'development'.");
|
|
137
137
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
3
3
|
export default class FingerprintCompare extends EasCommand {
|
|
4
4
|
static description: string;
|
|
5
5
|
static strict: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
3
3
|
export default class FingerprintGenerate extends EasCommand {
|
|
4
4
|
static description: string;
|
|
5
5
|
static strict: boolean;
|
|
@@ -4,7 +4,7 @@ export default class UpdateConfigure extends EasCommand {
|
|
|
4
4
|
static description: string;
|
|
5
5
|
static flags: {
|
|
6
6
|
'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
7
|
-
environment: import("@oclif/core/lib/interfaces").OptionFlag<import("../../
|
|
7
|
+
environment: import("@oclif/core/lib/interfaces").OptionFlag<import("../../build/utils/environment").EnvironmentVariableEnvironment | null>;
|
|
8
8
|
platform: import("@oclif/core/lib/interfaces").OptionFlag<RequestedPlatform>;
|
|
9
9
|
};
|
|
10
10
|
static contextDefinition: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
import { EnvironmentVariableEnvironment } from '../../graphql/generated';
|
|
3
3
|
import { RequestedPlatform } from '../../platform';
|
|
4
4
|
export default class UpdatePublish extends EasCommand {
|
|
5
5
|
static description: string;
|