@salesforce/core 3.7.4 → 3.7.5
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/CHANGELOG.md +6 -0
- package/lib/config/envVars.d.ts +20 -5
- package/lib/config/envVars.js +70 -5
- package/lib/exported.d.ts +1 -1
- package/lib/exported.js +3 -1
- package/messages/envVars.md +53 -13
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.7.5](https://github.com/forcedotcom/sfdx-core/compare/v3.7.4...v3.7.5) (2022-02-14)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- add env vars from sfdx-cli init to envvars ([#520](https://github.com/forcedotcom/sfdx-core/issues/520)) ([8ef2785](https://github.com/forcedotcom/sfdx-core/commit/8ef27859d95bfffc5999b14f4792874d04f0504c))
|
|
10
|
+
|
|
5
11
|
### [3.7.4](https://github.com/forcedotcom/sfdx-core/compare/v3.7.3...v3.7.4) (2022-02-07)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
package/lib/config/envVars.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { Dictionary, Nullable } from '@salesforce/ts-types';
|
|
2
3
|
import { Env } from '@salesforce/kit';
|
|
3
4
|
export declare enum EnvironmentVariable {
|
|
@@ -35,6 +36,11 @@ export declare enum EnvironmentVariable {
|
|
|
35
36
|
'SFDX_SOURCE_MEMBER_POLLING_TIMEOUT' = "SFDX_SOURCE_MEMBER_POLLING_TIMEOUT",
|
|
36
37
|
'SFDX_USE_GENERIC_UNIX_KEYCHAIN' = "SFDX_USE_GENERIC_UNIX_KEYCHAIN",
|
|
37
38
|
'SFDX_USE_PROGRESS_BAR' = "SFDX_USE_PROGRESS_BAR",
|
|
39
|
+
'SFDX_LAZY_LOAD_MODULES' = "SFDX_LAZY_LOAD_MODULES",
|
|
40
|
+
'SFDX_S3_HOST' = "SFDX_S3_HOST",
|
|
41
|
+
'SFDX_UPDATE_INSTRUCTIONS' = "SFDX_UPDATE_INSTRUCTIONS",
|
|
42
|
+
'SFDX_INSTALLER' = "SFDX_INSTALLER",
|
|
43
|
+
'SFDX_ENV' = "SFDX_ENV",
|
|
38
44
|
'SF_TARGET_ORG' = "SF_TARGET_ORG",
|
|
39
45
|
'SF_TARGET_DEV_HUB' = "SF_TARGET_DEV_HUB",
|
|
40
46
|
'SF_ACCESS_TOKEN' = "SF_ACCESS_TOKEN",
|
|
@@ -60,7 +66,12 @@ export declare enum EnvironmentVariable {
|
|
|
60
66
|
'SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE' = "SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE",
|
|
61
67
|
'SF_SOURCE_MEMBER_POLLING_TIMEOUT' = "SF_SOURCE_MEMBER_POLLING_TIMEOUT",
|
|
62
68
|
'SF_USE_GENERIC_UNIX_KEYCHAIN' = "SF_USE_GENERIC_UNIX_KEYCHAIN",
|
|
63
|
-
'SF_USE_PROGRESS_BAR' = "SF_USE_PROGRESS_BAR"
|
|
69
|
+
'SF_USE_PROGRESS_BAR' = "SF_USE_PROGRESS_BAR",
|
|
70
|
+
'SF_LAZY_LOAD_MODULES' = "SF_LAZY_LOAD_MODULES",
|
|
71
|
+
'SF_S3_HOST' = "SF_S3_HOST",
|
|
72
|
+
'SF_UPDATE_INSTRUCTIONS' = "SF_UPDATE_INSTRUCTIONS",
|
|
73
|
+
'SF_INSTALLER' = "SF_INSTALLER",
|
|
74
|
+
'SF_ENV' = "SF_ENV"
|
|
64
75
|
}
|
|
65
76
|
declare type EnvMetaData = {
|
|
66
77
|
description: string;
|
|
@@ -71,11 +82,15 @@ declare type EnvType = {
|
|
|
71
82
|
};
|
|
72
83
|
export declare const SUPPORTED_ENV_VARS: EnvType;
|
|
73
84
|
export declare class EnvVars extends Env {
|
|
74
|
-
constructor();
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
85
|
+
constructor(env?: NodeJS.ProcessEnv);
|
|
86
|
+
private static defaultPrefix;
|
|
87
|
+
propertyToEnvName(property: string, prefix?: string | undefined): string;
|
|
88
|
+
setPropertyFromEnv(property: string, prefix?: string | undefined): void;
|
|
89
|
+
getPropertyFromEnv<T>(property: string, prefix?: string | undefined): T | undefined;
|
|
90
|
+
asDictionary(): Dictionary<unknown>;
|
|
78
91
|
asMap(): Map<string, string>;
|
|
79
92
|
private resolve;
|
|
93
|
+
private get;
|
|
80
94
|
}
|
|
95
|
+
export declare const envVars: EnvVars;
|
|
81
96
|
export {};
|
package/lib/config/envVars.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnvVars = exports.SUPPORTED_ENV_VARS = exports.EnvironmentVariable = void 0;
|
|
3
|
+
exports.envVars = exports.EnvVars = exports.SUPPORTED_ENV_VARS = exports.EnvironmentVariable = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -50,6 +50,11 @@ var EnvironmentVariable;
|
|
|
50
50
|
EnvironmentVariable["SFDX_SOURCE_MEMBER_POLLING_TIMEOUT"] = "SFDX_SOURCE_MEMBER_POLLING_TIMEOUT";
|
|
51
51
|
EnvironmentVariable["SFDX_USE_GENERIC_UNIX_KEYCHAIN"] = "SFDX_USE_GENERIC_UNIX_KEYCHAIN";
|
|
52
52
|
EnvironmentVariable["SFDX_USE_PROGRESS_BAR"] = "SFDX_USE_PROGRESS_BAR";
|
|
53
|
+
EnvironmentVariable["SFDX_LAZY_LOAD_MODULES"] = "SFDX_LAZY_LOAD_MODULES";
|
|
54
|
+
EnvironmentVariable["SFDX_S3_HOST"] = "SFDX_S3_HOST";
|
|
55
|
+
EnvironmentVariable["SFDX_UPDATE_INSTRUCTIONS"] = "SFDX_UPDATE_INSTRUCTIONS";
|
|
56
|
+
EnvironmentVariable["SFDX_INSTALLER"] = "SFDX_INSTALLER";
|
|
57
|
+
EnvironmentVariable["SFDX_ENV"] = "SFDX_ENV";
|
|
53
58
|
EnvironmentVariable["SF_TARGET_ORG"] = "SF_TARGET_ORG";
|
|
54
59
|
EnvironmentVariable["SF_TARGET_DEV_HUB"] = "SF_TARGET_DEV_HUB";
|
|
55
60
|
EnvironmentVariable["SF_ACCESS_TOKEN"] = "SF_ACCESS_TOKEN";
|
|
@@ -76,6 +81,11 @@ var EnvironmentVariable;
|
|
|
76
81
|
EnvironmentVariable["SF_SOURCE_MEMBER_POLLING_TIMEOUT"] = "SF_SOURCE_MEMBER_POLLING_TIMEOUT";
|
|
77
82
|
EnvironmentVariable["SF_USE_GENERIC_UNIX_KEYCHAIN"] = "SF_USE_GENERIC_UNIX_KEYCHAIN";
|
|
78
83
|
EnvironmentVariable["SF_USE_PROGRESS_BAR"] = "SF_USE_PROGRESS_BAR";
|
|
84
|
+
EnvironmentVariable["SF_LAZY_LOAD_MODULES"] = "SF_LAZY_LOAD_MODULES";
|
|
85
|
+
EnvironmentVariable["SF_S3_HOST"] = "SF_S3_HOST";
|
|
86
|
+
EnvironmentVariable["SF_UPDATE_INSTRUCTIONS"] = "SF_UPDATE_INSTRUCTIONS";
|
|
87
|
+
EnvironmentVariable["SF_INSTALLER"] = "SF_INSTALLER";
|
|
88
|
+
EnvironmentVariable["SF_ENV"] = "SF_ENV";
|
|
79
89
|
})(EnvironmentVariable = exports.EnvironmentVariable || (exports.EnvironmentVariable = {}));
|
|
80
90
|
const getMessage = (environmentVariable) => messages.getMessage((0, change_case_1.camelCase)(environmentVariable));
|
|
81
91
|
exports.SUPPORTED_ENV_VARS = {
|
|
@@ -216,6 +226,26 @@ exports.SUPPORTED_ENV_VARS = {
|
|
|
216
226
|
description: getMessage(EnvironmentVariable.SFDX_USE_PROGRESS_BAR),
|
|
217
227
|
synonymOf: EnvironmentVariable.SF_USE_PROGRESS_BAR,
|
|
218
228
|
},
|
|
229
|
+
[EnvironmentVariable.SFDX_LAZY_LOAD_MODULES]: {
|
|
230
|
+
description: getMessage(EnvironmentVariable.SFDX_USE_PROGRESS_BAR),
|
|
231
|
+
synonymOf: EnvironmentVariable.SF_LAZY_LOAD_MODULES,
|
|
232
|
+
},
|
|
233
|
+
[EnvironmentVariable.SFDX_S3_HOST]: {
|
|
234
|
+
description: getMessage(EnvironmentVariable.SFDX_S3_HOST),
|
|
235
|
+
synonymOf: EnvironmentVariable.SF_S3_HOST,
|
|
236
|
+
},
|
|
237
|
+
[EnvironmentVariable.SFDX_UPDATE_INSTRUCTIONS]: {
|
|
238
|
+
description: getMessage(EnvironmentVariable.SFDX_UPDATE_INSTRUCTIONS),
|
|
239
|
+
synonymOf: null,
|
|
240
|
+
},
|
|
241
|
+
[EnvironmentVariable.SFDX_INSTALLER]: {
|
|
242
|
+
description: getMessage(EnvironmentVariable.SFDX_INSTALLER),
|
|
243
|
+
synonymOf: null,
|
|
244
|
+
},
|
|
245
|
+
[EnvironmentVariable.SFDX_ENV]: {
|
|
246
|
+
description: getMessage(EnvironmentVariable.SFDX_ENV),
|
|
247
|
+
synonymOf: null,
|
|
248
|
+
},
|
|
219
249
|
[EnvironmentVariable.SF_TARGET_ORG]: {
|
|
220
250
|
description: getMessage(EnvironmentVariable.SF_TARGET_ORG),
|
|
221
251
|
synonymOf: null,
|
|
@@ -321,22 +351,53 @@ exports.SUPPORTED_ENV_VARS = {
|
|
|
321
351
|
description: getMessage(EnvironmentVariable.SF_USE_PROGRESS_BAR),
|
|
322
352
|
synonymOf: null,
|
|
323
353
|
},
|
|
354
|
+
[EnvironmentVariable.SF_LAZY_LOAD_MODULES]: {
|
|
355
|
+
description: getMessage(EnvironmentVariable.SF_LAZY_LOAD_MODULES),
|
|
356
|
+
synonymOf: null,
|
|
357
|
+
},
|
|
358
|
+
[EnvironmentVariable.SF_S3_HOST]: {
|
|
359
|
+
description: getMessage(EnvironmentVariable.SF_S3_HOST),
|
|
360
|
+
synonymOf: null,
|
|
361
|
+
},
|
|
362
|
+
[EnvironmentVariable.SF_UPDATE_INSTRUCTIONS]: {
|
|
363
|
+
description: getMessage(EnvironmentVariable.SF_UPDATE_INSTRUCTIONS),
|
|
364
|
+
synonymOf: null,
|
|
365
|
+
},
|
|
366
|
+
[EnvironmentVariable.SF_INSTALLER]: {
|
|
367
|
+
description: getMessage(EnvironmentVariable.SF_INSTALLER),
|
|
368
|
+
synonymOf: null,
|
|
369
|
+
},
|
|
370
|
+
[EnvironmentVariable.SF_ENV]: {
|
|
371
|
+
description: getMessage(EnvironmentVariable.SF_ENV),
|
|
372
|
+
synonymOf: null,
|
|
373
|
+
},
|
|
324
374
|
};
|
|
325
375
|
class EnvVars extends kit_1.Env {
|
|
326
|
-
constructor() {
|
|
327
|
-
super();
|
|
376
|
+
constructor(env = process.env) {
|
|
377
|
+
super(env);
|
|
328
378
|
this.resolve();
|
|
329
379
|
}
|
|
330
|
-
|
|
380
|
+
static defaultPrefix() {
|
|
381
|
+
if (process.argv[0].startsWith('sfdx'))
|
|
382
|
+
return 'SFDX_';
|
|
383
|
+
if (process.argv[0].startsWith('sf'))
|
|
384
|
+
return 'SF_';
|
|
385
|
+
return 'SFDX_';
|
|
386
|
+
}
|
|
387
|
+
propertyToEnvName(property, prefix = EnvVars.defaultPrefix()) {
|
|
331
388
|
return `${prefix || ''}${(0, change_case_1.snakeCase)(property).toUpperCase()}`;
|
|
332
389
|
}
|
|
333
|
-
setPropertyFromEnv(property, prefix =
|
|
390
|
+
setPropertyFromEnv(property, prefix = EnvVars.defaultPrefix()) {
|
|
334
391
|
const envName = this.propertyToEnvName(property, prefix);
|
|
335
392
|
const value = this.getString(envName);
|
|
336
393
|
if (value) {
|
|
337
394
|
this.setString(property, value);
|
|
338
395
|
}
|
|
339
396
|
}
|
|
397
|
+
getPropertyFromEnv(property, prefix = EnvVars.defaultPrefix()) {
|
|
398
|
+
const envName = this.propertyToEnvName(property, prefix);
|
|
399
|
+
return this.get(envName);
|
|
400
|
+
}
|
|
340
401
|
asDictionary() {
|
|
341
402
|
return this.entries().reduce((accumulator, [key, value]) => {
|
|
342
403
|
accumulator[key] = value;
|
|
@@ -363,6 +424,10 @@ class EnvVars extends kit_1.Env {
|
|
|
363
424
|
}
|
|
364
425
|
});
|
|
365
426
|
}
|
|
427
|
+
get(envName) {
|
|
428
|
+
return this.asDictionary()[envName];
|
|
429
|
+
}
|
|
366
430
|
}
|
|
367
431
|
exports.EnvVars = EnvVars;
|
|
432
|
+
exports.envVars = new EnvVars();
|
|
368
433
|
//# sourceMappingURL=envVars.js.map
|
package/lib/exported.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { OAuth2Config } from 'jsforce';
|
|
2
2
|
export { ConfigFile } from './config/configFile';
|
|
3
|
-
export { EnvironmentVariable, SUPPORTED_ENV_VARS } from './config/envVars';
|
|
3
|
+
export { envVars, EnvironmentVariable, SUPPORTED_ENV_VARS, EnvVars } from './config/envVars';
|
|
4
4
|
export { BaseConfigStore, ConfigContents, ConfigEntry, ConfigStore, ConfigValue } from './config/configStore';
|
|
5
5
|
export { GlobalInfo, SfEntry, SfInfo, SfInfoKeys, SfOrg, SfOrgs, SfToken, SfTokens } from './globalInfo';
|
|
6
6
|
export { DeviceOauthService, DeviceCodeResponse, DeviceCodePollingResponse } from './deviceOauthService';
|
package/lib/exported.js
CHANGED
|
@@ -16,14 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.PermissionSetAssignment = exports.User = exports.REQUIRED_FIELDS = exports.DefaultUserFields = exports.MyDomainResolver = exports.StreamingClient = exports.CometClient = exports.PollingClient = exports.SfdxError = exports.SchemaValidator = exports.SchemaPrinter = exports.SfdxProjectJson = exports.SfdxProject = exports.ORG_CONFIG_ALLOWED_PROPERTIES = exports.OrgConfigProperties = exports.OrgTypes = exports.SandboxEvents = exports.Org = exports.Messages = exports.Logger = exports.LoggerLevel = exports.getJwtAudienceUrl = exports.SfdcUrl = exports.WebOAuthServer = exports.Lifecycle = exports.Global = exports.Mode = exports.SFDX_HTTP_HEADERS = exports.Connection = exports.AuthRemover = exports.AuthInfo = exports.ConfigAggregator = exports.SFDX_ALLOWED_PROPERTIES = exports.SfdxPropertyKeys = exports.Config = exports.OrgUsersConfig = exports.DeviceOauthService = exports.SfInfoKeys = exports.GlobalInfo = exports.BaseConfigStore = exports.SUPPORTED_ENV_VARS = exports.EnvironmentVariable = exports.ConfigFile = void 0;
|
|
19
|
+
exports.PermissionSetAssignment = exports.User = exports.REQUIRED_FIELDS = exports.DefaultUserFields = exports.MyDomainResolver = exports.StreamingClient = exports.CometClient = exports.PollingClient = exports.SfdxError = exports.SchemaValidator = exports.SchemaPrinter = exports.SfdxProjectJson = exports.SfdxProject = exports.ORG_CONFIG_ALLOWED_PROPERTIES = exports.OrgConfigProperties = exports.OrgTypes = exports.SandboxEvents = exports.Org = exports.Messages = exports.Logger = exports.LoggerLevel = exports.getJwtAudienceUrl = exports.SfdcUrl = exports.WebOAuthServer = exports.Lifecycle = exports.Global = exports.Mode = exports.SFDX_HTTP_HEADERS = exports.Connection = exports.AuthRemover = exports.AuthInfo = exports.ConfigAggregator = exports.SFDX_ALLOWED_PROPERTIES = exports.SfdxPropertyKeys = exports.Config = exports.OrgUsersConfig = exports.DeviceOauthService = exports.SfInfoKeys = exports.GlobalInfo = exports.BaseConfigStore = exports.EnvVars = exports.SUPPORTED_ENV_VARS = exports.EnvironmentVariable = exports.envVars = exports.ConfigFile = void 0;
|
|
20
20
|
const messages_1 = require("./messages");
|
|
21
21
|
messages_1.Messages.importMessagesDirectory(__dirname);
|
|
22
22
|
var configFile_1 = require("./config/configFile");
|
|
23
23
|
Object.defineProperty(exports, "ConfigFile", { enumerable: true, get: function () { return configFile_1.ConfigFile; } });
|
|
24
24
|
var envVars_1 = require("./config/envVars");
|
|
25
|
+
Object.defineProperty(exports, "envVars", { enumerable: true, get: function () { return envVars_1.envVars; } });
|
|
25
26
|
Object.defineProperty(exports, "EnvironmentVariable", { enumerable: true, get: function () { return envVars_1.EnvironmentVariable; } });
|
|
26
27
|
Object.defineProperty(exports, "SUPPORTED_ENV_VARS", { enumerable: true, get: function () { return envVars_1.SUPPORTED_ENV_VARS; } });
|
|
28
|
+
Object.defineProperty(exports, "EnvVars", { enumerable: true, get: function () { return envVars_1.EnvVars; } });
|
|
27
29
|
var configStore_1 = require("./config/configStore");
|
|
28
30
|
Object.defineProperty(exports, "BaseConfigStore", { enumerable: true, get: function () { return configStore_1.BaseConfigStore; } });
|
|
29
31
|
var globalInfo_1 = require("./globalInfo");
|
package/messages/envVars.md
CHANGED
|
@@ -12,15 +12,15 @@ Speed of the spinner in milliseconds. Default is 60.
|
|
|
12
12
|
|
|
13
13
|
# httpProxy
|
|
14
14
|
|
|
15
|
-
HTTP URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
15
|
+
HTTP URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
16
16
|
|
|
17
17
|
# httpsProxy
|
|
18
18
|
|
|
19
|
-
HTTPS URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
19
|
+
HTTPS URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
20
20
|
|
|
21
21
|
# nodeExtraCaCerts
|
|
22
22
|
|
|
23
|
-
Fully qualified path to your self-signed certificate. Will be installed after you run "sfdx update".
|
|
23
|
+
Fully qualified path to your self-signed certificate. Will be installed after you run "sfdx update".
|
|
24
24
|
|
|
25
25
|
# nodeTlsRejectUnauthorized
|
|
26
26
|
|
|
@@ -36,7 +36,7 @@ The API version for a specific project or all projects. Default value is the API
|
|
|
36
36
|
|
|
37
37
|
# sfdxAudienceUrl
|
|
38
38
|
|
|
39
|
-
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
39
|
+
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
40
40
|
|
|
41
41
|
# sfdxCodeCoverageRequirement
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Code coverage percentages that are displayed in green when you run force:apex:te
|
|
|
44
44
|
|
|
45
45
|
# sfdxContentType
|
|
46
46
|
|
|
47
|
-
Set to JSON so that all CLI commands output results in JSON format.
|
|
47
|
+
Set to JSON so that all CLI commands output results in JSON format.
|
|
48
48
|
|
|
49
49
|
# sfdxDefaultdevhubusername
|
|
50
50
|
|
|
@@ -56,11 +56,11 @@ Username or alias of your default org. Overrides the defaultusername configurati
|
|
|
56
56
|
|
|
57
57
|
# sfdxDisableAutoupdate
|
|
58
58
|
|
|
59
|
-
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
59
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
60
60
|
|
|
61
61
|
# sfdxAutoupdateDisable
|
|
62
62
|
|
|
63
|
-
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
63
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
64
64
|
|
|
65
65
|
# sfdxDisableSourceMemberPolling
|
|
66
66
|
|
|
@@ -80,7 +80,7 @@ Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom
|
|
|
80
80
|
|
|
81
81
|
# sfdxImprovedCodeCoverage
|
|
82
82
|
|
|
83
|
-
Set to true to scope Apex test results to the classes entered during a test run when running force:apex:test:\*.
|
|
83
|
+
Set to true to scope Apex test results to the classes entered during a test run when running force:apex:test:\*.
|
|
84
84
|
|
|
85
85
|
# sfdxInstanceUrl
|
|
86
86
|
|
|
@@ -134,6 +134,26 @@ Number of seconds you want the force:source:push command to keep polling the Sou
|
|
|
134
134
|
|
|
135
135
|
Set to false to disable the progress bar when running force:mdapi:deploy, force:source:deploy, or force:source:push.
|
|
136
136
|
|
|
137
|
+
# sfdxLazyLoadModules
|
|
138
|
+
|
|
139
|
+
Set to true to enable lazy loading of sfdx modules
|
|
140
|
+
|
|
141
|
+
# sfdxS3Host
|
|
142
|
+
|
|
143
|
+
URL to S3 host
|
|
144
|
+
|
|
145
|
+
# sfdxUpdateInstructions
|
|
146
|
+
|
|
147
|
+
Text that describes how to update sfdx
|
|
148
|
+
|
|
149
|
+
# sfdxInstaller
|
|
150
|
+
|
|
151
|
+
Boolean indicating that the installer is running
|
|
152
|
+
|
|
153
|
+
# sfdxEnv
|
|
154
|
+
|
|
155
|
+
Describes if sfdx is in "demo" mode
|
|
156
|
+
|
|
137
157
|
# sfTargetOrg
|
|
138
158
|
|
|
139
159
|
Username or alias of your default org. Overrides the target-org configuration variable.
|
|
@@ -152,7 +172,7 @@ API version for a specific project or all projects. Default value is the API ver
|
|
|
152
172
|
|
|
153
173
|
# sfAudienceUrl
|
|
154
174
|
|
|
155
|
-
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
175
|
+
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
156
176
|
|
|
157
177
|
# sfCodeCoverageRequirement
|
|
158
178
|
|
|
@@ -160,15 +180,15 @@ Code coverage percentages that are displayed in green when you run the Apex test
|
|
|
160
180
|
|
|
161
181
|
# sfContentType
|
|
162
182
|
|
|
163
|
-
Set to JSON so that all CLI commands output results in JSON format.
|
|
183
|
+
Set to JSON so that all CLI commands output results in JSON format.
|
|
164
184
|
|
|
165
185
|
# sfDisableAutoupdate
|
|
166
186
|
|
|
167
|
-
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
187
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
168
188
|
|
|
169
189
|
# sfAutoupdateDisable
|
|
170
190
|
|
|
171
|
-
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
191
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
172
192
|
|
|
173
193
|
# sfDisableSourceMemberPolling
|
|
174
194
|
|
|
@@ -188,7 +208,7 @@ Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom
|
|
|
188
208
|
|
|
189
209
|
# sfImprovedCodeCoverage
|
|
190
210
|
|
|
191
|
-
Set to true to scope Apex test results to the classes entered during a test run when running the Apex test commands.
|
|
211
|
+
Set to true to scope Apex test results to the classes entered during a test run when running the Apex test commands.
|
|
192
212
|
|
|
193
213
|
# sfInstanceUrl
|
|
194
214
|
|
|
@@ -237,3 +257,23 @@ Number of seconds you want the source push command to keep polling the SourceMem
|
|
|
237
257
|
# sfUseProgressBar
|
|
238
258
|
|
|
239
259
|
Set to false to disable the progress bar when running the metadata deploy command.
|
|
260
|
+
|
|
261
|
+
# sfLazyLoadModules
|
|
262
|
+
|
|
263
|
+
Set to true to enable lazy loading of sf modules
|
|
264
|
+
|
|
265
|
+
# sfS3Host
|
|
266
|
+
|
|
267
|
+
URL to S3 host
|
|
268
|
+
|
|
269
|
+
# sfUpdateInstructions
|
|
270
|
+
|
|
271
|
+
Text that describes how to update sf
|
|
272
|
+
|
|
273
|
+
# sfInstaller
|
|
274
|
+
|
|
275
|
+
Boolean indicating that the installer is running
|
|
276
|
+
|
|
277
|
+
# sfEnv
|
|
278
|
+
|
|
279
|
+
Describes if sf is in "demo" mode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.5",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"!lib/**/*.map"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"@oclif/core": "^1.3.1",
|
|
37
38
|
"@salesforce/bunyan": "^2.0.0",
|
|
38
39
|
"@salesforce/kit": "^1.5.28",
|
|
39
40
|
"@salesforce/schemas": "^1.1.0",
|