Skip to content

Commit db254e2

Browse files
authored
feat: bump sf-plugins-core (#912)
* feat: bump sf-plugins-core * chore: format
1 parent b4b5401 commit db254e2

File tree

6 files changed

+88
-73
lines changed

6 files changed

+88
-73
lines changed

README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Assign a permission set to one or more users of a scratch org.
101101

102102
```
103103
USAGE
104-
$ sf org assign permset -n <value> -o <value> [--json] [-b <value>] [--api-version <value>]
104+
$ sf org assign permset -n <value> -o <value> [--json] [--flags-dir <value>] [-b <value>] [--api-version <value>]
105105
106106
FLAGS
107107
-b, --on-behalf-of=<value>... Username or alias to assign the permission set to.
@@ -110,7 +110,8 @@ FLAGS
110110
--api-version=<value> Override the api version used for api requests made by this command
111111
112112
GLOBAL FLAGS
113-
--json Format output as json.
113+
--flags-dir=<value> Import flag values from a directory.
114+
--json Format output as json.
114115
115116
DESCRIPTION
116117
Assign a permission set to one or more users of a scratch org.
@@ -144,7 +145,8 @@ Assign a permission set license to one or more users of a scratch org.
144145

145146
```
146147
USAGE
147-
$ sf org assign permsetlicense -n <value> -o <value> [--json] [-b <value>] [--api-version <value>]
148+
$ sf org assign permsetlicense -n <value> -o <value> [--json] [--flags-dir <value>] [-b <value>] [--api-version
149+
<value>]
148150
149151
FLAGS
150152
-b, --on-behalf-of=<value>... Usernames or alias to assign the permission set license to.
@@ -153,7 +155,8 @@ FLAGS
153155
--api-version=<value> Override the api version used for api requests made by this command
154156
155157
GLOBAL FLAGS
156-
--json Format output as json.
158+
--flags-dir=<value> Import flag values from a directory.
159+
--json Format output as json.
157160
158161
DESCRIPTION
159162
Assign a permission set license to one or more users of a scratch org.
@@ -188,7 +191,8 @@ Create a user for a scratch org.
188191

189192
```
190193
USAGE
191-
$ sf org create user -o <value> [--json] [-a <value>] [-f <value>] [-s] [--api-version <value>]
194+
$ sf org create user -o <value> [--json] [--flags-dir <value>] [-a <value>] [-f <value>] [-s] [--api-version
195+
<value>]
192196
193197
FLAGS
194198
-a, --set-alias=<value> Set an alias for the created username to reference in other CLI commands.
@@ -200,7 +204,8 @@ FLAGS
200204
--api-version=<value> Override the api version used for api requests made by this command
201205
202206
GLOBAL FLAGS
203-
--json Format output as json.
207+
--flags-dir=<value> Import flag values from a directory.
208+
--json Format output as json.
204209
205210
DESCRIPTION
206211
Create a user for a scratch org.
@@ -294,15 +299,16 @@ Display information about a Salesforce user.
294299

295300
```
296301
USAGE
297-
$ sf org display user -o <value> [--json] [--api-version <value>]
302+
$ sf org display user -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
298303
299304
FLAGS
300305
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
301306
configuration variable is already set.
302307
--api-version=<value> Override the api version used for api requests made by this command
303308
304309
GLOBAL FLAGS
305-
--json Format output as json.
310+
--flags-dir=<value> Import flag values from a directory.
311+
--json Format output as json.
306312
307313
DESCRIPTION
308314
Display information about a Salesforce user.
@@ -332,7 +338,8 @@ Generate a random password for scratch org users.
332338

333339
```
334340
USAGE
335-
$ sf org generate password -o <value> [--json] [-b <value>] [-l <value>] [-c <value>] [--api-version <value>]
341+
$ sf org generate password -o <value> [--json] [--flags-dir <value>] [-b <value>] [-l <value>] [-c <value>]
342+
[--api-version <value>]
336343
337344
FLAGS
338345
-b, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to; must have been
@@ -346,7 +353,8 @@ FLAGS
346353
--api-version=<value> Override the api version used for api requests made by this command
347354
348355
GLOBAL FLAGS
349-
--json Format output as json.
356+
--flags-dir=<value> Import flag values from a directory.
357+
--json Format output as json.
350358
351359
DESCRIPTION
352360
Generate a random password for scratch org users.
@@ -397,15 +405,16 @@ List all locally-authenticated users of an org.
397405

398406
```
399407
USAGE
400-
$ sf org list users -o <value> [--json] [--api-version <value>]
408+
$ sf org list users -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
401409
402410
FLAGS
403411
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
404412
configuration variable is already set.
405413
--api-version=<value> Override the api version used for api requests made by this command
406414
407415
GLOBAL FLAGS
408-
--json Format output as json.
416+
--flags-dir=<value> Import flag values from a directory.
417+
--json Format output as json.
409418
410419
DESCRIPTION
411420
List all locally-authenticated users of an org.

command-snapshot.json

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,71 +4,80 @@
44
"command": "force:user:password:generate",
55
"flagAliases": ["apiversion", "onbehalfof", "targetusername"],
66
"flagChars": ["c", "l", "o", "u"],
7-
"flags": ["api-version", "complexity", "json", "length", "loglevel", "on-behalf-of", "target-org"],
7+
"flags": ["api-version", "complexity", "flags-dir", "json", "length", "loglevel", "on-behalf-of", "target-org"],
88
"plugin": "@salesforce/plugin-user"
99
},
1010
{
1111
"alias": [],
1212
"command": "force:user:permset:assign",
1313
"flagAliases": ["apiversion", "onbehalfof", "permsetname", "targetusername"],
1414
"flagChars": ["n", "o", "u"],
15-
"flags": ["api-version", "json", "loglevel", "on-behalf-of", "perm-set-name", "target-org"],
15+
"flags": ["api-version", "flags-dir", "json", "loglevel", "on-behalf-of", "perm-set-name", "target-org"],
1616
"plugin": "@salesforce/plugin-user"
1717
},
1818
{
1919
"alias": [],
2020
"command": "force:user:permsetlicense:assign",
2121
"flagAliases": ["apiversion", "onbehalfof", "perm-set-license", "psl", "targetusername"],
2222
"flagChars": ["b", "n", "u"],
23-
"flags": ["api-version", "json", "loglevel", "name", "on-behalf-of", "target-org"],
23+
"flags": ["api-version", "flags-dir", "json", "loglevel", "name", "on-behalf-of", "target-org"],
2424
"plugin": "@salesforce/plugin-user"
2525
},
2626
{
2727
"alias": [],
2828
"command": "org:assign:permset",
2929
"flagAliases": ["onbehalfof", "permsetname"],
3030
"flagChars": ["b", "n", "o"],
31-
"flags": ["api-version", "json", "name", "on-behalf-of", "target-org"],
31+
"flags": ["api-version", "flags-dir", "json", "name", "on-behalf-of", "target-org"],
3232
"plugin": "@salesforce/plugin-user"
3333
},
3434
{
3535
"alias": [],
3636
"command": "org:assign:permsetlicense",
3737
"flagAliases": ["onbehalfof", "perm-set-license", "psl"],
3838
"flagChars": ["b", "n", "o"],
39-
"flags": ["api-version", "json", "name", "on-behalf-of", "target-org"],
39+
"flags": ["api-version", "flags-dir", "json", "name", "on-behalf-of", "target-org"],
4040
"plugin": "@salesforce/plugin-user"
4141
},
4242
{
4343
"alias": ["force:user:create"],
4444
"command": "org:create:user",
4545
"flagAliases": ["apiversion", "definitionfile", "setalias", "setuniqueusername", "targetusername", "u"],
4646
"flagChars": ["a", "f", "o", "s"],
47-
"flags": ["api-version", "definition-file", "json", "loglevel", "set-alias", "set-unique-username", "target-org"],
47+
"flags": [
48+
"api-version",
49+
"definition-file",
50+
"flags-dir",
51+
"json",
52+
"loglevel",
53+
"set-alias",
54+
"set-unique-username",
55+
"target-org"
56+
],
4857
"plugin": "@salesforce/plugin-user"
4958
},
5059
{
5160
"alias": ["force:user:display"],
5261
"command": "org:display:user",
5362
"flagAliases": ["apiversion", "targetusername", "u"],
5463
"flagChars": ["o"],
55-
"flags": ["api-version", "json", "loglevel", "target-org"],
64+
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-org"],
5665
"plugin": "@salesforce/plugin-user"
5766
},
5867
{
5968
"alias": [],
6069
"command": "org:generate:password",
6170
"flagAliases": ["onbehalfof"],
6271
"flagChars": ["b", "c", "l", "o"],
63-
"flags": ["api-version", "complexity", "json", "length", "on-behalf-of", "target-org"],
72+
"flags": ["api-version", "complexity", "flags-dir", "json", "length", "on-behalf-of", "target-org"],
6473
"plugin": "@salesforce/plugin-user"
6574
},
6675
{
6776
"alias": ["force:user:list"],
6877
"command": "org:list:users",
6978
"flagAliases": ["apiversion", "targetusername", "u"],
7079
"flagChars": ["o"],
71-
"flags": ["api-version", "json", "loglevel", "target-org"],
80+
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-org"],
7281
"plugin": "@salesforce/plugin-user"
7382
}
7483
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@oclif/core": "^3.23.0",
99
"@salesforce/core": "^6.7.1",
1010
"@salesforce/kit": "^3.0.15",
11-
"@salesforce/sf-plugins-core": "^7.1.14",
11+
"@salesforce/sf-plugins-core": "^8.0.1",
1212
"@salesforce/ts-types": "^2.0.9"
1313
},
1414
"devDependencies": {
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"records": [
3-
{
4-
"attributes": {
5-
"type": "Volunteer_Event__c",
6-
"referenceId": "Volunteer_Event__cRef1"
7-
},
8-
"Name": "Reading to Kids at Vis Valley Elementary",
9-
"Description__c": "<p>It&#39;s our monthly trip to read books for the kindergartners again! </p><p>We&#39;ll take some of our favorite books...dress as yourselves!</p>",
10-
"End__c": "2017-09-18T18:00:00.000+0000",
11-
"Start__c": "2017-09-18T15:00:00.000+0000"
12-
},
13-
{
14-
"attributes": {
15-
"type": "Volunteer_Event__c",
16-
"referenceId": "Volunteer_Event__cRef2"
17-
},
18-
"Name": "Animal Adoption Fair",
19-
"Description__c": "Help people find their next pet from the shelter...we need staff to welcome people, help them complete paperwork, take animals for microchipping, and maintain order",
20-
"End__c": "2017-09-18T18:00:00.000+0000",
21-
"Start__c": "2017-09-18T15:00:00.000+0000"
22-
},
23-
{
24-
"attributes": {
25-
"type": "Volunteer_Event__c",
26-
"referenceId": "Volunteer_Event__cRef3"
27-
},
28-
"Name": "Trail Maintenance",
29-
"Description__c": "We need 7 people for some outdoor work--trimming branches and vines and removing roots that might trip people on the local park trails",
30-
"End__c": "2017-09-18T18:00:00.000+0000",
31-
"Start__c": "2017-09-18T15:00:00.000+0000"
32-
}
33-
]
34-
}
2+
"records": [
3+
{
4+
"attributes": {
5+
"type": "Volunteer_Event__c",
6+
"referenceId": "Volunteer_Event__cRef1"
7+
},
8+
"Name": "Reading to Kids at Vis Valley Elementary",
9+
"Description__c": "<p>It&#39;s our monthly trip to read books for the kindergartners again! </p><p>We&#39;ll take some of our favorite books...dress as yourselves!</p>",
10+
"End__c": "2017-09-18T18:00:00.000+0000",
11+
"Start__c": "2017-09-18T15:00:00.000+0000"
12+
},
13+
{
14+
"attributes": {
15+
"type": "Volunteer_Event__c",
16+
"referenceId": "Volunteer_Event__cRef2"
17+
},
18+
"Name": "Animal Adoption Fair",
19+
"Description__c": "Help people find their next pet from the shelter...we need staff to welcome people, help them complete paperwork, take animals for microchipping, and maintain order",
20+
"End__c": "2017-09-18T18:00:00.000+0000",
21+
"Start__c": "2017-09-18T15:00:00.000+0000"
22+
},
23+
{
24+
"attributes": {
25+
"type": "Volunteer_Event__c",
26+
"referenceId": "Volunteer_Event__cRef3"
27+
},
28+
"Name": "Trail Maintenance",
29+
"Description__c": "We need 7 people for some outdoor work--trimming branches and vines and removing roots that might trip people on the local park trails",
30+
"End__c": "2017-09-18T18:00:00.000+0000",
31+
"Start__c": "2017-09-18T15:00:00.000+0000"
32+
}
33+
]
34+
}
Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
[
2-
{
3-
"sobject": "Volunteer_Event__c",
4-
"saveRefs": true,
5-
"resolveRefs": false,
6-
"files": [
7-
"Volunteer_Event__cs.json"
8-
]
9-
}
10-
11-
]
2+
{
3+
"sobject": "Volunteer_Event__c",
4+
"saveRefs": true,
5+
"resolveRefs": false,
6+
"files": ["Volunteer_Event__cs.json"]
7+
}
8+
]

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@
13071307
"@nodelib/fs.scandir" "2.1.5"
13081308
fastq "^1.6.0"
13091309

