@salesforce/plugin-auth 3.0.15 → 3.1.0
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/LICENSE.txt +1 -1
- package/README.md +8 -8
- package/lib/commands/org/login/device.d.ts +1 -0
- package/lib/commands/org/login/device.js +1 -0
- package/lib/commands/org/login/device.js.map +1 -1
- package/lib/commands/org/login/jwt.d.ts +1 -0
- package/lib/commands/org/login/jwt.js +1 -0
- package/lib/commands/org/login/jwt.js.map +1 -1
- package/lib/commands/org/login/sfdx-url.d.ts +1 -0
- package/lib/commands/org/login/sfdx-url.js +1 -0
- package/lib/commands/org/login/sfdx-url.js.map +1 -1
- package/lib/commands/org/login/web.d.ts +1 -1
- package/lib/commands/org/login/web.js.map +1 -1
- package/messages/jwt.grant.md +1 -1
- package/oclif.lock +19 -77
- package/oclif.manifest.json +5 -2
- package/package.json +6 -6
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ EXAMPLES
|
|
|
107
107
|
$ sf org list auth
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
110
|
+
_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/list/auth.ts)_
|
|
111
111
|
|
|
112
112
|
## `sf org login access-token`
|
|
113
113
|
|
|
@@ -160,7 +160,7 @@ FLAG DESCRIPTIONS
|
|
|
160
160
|
To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
163
|
+
_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/login/access-token.ts)_
|
|
164
164
|
|
|
165
165
|
## `sf org login device`
|
|
166
166
|
|
|
@@ -219,7 +219,7 @@ FLAG DESCRIPTIONS
|
|
|
219
219
|
To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
222
|
+
_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/login/device.ts)_
|
|
223
223
|
|
|
224
224
|
## `sf org login jwt`
|
|
225
225
|
|
|
@@ -275,7 +275,7 @@ ALIASES
|
|
|
275
275
|
$ sf auth jwt grant
|
|
276
276
|
|
|
277
277
|
EXAMPLES
|
|
278
|
-
Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.
|
|
278
|
+
Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.com). The
|
|
279
279
|
private key is stored in the file /Users/jdoe/JWT/server.key and the command uses the connected app with consumer
|
|
280
280
|
key (client id) 04580y4051234051.
|
|
281
281
|
|
|
@@ -308,7 +308,7 @@ FLAG DESCRIPTIONS
|
|
|
308
308
|
To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
311
|
+
_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/login/jwt.ts)_
|
|
312
312
|
|
|
313
313
|
## `sf org login sfdx-url`
|
|
314
314
|
|
|
@@ -366,7 +366,7 @@ EXAMPLES
|
|
|
366
366
|
$ sf org login sfdx-url --sfdx-url-file files/authFile.json --set-default --alias MyDefaultOrg
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
369
|
+
_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/login/sfdx-url.ts)_
|
|
370
370
|
|
|
371
371
|
## `sf org login web`
|
|
372
372
|
|
|
@@ -451,7 +451,7 @@ FLAG DESCRIPTIONS
|
|
|
451
451
|
To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
452
452
|
```
|
|
453
453
|
|
|
454
|
-
_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
454
|
+
_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/login/web.ts)_
|
|
455
455
|
|
|
456
456
|
## `sf org logout`
|
|
457
457
|
|
|
@@ -511,6 +511,6 @@ FLAG DESCRIPTIONS
|
|
|
511
511
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
512
512
|
```
|
|
513
513
|
|
|
514
|
-
_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.0
|
|
514
|
+
_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.1.0/src/commands/org/logout.ts)_
|
|
515
515
|
|
|
516
516
|
<!-- commandsstop -->
|
|
@@ -8,6 +8,7 @@ export default class LoginDevice extends AuthBaseCommand<DeviceLoginResult> {
|
|
|
8
8
|
static readonly description: string;
|
|
9
9
|
static readonly examples: string[];
|
|
10
10
|
static aliases: string[];
|
|
11
|
+
static readonly deprecateAliases = true;
|
|
11
12
|
static readonly flags: {
|
|
12
13
|
'client-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
14
|
'instance-url': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("url").URL | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
@@ -17,6 +17,7 @@ export default class LoginDevice extends AuthBaseCommand {
|
|
|
17
17
|
static description = messages.getMessage('description');
|
|
18
18
|
static examples = messages.getMessages('examples');
|
|
19
19
|
static aliases = ['force:auth:device:login', 'auth:device:login'];
|
|
20
|
+
static deprecateAliases = true;
|
|
20
21
|
static flags = {
|
|
21
22
|
'client-id': Flags.string({
|
|
22
23
|
char: 'i',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../../../src/commands/org/login/device.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../../../src/commands/org/login/device.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAc,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,EAAgB,MAAM,kBAAkB,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,cAAc,CAAC,CAAC;AAClF,MAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAIpF,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,eAAkC;IAClE,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UA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,CAAC,CAAC;QACzE,IAAI,QAAQ,EAAE,CAAC;YACb,MAAM,QAAQ,GAAG,MAAM,kBAAkB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YACrE,MAAM,QAAQ,CAAC,6BAA6B,CAAC;gBAC3C,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;gBAChC,gBAAgB,EAAE,KAAK,CAAC,qBAAqB,CAAC;aAC/C,CAAC,CAAC;YACH,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACxC,MAAM,QAAQ,CAAC,2BAA2B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;YAC7D,MAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAC5B,OAAO,EAAE,GAAG,MAAM,EAAE,GAAG,SAAS,EAAE,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC"}
|
|
@@ -7,6 +7,7 @@ export default class LoginJwt extends AuthBaseCommand<AuthFields> {
|
|
|
7
7
|
static readonly description: string;
|
|
8
8
|
static readonly examples: string[];
|
|
9
9
|
static aliases: string[];
|
|
10
|
+
static readonly deprecateAliases = true;
|
|
10
11
|
static readonly flags: {
|
|
11
12
|
username: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
12
13
|
'jwt-key-file': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
@@ -16,6 +16,7 @@ export default class LoginJwt extends AuthBaseCommand {
|
|
|
16
16
|
static description = messages.getMessage('description');
|
|
17
17
|
static examples = messages.getMessages('examples');
|
|
18
18
|
static aliases = ['force:auth:jwt:grant', 'auth:jwt:grant'];
|
|
19
|
+
static deprecateAliases = true;
|
|
19
20
|
static flags = {
|
|
20
21
|
username: Flags.string({
|
|
21
22
|
char: 'o',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.js","sourceRoot":"","sources":["../../../../src/commands/org/login/jwt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"jwt.js","sourceRoot":"","sources":["../../../../src/commands/org/login/jwt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAc,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAW,MAAM,kBAAkB,CAAC;AAEhG,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,WAAW,CAAC,CAAC;AAC/E,MAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAEpF,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,eAA2B;IACxD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,CAAC,OAAO,GAAG,CAAC,sBAAsB,EAAE,gBAAgB,CAAC,CAAC;IAC5D,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;IAExC,MAAM,CAAU,KAAK,GAAG;QAC7B,QAAQ,EAAE,KAAK,CA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AE,CAAC;YACf,MAAM,GAAG,GAAG,KAAgB,CAAC;YAC7B,IAAI,GAAG,CAAC,IAAI,KAAK,wBAAwB,EAAE,CAAC;gBAC1C,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;gBAC5E,MAAM,OAAO,GAAG,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC;gBAC3C,MAAM,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;gBAC9C,QAAQ,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;oBAC/B,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ;oBAC7B,aAAa;iBACd,CAAC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACN,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACtB,OAAO,QAAQ,CAAC;IAClB,CAAC"}
|
|
@@ -5,6 +5,7 @@ export default class LoginSfdxUrl extends AuthBaseCommand<AuthFields> {
|
|
|
5
5
|
static readonly description: string;
|
|
6
6
|
static readonly examples: string[];
|
|
7
7
|
static aliases: string[];
|
|
8
|
+
static readonly deprecateAliases = true;
|
|
8
9
|
static readonly flags: {
|
|
9
10
|
'sfdx-url-file': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
11
|
'set-default-dev-hub': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
@@ -18,6 +18,7 @@ export default class LoginSfdxUrl extends AuthBaseCommand {
|
|
|
18
18
|
static description = messages.getMessage('description', [AUTH_URL_FORMAT]);
|
|
19
19
|
static examples = messages.getMessages('examples');
|
|
20
20
|
static aliases = ['force:auth:sfdxurl:store', 'auth:sfdxurl:store'];
|
|
21
|
+
static deprecateAliases = true;
|
|
21
22
|
static flags = {
|
|
22
23
|
'sfdx-url-file': Flags.file({
|
|
23
24
|
char: 'f',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sfdx-url.js","sourceRoot":"","sources":["../../../../src/commands/org/login/sfdx-url.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"sfdx-url.js","sourceRoot":"","sources":["../../../../src/commands/org/login/sfdx-url.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAc,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,eAAe,CAAC,CAAC;AACnF,MAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAEpF,MAAM,eAAe,GAAG,gEAAgE,CAAC;AAMzF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,eAA2B;IAC5D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IACpF,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,CAAC,OAAO,GAAG,CAAC,0BAA0B,EAAE,oBAAoB,CAAC,CAAC;IACpE,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;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AC5B,OAAO,MAAM,CAAC;IAChB,CAAC;;AAGH,MAAM,cAAc,GAAG,KAAK,EAAE,QAAgB,EAAmB,EAAE;IACjE,MAAM,YAAY,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACzD,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAa,CAAC;IACzD,OAAO,YAAY,CAAC,MAAM,EAAE,WAAW,IAAI,YAAY,CAAC,WAAW,CAAC;AACtE,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export default class LoginWeb extends AuthBaseCommand<AuthFields> {
|
|
|
7
7
|
static readonly description: string;
|
|
8
8
|
static readonly examples: string[];
|
|
9
9
|
static readonly deprecateAliases = true;
|
|
10
|
-
static aliases: string[];
|
|
10
|
+
static readonly aliases: string[];
|
|
11
11
|
static readonly flags: {
|
|
12
12
|
browser: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
13
13
|
'client-id': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../../../src/commands/org/login/web.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../../../src/commands/org/login/web.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,IAAI,EAAE,EAAE,IAAI,EAAW,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAc,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAgB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjH,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAA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C,mBAAmB,EAAE,EAAE,WAAW,CAAC,CAAC;QAC3D,OAAO,WAAW,CAAC,gBAAgB,EAAE,CAAC;IACxC,CAAC;;AAGH,MAAM,mBAAmB,GAAG,GAAY,EAAE;IACxC,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;IACtB,OAAO,GAAG,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;AAC/C,CAAC,CAAC"}
|
package/messages/jwt.grant.md
CHANGED
|
@@ -20,7 +20,7 @@ We recommend that you set an alias when you log into an org. Aliases make it eas
|
|
|
20
20
|
|
|
21
21
|
# examples
|
|
22
22
|
|
|
23
|
-
- Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.
|
|
23
|
+
- Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.com). The private key is stored in the file /Users/jdoe/JWT/server.key and the command uses the connected app with consumer key (client id) 04580y4051234051.
|
|
24
24
|
|
|
25
25
|
<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051
|
|
26
26
|
|
package/oclif.lock
CHANGED
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
wordwrap "^1.0.0"
|
|
739
739
|
wrap-ansi "^7.0.0"
|
|
740
740
|
|
|
741
|
-
"@oclif/core@^3.0.4", "@oclif/core@^3.
|
|
741
|
+
"@oclif/core@^3.0.4", "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.3.1":
|
|
742
742
|
version "3.15.1"
|
|
743
743
|
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.15.1.tgz#e03fa775d658e76056150ac0c7b8097b6f51ab9c"
|
|
744
744
|
integrity sha512-d4457zVo2agLoJG97CmdY6M3BeP5sogBP3BtP65hUvJH6wA6Us1hdY3UiPPtD/ZzZImq7cATVMABuCF9tM+rWA==
|
|
@@ -771,12 +771,12 @@
|
|
|
771
771
|
wordwrap "^1.0.0"
|
|
772
772
|
wrap-ansi "^7.0.0"
|
|
773
773
|
|
|
774
|
-
"@oclif/plugin-command-snapshot@^5.0.
|
|
775
|
-
version "5.0.
|
|
776
|
-
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.
|
|
777
|
-
integrity sha512-
|
|
774
|
+
"@oclif/plugin-command-snapshot@^5.0.5":
|
|
775
|
+
version "5.0.5"
|
|
776
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.5.tgz#8594869b2e70c5703041d810b7c6515dcd179494"
|
|
777
|
+
integrity sha512-rv+1DVDRJQhD6BXQ1rA7ZZRiXroqDEyfnuIdWLlELxmyENH5askz6q+PeY0GDIAGbIlGCsTv84B3rPk1qsMqRA==
|
|
778
778
|
dependencies:
|
|
779
|
-
"@oclif/core" "^3.
|
|
779
|
+
"@oclif/core" "^3.15.0"
|
|
780
780
|
"@types/lodash.difference" "^4.5.9"
|
|
781
781
|
chalk "^5.3.0"
|
|
782
782
|
just-diff "^5.2.0"
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
lodash.get "^4.4.2"
|
|
785
785
|
lodash.sortby "^4.7.0"
|
|
786
786
|
semver "^7.5.4"
|
|
787
|
-
ts-json-schema-generator "^1.
|
|
787
|
+
ts-json-schema-generator "^1.5.0"
|
|
788
788
|
|
|
789
789
|
"@oclif/plugin-help@^5.2.14":
|
|
790
790
|
version "5.2.14"
|
|
@@ -963,10 +963,10 @@
|
|
|
963
963
|
resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
|
|
964
964
|
integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==
|
|
965
965
|
|
|
966
|
-
"@salesforce/dev-scripts@^8.
|
|
967
|
-
version "8.
|
|
968
|
-
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.
|
|
969
|
-
integrity sha512-
|
|
966
|
+
"@salesforce/dev-scripts@^8.2.0":
|
|
967
|
+
version "8.2.0"
|
|
968
|
+
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.2.0.tgz#e8ca6fd377b0e85ecf88baea727493a68c2154ee"
|
|
969
|
+
integrity sha512-dzVBmetyBe8IM1XJCBw83U5rC0TSwvXa1MPRRI0pmE/VeBqlfxM7rneKtlORCirz9n8SAvCiQvI4oJ/yWW5Quw==
|
|
970
970
|
dependencies:
|
|
971
971
|
"@commitlint/cli" "^17.1.2"
|
|
972
972
|
"@commitlint/config-conventional" "^17.8.1"
|
|
@@ -1550,11 +1550,6 @@ ansi-colors@4.1.1:
|
|
|
1550
1550
|
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
|
|
1551
1551
|
integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==
|
|
1552
1552
|
|
|
1553
|
-
ansi-escapes@^3.1.0:
|
|
1554
|
-
version "3.2.0"
|
|
1555
|
-
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
|
|
1556
|
-
integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
|
|
1557
|
-
|
|
1558
1553
|
ansi-escapes@^4.2.1, ansi-escapes@^4.3.2:
|
|
1559
1554
|
version "4.3.2"
|
|
1560
1555
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
|
|
@@ -2526,17 +2521,6 @@ create-require@^1.1.0:
|
|
|
2526
2521
|
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
|
|
2527
2522
|
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
|
|
2528
2523
|
|
|
2529
|
-
cross-spawn@^6.0.5:
|
|
2530
|
-
version "6.0.5"
|
|
2531
|
-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
|
|
2532
|
-
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
|
|
2533
|
-
dependencies:
|
|
2534
|
-
nice-try "^1.0.4"
|
|
2535
|
-
path-key "^2.0.1"
|
|
2536
|
-
semver "^5.5.0"
|
|
2537
|
-
shebang-command "^1.2.0"
|
|
2538
|
-
which "^1.2.9"
|
|
2539
|
-
|
|
2540
2524
|
cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
|
2541
2525
|
version "7.0.3"
|
|
2542
2526
|
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
|
@@ -5436,11 +5420,6 @@ neo-async@^2.6.2:
|
|
|
5436
5420
|
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
|
|
5437
5421
|
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
|
|
5438
5422
|
|
|
5439
|
-
nice-try@^1.0.4:
|
|
5440
|
-
version "1.0.5"
|
|
5441
|
-
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
|
|
5442
|
-
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
|
|
5443
|
-
|
|
5444
5423
|
nise@^1.3.3:
|
|
5445
5424
|
version "1.5.3"
|
|
5446
5425
|
resolved "https://registry.yarnpkg.com/nise/-/nise-1.5.3.tgz#9d2cfe37d44f57317766c6e9408a359c5d3ac1f7"
|
|
@@ -6003,15 +5982,7 @@ pascal-case@^3.1.2:
|
|
|
6003
5982
|
no-case "^3.0.4"
|
|
6004
5983
|
tslib "^2.0.3"
|
|
6005
5984
|
|
|
6006
|
-
password-prompt@^1.1.2:
|
|
6007
|
-
version "1.1.2"
|
|
6008
|
-
resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.2.tgz#85b2f93896c5bd9e9f2d6ff0627fa5af3dc00923"
|
|
6009
|
-
integrity sha512-bpuBhROdrhuN3E7G/koAju0WjVw9/uQOG5Co5mokNj0MiOSBVZS1JTwM4zl55hu0WFmIEFvO9cU9sJQiBIYeIA==
|
|
6010
|
-
dependencies:
|
|
6011
|
-
ansi-escapes "^3.1.0"
|
|
6012
|
-
cross-spawn "^6.0.5"
|
|
6013
|
-
|
|
6014
|
-
password-prompt@^1.1.3:
|
|
5985
|
+
password-prompt@^1.1.2, password-prompt@^1.1.3:
|
|
6015
5986
|
version "1.1.3"
|
|
6016
5987
|
resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.3.tgz#05e539f4e7ca4d6c865d479313f10eb9db63ee5f"
|
|
6017
5988
|
integrity sha512-HkrjG2aJlvF0t2BMH0e2LB/EHf3Lcq3fNMzy4GYHcQblAvOl+QQji1Lx7WRBMqpVK8p+KR7bCg7oqAMXtdgqyw==
|
|
@@ -6037,11 +6008,6 @@ path-is-absolute@^1.0.0:
|
|
|
6037
6008
|
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
|
6038
6009
|
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
|
|
6039
6010
|
|
|
6040
|
-
path-key@^2.0.1:
|
|
6041
|
-
version "2.0.1"
|
|
6042
|
-
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
|
|
6043
|
-
integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==
|
|
6044
|
-
|
|
6045
6011
|
path-key@^3.0.0, path-key@^3.1.0:
|
|
6046
6012
|
version "3.1.1"
|
|
6047
6013
|
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
|
|
@@ -6662,7 +6628,7 @@ secure-json-parse@^2.4.0:
|
|
|
6662
6628
|
resolved "https://registry.yarnpkg.com/secure-json-parse/-/secure-json-parse-2.7.0.tgz#5a5f9cd6ae47df23dba3151edd06855d47e09862"
|
|
6663
6629
|
integrity sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==
|
|
6664
6630
|
|
|
6665
|
-
"semver@2 || 3 || 4 || 5"
|
|
6631
|
+
"semver@2 || 3 || 4 || 5":
|
|
6666
6632
|
version "5.7.2"
|
|
6667
6633
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
|
|
6668
6634
|
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
|
|
@@ -6741,13 +6707,6 @@ setimmediate@^1.0.5:
|
|
|
6741
6707
|
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
|
|
6742
6708
|
integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==
|
|
6743
6709
|
|
|
6744
|
-
shebang-command@^1.2.0:
|
|
6745
|
-
version "1.2.0"
|
|
6746
|
-
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
|
|
6747
|
-
integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==
|
|
6748
|
-
dependencies:
|
|
6749
|
-
shebang-regex "^1.0.0"
|
|
6750
|
-
|
|
6751
6710
|
shebang-command@^2.0.0:
|
|
6752
6711
|
version "2.0.0"
|
|
6753
6712
|
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
|
|
@@ -6755,11 +6714,6 @@ shebang-command@^2.0.0:
|
|
|
6755
6714
|
dependencies:
|
|
6756
6715
|
shebang-regex "^3.0.0"
|
|
6757
6716
|
|
|
6758
|
-
shebang-regex@^1.0.0:
|
|
6759
|
-
version "1.0.0"
|
|
6760
|
-
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
|
|
6761
|
-
integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==
|
|
6762
|
-
|
|
6763
6717
|
shebang-regex@^3.0.0:
|
|
6764
6718
|
version "3.0.0"
|
|
6765
6719
|
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
|
@@ -7267,10 +7221,10 @@ ts-api-utils@^1.0.1:
|
|
|
7267
7221
|
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331"
|
|
7268
7222
|
integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==
|
|
7269
7223
|
|
|
7270
|
-
ts-json-schema-generator@^1.
|
|
7271
|
-
version "1.
|
|
7272
|
-
resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-1.
|
|
7273
|
-
integrity sha512-
|
|
7224
|
+
ts-json-schema-generator@^1.5.0:
|
|
7225
|
+
version "1.5.0"
|
|
7226
|
+
resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-1.5.0.tgz#9f5cea606c27ebcf13060157542ac1d3b225430f"
|
|
7227
|
+
integrity sha512-RkiaJ6YxGc5EWVPfyHxszTmpGxX8HC2XBvcFlAl1zcvpOG4tjjh+eXioStXJQYTvr9MoK8zCOWzAUlko3K0DiA==
|
|
7274
7228
|
dependencies:
|
|
7275
7229
|
"@types/json-schema" "^7.0.12"
|
|
7276
7230
|
commander "^11.0.0"
|
|
@@ -7278,7 +7232,7 @@ ts-json-schema-generator@^1.4.0:
|
|
|
7278
7232
|
json5 "^2.2.3"
|
|
7279
7233
|
normalize-path "^3.0.0"
|
|
7280
7234
|
safe-stable-stringify "^2.4.3"
|
|
7281
|
-
typescript "~5.
|
|
7235
|
+
typescript "~5.3.2"
|
|
7282
7236
|
|
|
7283
7237
|
ts-node@^10.8.1, ts-node@^10.9.1, ts-node@^10.9.2:
|
|
7284
7238
|
version "10.9.2"
|
|
@@ -7439,16 +7393,11 @@ typescript@^4.6.4, typescript@^4.9.5:
|
|
|
7439
7393
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
|
|
7440
7394
|
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
|
7441
7395
|
|
|
7442
|
-
typescript@^5.3.3:
|
|
7396
|
+
typescript@^5.3.3, typescript@~5.3.2:
|
|
7443
7397
|
version "5.3.3"
|
|
7444
7398
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
|
|
7445
7399
|
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
|
|
7446
7400
|
|
|
7447
|
-
typescript@~5.2.2:
|
|
7448
|
-
version "5.2.2"
|
|
7449
|
-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
|
|
7450
|
-
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
|
|
7451
|
-
|
|
7452
7401
|
uglify-js@^3.1.4:
|
|
7453
7402
|
version "3.17.4"
|
|
7454
7403
|
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"
|
|
@@ -7720,13 +7669,6 @@ which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2:
|
|
|
7720
7669
|
gopd "^1.0.1"
|
|
7721
7670
|
has-tostringtag "^1.0.0"
|
|
7722
7671
|
|
|
7723
|
-
which@^1.2.9:
|
|
7724
|
-
version "1.3.1"
|
|
7725
|
-
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
|
|
7726
|
-
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
|
|
7727
|
-
dependencies:
|
|
7728
|
-
isexe "^2.0.0"
|
|
7729
|
-
|
|
7730
7672
|
which@^2.0.1, which@^2.0.2:
|
|
7731
7673
|
version "2.0.2"
|
|
7732
7674
|
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
|
package/oclif.manifest.json
CHANGED
|
@@ -322,6 +322,7 @@
|
|
|
322
322
|
"auth:device:login"
|
|
323
323
|
],
|
|
324
324
|
"args": {},
|
|
325
|
+
"deprecateAliases": true,
|
|
325
326
|
"description": "Use this command to allow a device to connect to an org.\n\nWhen you run this command, it first displays an 8-digit device code and the URL for verifying the code on your org. The default instance URL is https://login.salesforce.com, so if the org you're authorizing is on a different instance, use the --instance-url. The command waits while you complete the verification. Open a browser and navigate to the displayed verification URL, enter the code, then click Connect. If you aren't already logged into your org, log in, and then you're prompted to allow the device to connect to the org. After you successfully authorize the org, you can close the browser window.",
|
|
326
327
|
"examples": [
|
|
327
328
|
"Authorize an org using a device code, give the org the alias TestOrg1, and set it as your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --set-default-dev-hub --alias TestOrg1",
|
|
@@ -481,9 +482,10 @@
|
|
|
481
482
|
"auth:jwt:grant"
|
|
482
483
|
],
|
|
483
484
|
"args": {},
|
|
485
|
+
"deprecateAliases": true,
|
|
484
486
|
"description": "Use this command in automated environments where you can’t interactively log in with a browser, such as in CI/CD scripts.\n\nLogging into an org authorizes the CLI to run other commands that connect to that org, such as deploying or retrieving a project. You can log into many types of orgs, such as sandboxes, Dev Hubs, Env Hubs, production orgs, and scratch orgs.\n\nComplete these steps before you run this command:\n\n 1. Create a digital certificate (also called digital signature) and the private key to sign the certificate. You can use your own key and certificate issued by a certification authority. Or use OpenSSL to create a key and a self-signed digital certificate.\n 2. Store the private key in a file on your computer. When you run this command, you set the --jwt-key-file flag to this file.\n 3. Create a custom connected app in your org using the digital certificate. Make note of the consumer key (also called client id) that’s generated for you. Be sure the username of the user logging in is approved to use the connected app. When you run this command, you set the --client-id flag to the consumer key.\n\nSee https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_jwt_flow.htm for more information.\n\nWe recommend that you set an alias when you log into an org. Aliases make it easy to later reference this org when running commands that require it. If you don’t set an alias, you use the username that you specified when you logged in to the org. If you run multiple commands that reference the same org, consider setting the org as your default. Use --set-default for your default scratch org or sandbox, or --set-default-dev-hub for your default Dev Hub.",
|
|
485
487
|
"examples": [
|
|
486
|
-
"Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.
|
|
488
|
+
"Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.com). The private key is stored in the file /Users/jdoe/JWT/server.key and the command uses the connected app with consumer key (client id) 04580y4051234051.\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051",
|
|
487
489
|
"Set the org as the default and give it an alias:\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051 --alias ci-org --set-default",
|
|
488
490
|
"Set the org as the default Dev Hub and give it an alias:\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051 --alias ci-dev-hub --set-default-dev-hub",
|
|
489
491
|
"Log in to a sandbox using URL https://MyDomainName--SandboxName.sandbox.my.salesforce.com:\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051 --alias ci-org --set-default --instance-url https://MyDomainName--SandboxName.sandbox.my.salesforce.com"
|
|
@@ -673,6 +675,7 @@
|
|
|
673
675
|
"auth:sfdxurl:store"
|
|
674
676
|
],
|
|
675
677
|
"args": {},
|
|
678
|
+
"deprecateAliases": true,
|
|
676
679
|
"description": "The Salesforce DX (SFDX) authorization URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX authorization URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX authorization URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the authorization file. The easiest option is to redirect the output of the \"<%= config.bin %> org display --verbose --json\" command into a file. For example, using an org with alias my-org that you've already authorized:\n\n $ <%= config.bin %> org display --target-org my-org --verbose --json > authFile.json\n\nThe resulting JSON file contains the URL in the \"sfdxAuthUrl\" property of the \"result\" object. You can then reference the file when running this command:\n\n $ <%= config.bin %> <%= command.id %> --sfdx-url-file authFile.json\n\nNOTE: The \"<%= config.bin %> org display --verbose\" command displays the refresh token only for orgs authorized with the web server flow, and not the JWT bearer flow.\n\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the authorization URL. Finally, you can create a normal text file that includes just the URL and nothing else.",
|
|
677
680
|
"examples": [
|
|
678
681
|
"Authorize an org using the SFDX authorization URL in the files/authFile.json file:\n<%= config.bin %> <%= command.id %> --sfdx-url-file files/authFile.json",
|
|
@@ -1007,5 +1010,5 @@
|
|
|
1007
1010
|
]
|
|
1008
1011
|
}
|
|
1009
1012
|
},
|
|
1010
|
-
"version": "3.0
|
|
1013
|
+
"version": "3.1.0"
|
|
1011
1014
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-auth",
|
|
3
3
|
"description": "plugin for sf auth commands",
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"open": "^9.1.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@oclif/plugin-command-snapshot": "^5.0.
|
|
17
|
+
"@oclif/plugin-command-snapshot": "^5.0.5",
|
|
18
18
|
"@salesforce/cli-plugins-testkit": "^5.1.3",
|
|
19
|
-
"@salesforce/dev-scripts": "^8.
|
|
19
|
+
"@salesforce/dev-scripts": "^8.2.0",
|
|
20
20
|
"@salesforce/plugin-command-reference": "^3.0.58",
|
|
21
21
|
"@salesforce/ts-sinon": "^1.4.19",
|
|
22
22
|
"eslint-plugin-sf-plugin": "^1.17.0",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"output": []
|
|
220
220
|
},
|
|
221
221
|
"link-check": {
|
|
222
|
-
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
222
|
+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
223
223
|
"files": [
|
|
224
224
|
"./*.md",
|
|
225
225
|
"./!(CHANGELOG).md",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"exports": "./lib/index.js",
|
|
232
232
|
"type": "module",
|
|
233
233
|
"sfdx": {
|
|
234
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.0.
|
|
235
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.0.
|
|
234
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.1.0.crt",
|
|
235
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.1.0.sig"
|
|
236
236
|
}
|
|
237
237
|
}
|