1310-
"@oclif/core@3.25.2", "@oclif/core@^3.15.1", "@oclif/core@^3.19.2", "@oclif/core@^3.19.6", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0":
1310+
"@oclif/core@3.25.2", "@oclif/core@^3.15.1", "@oclif/core@^3.19.2", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0":
13111311
version "3.25.2"
13121312
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.25.2.tgz#a26d56abe5686c57c1e973957777bd2ae324e973"
13131313
integrity sha512-OkW/cNa/3DhoCz2YlSpymVe8DXqkoRaLY4SPTVqNVzR4R1dFBE5KoCtuwKwnhxYLCRCqaViPgRnB5K26f0MnjA==
@@ -1404,7 +1404,7 @@
14041404
strip-ansi "6.0.1"
14051405
ts-retry-promise "^0.8.0"
14061406

1407-
"@salesforce/core@^6.4.1", "@salesforce/core@^6.6.0", "@salesforce/core@^6.7.0", "@salesforce/core@^6.7.1", "@salesforce/core@^6.7.3":
1407+
"@salesforce/core@^6.4.1", "@salesforce/core@^6.7.0", "@salesforce/core@^6.7.1", "@salesforce/core@^6.7.3":
14081408
version "6.7.3"
14091409
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.7.3.tgz#5d8f30c40ac3cebb898c8e845fe9a067bc729268"
14101410
integrity sha512-uU+PuZZGXxByhvnXLH1V3eY5P1caw401dIZ/QvhzYxoP/alPLk7dpChnZNJYH5Rw3dc/AhSPw+eg0cvUyjhP1Q==
@@ -1510,15 +1510,15 @@
15101510
chalk "^4"
15111511
inquirer "^8.2.5"
15121512

1513-
"@salesforce/sf-plugins-core@^7.1.14":
1514-
version "7.1.14"
1515-
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.14.tgz#5f07316a602b4c5d44c09bc74c294d7df9e2e260"
1516-
integrity sha512-KDX9vYDeVOkozRrsjVh4Pvzay++7bWWKmaHtGOwkZrBHb3mVEdCp0ryF0WaDTfaEvgNKn7kiZEDSO7oEhJSzug==
1513+
"@salesforce/sf-plugins-core@^8.0.1":
1514+
version "8.0.1"
1515+
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-8.0.1.tgz#f155cddfd7695aab0d8264848b634b2a91cdbf2c"
1516+
integrity sha512-R6SqJ1XqSINSWdZruKtC2SKGnLBh7KbFI7+qS0FYlyPU4IlWoa+AZkGwWvlczuSOumqnlhT95rNKwZTS5rJugA==
15171517
dependencies:
15181518
"@inquirer/confirm" "^2.0.17"
15191519
"@inquirer/password" "^1.1.16"
1520-
"@oclif/core" "^3.19.6"
1521-
"@salesforce/core" "^6.6.0"
1520+
"@oclif/core" "^3.23.0"
1521+
"@salesforce/core" "^6.7.3"
15221522
"@salesforce/kit" "^3.0.15"
15231523
"@salesforce/ts-types" "^2.0.9"
15241524
chalk "^5.3.0"

0 commit comments

Comments
 (0)