sfdx-jayree 4.7.3 → 4.8.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/CHANGELOG.md +14 -0
- package/README.md +41 -314
- package/lib/commands/jayree/org/settings.d.ts +3 -3
- package/lib/commands/jayree/org/settings.js +8 -1
- package/lib/commands/jayree/org/settings.js.map +1 -1
- package/oclif.manifest.json +1 -47
- package/package.json +19 -28
- package/lib/commands/jayree/source/fix.d.ts +0 -12
- package/lib/commands/jayree/source/fix.js +0 -59
- package/lib/commands/jayree/source/fix.js.map +0 -1
- package/lib/hooks/postretrieve.d.ts +0 -12
- package/lib/hooks/postretrieve.js +0 -92
- package/lib/hooks/postretrieve.js.map +0 -1
- package/lib/hooks/preretrieve.d.ts +0 -14
- package/lib/hooks/preretrieve.js +0 -15
- package/lib/hooks/preretrieve.js.map +0 -1
- package/lib/utils/config.d.ts +0 -2
- package/lib/utils/config.js +0 -45
- package/lib/utils/config.js.map +0 -1
- package/lib/utils/hookUtils.d.ts +0 -1
- package/lib/utils/hookUtils.js +0 -20
- package/lib/utils/hookUtils.js.map +0 -1
- package/lib/utils/object-path.d.ts +0 -16
- package/lib/utils/object-path.js +0 -147
- package/lib/utils/object-path.js.map +0 -1
- package/lib/utils/souceUtils.d.ts +0 -22
- package/lib/utils/souceUtils.js +0 -564
- package/lib/utils/souceUtils.js.map +0 -1
- package/lib/utils/stateFolderHandler.d.ts +0 -1
- package/lib/utils/stateFolderHandler.js +0 -39
- package/lib/utils/stateFolderHandler.js.map +0 -1
- package/lib/utils/xml.d.ts +0 -4
- package/lib/utils/xml.js +0 -34
- package/lib/utils/xml.js.map +0 -1
- package/messages/sourceretrievefix.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [4.8.0](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.7.3...v4.8.0) (2023-05-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump @jayree/sfdx-plugin-source from 1.1.2 to 1.2.3 ([#765](https://github.com/jayree/sfdx-jayree-plugin/issues/765)) ([1d04718](https://github.com/jayree/sfdx-jayree-plugin/commit/1d047188b2f140935e875a9d8712a05133753f52))
|
|
7
|
+
* **deps:** bump @salesforce/sf-plugins-core from 2.4.2 to 2.4.3 ([#777](https://github.com/jayree/sfdx-jayree-plugin/issues/777)) ([54d2a6d](https://github.com/jayree/sfdx-jayree-plugin/commit/54d2a6d4412ba18bcf2a7f5b875cb7edb9dcc804))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* remove sfdx-plugin-legacy plugin from bundle ([cfacae9](https://github.com/jayree/sfdx-jayree-plugin/commit/cfacae9935c963f602ccac3f066f68fbca0f583c))
|
|
13
|
+
* use new source commands from source-plugin ([9ca1e6a](https://github.com/jayree/sfdx-jayree-plugin/commit/9ca1e6a6d907ec7963bd37154f921ec2bced39d0))
|
|
14
|
+
|
|
1
15
|
## [4.7.3](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.7.2...v4.7.3) (2023-05-12)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -18,9 +18,6 @@ sfdx plugins:install @jayree/sfdx-plugin-source
|
|
|
18
18
|
## Commands
|
|
19
19
|
|
|
20
20
|
<!-- commands -->
|
|
21
|
-
* [`sfdx jayree:automation:changeset:deploy`](#sfdx-jayreeautomationchangesetdeploy)
|
|
22
|
-
* [`sfdx jayree:automation:changeset:list`](#sfdx-jayreeautomationchangesetlist)
|
|
23
|
-
* [`sfdx jayree:automation:ltngsync:status`](#sfdx-jayreeautomationltngsyncstatus)
|
|
24
21
|
* [`sfdx jayree:flowtestcoverage`](#sfdx-jayreeflowtestcoverage)
|
|
25
22
|
* [`sfdx jayree:manifest:cleanup`](#sfdx-jayreemanifestcleanup)
|
|
26
23
|
* [`sfdx jayree:manifest:generate`](#sfdx-jayreemanifestgenerate)
|
|
@@ -31,127 +28,13 @@ sfdx plugins:install @jayree/sfdx-plugin-source
|
|
|
31
28
|
* [`sfdx jayree:org:configure:state`](#sfdx-jayreeorgconfigurestate)
|
|
32
29
|
* [`sfdx jayree:org:settings`](#sfdx-jayreeorgsettings)
|
|
33
30
|
* [`sfdx jayree:org:streaming`](#sfdx-jayreeorgstreaming)
|
|
34
|
-
* [`sfdx jayree:
|
|
35
|
-
* [`sfdx jayree:packagedescription:get`](#sfdx-jayreepackagedescriptionget)
|
|
36
|
-
* [`sfdx jayree:packagedescription:remove`](#sfdx-jayreepackagedescriptionremove)
|
|
37
|
-
* [`sfdx jayree:packagedescription:set`](#sfdx-jayreepackagedescriptionset)
|
|
38
|
-
* [`sfdx jayree:source:fix`](#sfdx-jayreesourcefix)
|
|
31
|
+
* [`sfdx jayree:project:fix`](#sfdx-jayreeprojectfix)
|
|
39
32
|
* [`sfdx jayree:source:snapshot:compare`](#sfdx-jayreesourcesnapshotcompare)
|
|
40
33
|
* [`sfdx jayree:source:snapshot:generate`](#sfdx-jayreesourcesnapshotgenerate)
|
|
41
34
|
* [`sfdx jayree:source:tracking:list`](#sfdx-jayreesourcetrackinglist)
|
|
42
35
|
* [`sfdx jayree:source:tracking:store:get`](#sfdx-jayreesourcetrackingstoreget)
|
|
43
36
|
* [`sfdx jayree:source:tracking:store:set`](#sfdx-jayreesourcetrackingstoreset)
|
|
44
37
|
|
|
45
|
-
### `sfdx jayree:automation:changeset:deploy`
|
|
46
|
-
|
|
47
|
-
deploy incomming change set to an org (beta)
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
USAGE
|
|
51
|
-
$ sfdx jayree:automation:changeset:deploy [-r <string> -l <string>] [-c] [--nodialog -s <string>] [-u <string>] [--apiversion
|
|
52
|
-
<string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
53
|
-
|
|
54
|
-
FLAGS
|
|
55
|
-
-c, --checkonly validate deploy but don’t save to
|
|
56
|
-
the org (default:false)
|
|
57
|
-
-l, --testlevel=<option> deployment testing level
|
|
58
|
-
(Default,RunSpecifiedTests,RunLocalT
|
|
59
|
-
ests,RunAllTestsInOrg)
|
|
60
|
-
<options: Default|RunSpecifiedTests|
|
|
61
|
-
RunLocalTests|RunAllTestsInOrg>
|
|
62
|
-
-r, --runtests=<value> tests to run if --testlevel
|
|
63
|
-
RunSpecifiedTests
|
|
64
|
-
-s, --changeset=<value> name of changeset to deploy
|
|
65
|
-
-u, --targetusername=<value> username or alias for the target
|
|
66
|
-
org; overrides default target org
|
|
67
|
-
--apiversion=<value> override the api version used for
|
|
68
|
-
api requests made by this command
|
|
69
|
-
--json format output as json
|
|
70
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
71
|
-
this command invocation
|
|
72
|
-
--nodialog don't show the dialog wizard
|
|
73
|
-
|
|
74
|
-
DESCRIPTION
|
|
75
|
-
deploy incomming change set to an org (beta)
|
|
76
|
-
|
|
77
|
-
EXAMPLES
|
|
78
|
-
$ sfdx jayree:automation:changeset:deploy -s ChangeSet -l RunLocalTests --nodialog
|
|
79
|
-
Deploying Change Set 'ChangeSet'...
|
|
80
|
-
=== Status
|
|
81
|
-
Status: Pending
|
|
82
|
-
jobid: 0Xxx100000xx1x1
|
|
83
|
-
|
|
84
|
-
$ sfdx jayree:automation:changeset:deploy
|
|
85
|
-
? Change Sets Awaiting Deployment (Use arrow keys)
|
|
86
|
-
ChangeSet3
|
|
87
|
-
ChangeSet2
|
|
88
|
-
❯ ChangeSet1
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/automation/changeset/deploy.ts)_
|
|
92
|
-
|
|
93
|
-
### `sfdx jayree:automation:changeset:list`
|
|
94
|
-
|
|
95
|
-
list incomming change sets of an org (beta)
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
USAGE
|
|
99
|
-
$ sfdx jayree:automation:changeset:list [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
100
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
101
|
-
|
|
102
|
-
FLAGS
|
|
103
|
-
-u, --targetusername=<value> username or alias for the target
|
|
104
|
-
org; overrides default target org
|
|
105
|
-
--apiversion=<value> override the api version used for
|
|
106
|
-
api requests made by this command
|
|
107
|
-
--json format output as json
|
|
108
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
109
|
-
this command invocation
|
|
110
|
-
|
|
111
|
-
DESCRIPTION
|
|
112
|
-
list incomming change sets of an org (beta)
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/automation/changeset/list.ts)_
|
|
116
|
-
|
|
117
|
-
### `sfdx jayree:automation:ltngsync:status`
|
|
118
|
-
|
|
119
|
-
check the Lightning Sync User Sync Status and reset sync if needed (beta)
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
USAGE
|
|
123
|
-
$ sfdx jayree:automation:ltngsync:status -o <string> [-s] [-w <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
124
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
125
|
-
|
|
126
|
-
FLAGS
|
|
127
|
-
-o, --officeuser=<value> (required) 'name' (firstname
|
|
128
|
-
lastname) of the SF user
|
|
129
|
-
-s, --statusonly get Lightning Sync status of the SF
|
|
130
|
-
user, only
|
|
131
|
-
-u, --targetusername=<value> username or alias for the target
|
|
132
|
-
org; overrides default target org
|
|
133
|
-
-w, --wait=<value> wait time for command to wait for
|
|
134
|
-
status change in minutes (default:
|
|
135
|
-
infinitely)
|
|
136
|
-
--apiversion=<value> override the api version used for
|
|
137
|
-
api requests made by this command
|
|
138
|
-
--json format output as json
|
|
139
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
140
|
-
this command invocation
|
|
141
|
-
|
|
142
|
-
DESCRIPTION
|
|
143
|
-
check the Lightning Sync User Sync Status and reset sync if needed (beta)
|
|
144
|
-
|
|
145
|
-
EXAMPLES
|
|
146
|
-
$ sfdx jayree:automation:ltngsync:status -o 'Name'
|
|
147
|
-
configSetup: User assigned to active Lightning Sync configuration... Yes
|
|
148
|
-
userContacts/userEvents: Salesforce and Exchange email addresses linked... Linked/Linked
|
|
149
|
-
userContacts/userEvents: Salesforce to Exchange sync status... Initial sync completed/Initial sync completed
|
|
150
|
-
userContacts/userEvents: Exchange to Salesforce sync status... Initial sync completed/Initial sync completed
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/automation/ltngsync/status.ts)_
|
|
154
|
-
|
|
155
38
|
### `sfdx jayree:flowtestcoverage`
|
|
156
39
|
|
|
157
40
|
check the flow test coverage of an org
|
|
@@ -174,7 +57,7 @@ EXAMPLES
|
|
|
174
57
|
...
|
|
175
58
|
```
|
|
176
59
|
|
|
177
|
-
_See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.
|
|
60
|
+
_See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.8.0/src/commands/jayree/flowtestcoverage.ts)_
|
|
178
61
|
|
|
179
62
|
### `sfdx jayree:manifest:cleanup`
|
|
180
63
|
|
|
@@ -506,7 +389,7 @@ EXAMPLES
|
|
|
506
389
|
$ sfdx jayree:org:settings -u MyTestOrg1 -w
|
|
507
390
|
```
|
|
508
391
|
|
|
509
|
-
_See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.
|
|
392
|
+
_See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.8.0/src/commands/jayree/org/settings.ts)_
|
|
510
393
|
|
|
511
394
|
### `sfdx jayree:org:streaming`
|
|
512
395
|
|
|
@@ -529,130 +412,28 @@ EXAMPLES
|
|
|
529
412
|
...
|
|
530
413
|
```
|
|
531
414
|
|
|
532
|
-
_See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.
|
|
415
|
+
_See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.8.0/src/commands/jayree/org/streaming.ts)_
|
|
533
416
|
|
|
534
|
-
### `sfdx jayree:
|
|
417
|
+
### `sfdx jayree:project:fix`
|
|
535
418
|
|
|
536
|
-
|
|
419
|
+
Fix retrieved metadata.
|
|
537
420
|
|
|
538
421
|
```
|
|
539
422
|
USAGE
|
|
540
|
-
$ sfdx jayree:
|
|
541
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
542
|
-
|
|
543
|
-
FLAGS
|
|
544
|
-
-d, --description=<value> (required) new description value
|
|
545
|
-
-f, --file=<value> (required) file to create
|
|
546
|
-
--json format output as json
|
|
547
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
548
|
-
this command invocation
|
|
549
|
-
|
|
550
|
-
DESCRIPTION
|
|
551
|
-
creates an empty package with the description
|
|
552
|
-
|
|
553
|
-
EXAMPLES
|
|
554
|
-
$ sfdx jayree:packagedescription:create --file FILENAME --description 'DESCRIPTION'
|
|
555
|
-
```
|
|
556
|
-
|
|
557
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/packagedescription/create.ts)_
|
|
558
|
-
|
|
559
|
-
### `sfdx jayree:packagedescription:get`
|
|
560
|
-
|
|
561
|
-
get the description within a package
|
|
562
|
-
|
|
563
|
-
```
|
|
564
|
-
USAGE
|
|
565
|
-
$ sfdx jayree:packagedescription:get -f <string> [--json] [--loglevel
|
|
566
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
567
|
-
|
|
568
|
-
FLAGS
|
|
569
|
-
-f, --file=<value> (required) file to read
|
|
570
|
-
--json format output as json
|
|
571
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
572
|
-
this command invocation
|
|
573
|
-
|
|
574
|
-
DESCRIPTION
|
|
575
|
-
get the description within a package
|
|
576
|
-
|
|
577
|
-
EXAMPLES
|
|
578
|
-
$ sfdx jayree:packagedescription:get --file FILENAME
|
|
579
|
-
Description of Package FILENAME
|
|
580
|
-
```
|
|
581
|
-
|
|
582
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/packagedescription/get.ts)_
|
|
583
|
-
|
|
584
|
-
### `sfdx jayree:packagedescription:remove`
|
|
585
|
-
|
|
586
|
-
remove the description within a package
|
|
587
|
-
|
|
588
|
-
```
|
|
589
|
-
USAGE
|
|
590
|
-
$ sfdx jayree:packagedescription:remove -f <string> [--json] [--loglevel
|
|
591
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
592
|
-
|
|
593
|
-
FLAGS
|
|
594
|
-
-f, --file=<value> (required) file to read
|
|
595
|
-
--json format output as json
|
|
596
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
597
|
-
this command invocation
|
|
598
|
-
|
|
599
|
-
DESCRIPTION
|
|
600
|
-
remove the description within a package
|
|
601
|
-
|
|
602
|
-
EXAMPLES
|
|
603
|
-
$ sfdx jayree:packagedescription:remove --file FILENAME
|
|
604
|
-
```
|
|
605
|
-
|
|
606
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/packagedescription/remove.ts)_
|
|
607
|
-
|
|
608
|
-
### `sfdx jayree:packagedescription:set`
|
|
609
|
-
|
|
610
|
-
set the description within a package
|
|
611
|
-
|
|
612
|
-
```
|
|
613
|
-
USAGE
|
|
614
|
-
$ sfdx jayree:packagedescription:set (-d <string> -f <string>) [--json] [--loglevel
|
|
615
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
616
|
-
|
|
617
|
-
FLAGS
|
|
618
|
-
-d, --description=<value> (required) new description value
|
|
619
|
-
-f, --file=<value> (required) file to read
|
|
620
|
-
--json format output as json
|
|
621
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
622
|
-
this command invocation
|
|
623
|
-
|
|
624
|
-
DESCRIPTION
|
|
625
|
-
set the description within a package
|
|
626
|
-
|
|
627
|
-
EXAMPLES
|
|
628
|
-
$ sfdx jayree:packagedescription:set --file FILENAME --description 'NEW DESCRIPTION'
|
|
629
|
-
```
|
|
630
|
-
|
|
631
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.38/src/commands/jayree/packagedescription/set.ts)_
|
|
632
|
-
|
|
633
|
-
### `sfdx jayree:source:fix`
|
|
634
|
-
|
|
635
|
-
fix local source files
|
|
636
|
-
|
|
637
|
-
```
|
|
638
|
-
USAGE
|
|
639
|
-
$ sfdx jayree:source:fix [--json] [-o <value>] [-t <value>] [--verbose]
|
|
423
|
+
$ sfdx jayree:project:fix [--json] [-o <value>] [-t <value>]
|
|
640
424
|
|
|
641
425
|
FLAGS
|
|
642
426
|
-o, --target-org=<value>
|
|
643
|
-
-t, --
|
|
644
|
-
--verbose log output to console
|
|
427
|
+
-t, --task=<value>... Comma-separated list of task names listed in sfdx-project.json.
|
|
645
428
|
|
|
646
429
|
GLOBAL FLAGS
|
|
647
430
|
--json Format output as json.
|
|
648
431
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
log output to console
|
|
432
|
+
ALIASES
|
|
433
|
+
$ sfdx jayree:source:fix
|
|
653
434
|
```
|
|
654
435
|
|
|
655
|
-
_See code: [
|
|
436
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/project/fix.ts)_
|
|
656
437
|
|
|
657
438
|
### `sfdx jayree:source:snapshot:compare`
|
|
658
439
|
|
|
@@ -669,7 +450,7 @@ GLOBAL FLAGS
|
|
|
669
450
|
--json Format output as json.
|
|
670
451
|
```
|
|
671
452
|
|
|
672
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.
|
|
453
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/source/snapshot/compare.ts)_
|
|
673
454
|
|
|
674
455
|
### `sfdx jayree:source:snapshot:generate`
|
|
675
456
|
|
|
@@ -686,7 +467,7 @@ GLOBAL FLAGS
|
|
|
686
467
|
--json Format output as json.
|
|
687
468
|
```
|
|
688
469
|
|
|
689
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.
|
|
470
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/source/snapshot/generate.ts)_
|
|
690
471
|
|
|
691
472
|
### `sfdx jayree:source:tracking:list`
|
|
692
473
|
|
|
@@ -710,7 +491,7 @@ EXAMPLES
|
|
|
710
491
|
$ sfdx jayree:source:tracking:list -u me@my.org -r 101
|
|
711
492
|
```
|
|
712
493
|
|
|
713
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.
|
|
494
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/source/tracking/list.ts)_
|
|
714
495
|
|
|
715
496
|
### `sfdx jayree:source:tracking:store:get`
|
|
716
497
|
|
|
@@ -731,7 +512,7 @@ EXAMPLES
|
|
|
731
512
|
$ sfdx jayree:source:tracking:store:get -u me@my.org
|
|
732
513
|
```
|
|
733
514
|
|
|
734
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.
|
|
515
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/source/tracking/store/get.ts)_
|
|
735
516
|
|
|
736
517
|
### `sfdx jayree:source:tracking:store:set`
|
|
737
518
|
|
|
@@ -755,106 +536,52 @@ EXAMPLES
|
|
|
755
536
|
$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101
|
|
756
537
|
```
|
|
757
538
|
|
|
758
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.
|
|
539
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.2.3/src/commands/jayree/source/tracking/store/set.ts)_
|
|
759
540
|
<!-- commandsstop -->
|
|
760
541
|
|
|
761
542
|
## Hooks
|
|
543
|
+
### prerun
|
|
762
544
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
### Enable/Disable
|
|
545
|
+
- Resets source tracking using `force:source:tracking:reset` before executing `force:source:pull` or `project:retrieve:start`.
|
|
766
546
|
|
|
767
|
-
|
|
547
|
+
> **_IMPORTANT:_** This hook will only run if `SFDX_ENABLE_JAYREE_HOOKS_RESET_BEFORE_PULL=true` is set. It uses the stored `serverMaxRevisionCounter` as revision counter number (see: [`jayree:project:store:tracking:set`](#sfdx-jayreeprojectstoretrackingset)). If the hook doesn't find a stored value it asks if the current *local* revision counter number should be stored and used.
|
|
768
548
|
|
|
769
|
-
|
|
770
|
-
{
|
|
771
|
-
"runHooks": true,
|
|
772
|
-
}
|
|
773
|
-
```
|
|
774
|
-
|
|
775
|
-
### Hook flow
|
|
776
|
-
|
|
777
|
-

|
|
778
|
-
|
|
779
|
-
#### prerun
|
|
780
|
-
|
|
781
|
-
- Resets source tracking using `force:source:tracking:reset` before executing `force:source:pull`.
|
|
782
|
-
|
|
783
|
-
> **_IMPORTANT:_** This hook will only run if `SFDX_ENABLE_JAYREE_HOOKS_RESET_BEFORE_PULL=true` is set. It uses the stored `serverMaxRevisionCounter` as revision counter number (see: [`jayree:source:tracking:store:set`](#sfdx-jayreesourcetrackingstoreset)). If the hook doesn't find a stored value it asks if the current *local* revision counter number should be stored and used.
|
|
784
|
-
|
|
785
|
-
#### preretrieve
|
|
549
|
+
### scopedPreRetrieve
|
|
786
550
|
|
|
787
551
|
- Disables the `prettierFormat` hook. See [sfdx-plugin-prettier](https://github.com/jayree/sfdx-plugin-prettier) for more details.
|
|
788
552
|
|
|
789
|
-
|
|
553
|
+
### scopedPostRetrieve
|
|
790
554
|
|
|
791
|
-
-
|
|
792
|
-
- Ensures Object- and User-Permissions settings. Review [.sfdx-jayree-example.json](.sfdx-jayree-example.json) how the configuration should look like.
|
|
793
|
-
- Shrinks Permission Sets to avoid merge conflicts in git.
|
|
794
|
-
- Applies source fixes of the `jayree:source:fix` command and moves source files to separate package directories. See the configuration file [.sfdx-jayree-example.json](.sfdx-jayree-example.json) for examples. Use the following parameter in `.sfdx-jayree.json` to specify which tags should be applied by the hooks:
|
|
795
|
-
```json
|
|
796
|
-
{
|
|
797
|
-
"applySourceFixes": ["source:retrieve:full", "source:retrieve:all"],
|
|
798
|
-
}
|
|
799
|
-
```
|
|
555
|
+
- Applies source fixes of the `jayree project fix` command, deletes and moves source files to separate package directories. See the configuration file [sfdx-project.json](https://github.com/jayree/sfdx-plugin-source/blob/main/sfdx-project.json) for examples. Set `"isActive": true`, to apply this fix during `scopedPostRetrieve` hook.
|
|
800
556
|
|
|
801
557
|
> **_IMPORTANT:_** Since the hook is not able to update the (JSON) output of the command, an additional output is generated. Set the environment variable `SFDX_ENABLE_JAYREE_HOOKS_JSON_OUTPUT=true` and additional comma-separated JSON output will be appended, where the output must be parsed as an array, e.g. ``JSON.parse(`[${stdout}]`)``. See an example below:
|
|
802
558
|
|
|
803
559
|
```javascript
|
|
804
|
-
import
|
|
805
|
-
import {
|
|
560
|
+
import execa from "execa";
|
|
561
|
+
import { CliUx } from "@oclif/core";
|
|
806
562
|
|
|
807
563
|
async function run() {
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
564
|
+
const { stdout } = await execa("sfdx", [
|
|
565
|
+
"force:source:retrieve",
|
|
566
|
+
"--metadata",
|
|
567
|
+
"Group:*",
|
|
568
|
+
"--json"
|
|
569
|
+
]);
|
|
570
|
+
const parsedStdout = JSON.parse(`[${stdout}]`);
|
|
571
|
+
CliUx.ux.styledJSON(
|
|
572
|
+
parsedStdout.length > 1
|
|
573
|
+
? {
|
|
574
|
+
...parsedStdout[0],
|
|
815
575
|
result: {
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
const pulledSourceOrinboundFiles =
|
|
823
|
-
parsedStdout[0].result?.pulledSource !== undefined
|
|
824
|
-
? 'pulledSource'
|
|
825
|
-
: 'inboundFiles';
|
|
826
|
-
consolidatedStdout = {
|
|
827
|
-
...parsedStdout[0],
|
|
828
|
-
result: {
|
|
829
|
-
...parsedStdout[0].result,
|
|
830
|
-
[pulledSourceOrinboundFiles]: [],
|
|
831
|
-
fixedFiles: []
|
|
832
|
-
}
|
|
833
|
-
};
|
|
834
|
-
parsedStdout.shift();
|
|
835
|
-
parsedStdout.forEach((element) => {
|
|
836
|
-
consolidatedStdout.result[
|
|
837
|
-
pulledSourceOrinboundFiles
|
|
838
|
-
] = consolidatedStdout.result[pulledSourceOrinboundFiles].concat(
|
|
839
|
-
element.result[pulledSourceOrinboundFiles]
|
|
840
|
-
);
|
|
841
|
-
consolidatedStdout.result.fixedFiles = consolidatedStdout.result.fixedFiles.concat(
|
|
842
|
-
element.result.fixedFiles
|
|
843
|
-
);
|
|
844
|
-
});
|
|
845
|
-
} else {
|
|
846
|
-
consolidatedStdout = parsedStdout[0];
|
|
847
|
-
}
|
|
848
|
-
cli.styledJSON(consolidatedStdout);
|
|
849
|
-
}
|
|
576
|
+
...parsedStdout[0].result,
|
|
577
|
+
fixedFiles: parsedStdout[1].fixedFiles
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
: parsedStdout[0]
|
|
581
|
+
);
|
|
850
582
|
}
|
|
851
583
|
|
|
852
584
|
run();
|
|
853
585
|
```
|
|
854
586
|
|
|
855
587
|
- Calls `prettierFormat` hook. See [sfdx-plugin-prettier](https://github.com/jayree/sfdx-plugin-prettier) for more details.
|
|
856
|
-
|
|
857
|
-
## Related Plugins
|
|
858
|
-
|
|
859
|
-
- [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/main/README.md) - Contains all jayree sfdx manifest commands
|
|
860
|
-
- [@jayree/sfdx-plugin-prettier](https://github.com/jayree/sfdx-plugin-prettier/blob/develop/README.md) - Contains an sfdx plugin hook to format Salesforce metadata source files
|
|
@@ -4,9 +4,9 @@ export default class ScratchOrgSettings extends SfCommand<AnyJson> {
|
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly examples: string[];
|
|
6
6
|
static readonly flags: {
|
|
7
|
-
'target-org': import("@oclif/core/lib/interfaces
|
|
8
|
-
writetoprojectscratchdeffile: import("@oclif/core/lib/interfaces
|
|
9
|
-
file: import("@oclif/core/lib/interfaces
|
|
7
|
+
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
8
|
+
writetoprojectscratchdeffile: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
file: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
10
|
};
|
|
11
11
|
static readonly requiresProject = true;
|
|
12
12
|
run(): Promise<AnyJson>;
|
|
@@ -13,7 +13,7 @@ import createDebug from 'debug';
|
|
|
13
13
|
import fs from 'fs-extra';
|
|
14
14
|
import { ComponentSet } from '@salesforce/source-deploy-retrieve';
|
|
15
15
|
import { mkdirp } from 'mkdirp';
|
|
16
|
-
import {
|
|
16
|
+
import { XMLParser } from 'fast-xml-parser';
|
|
17
17
|
// eslint-disable-next-line no-underscore-dangle
|
|
18
18
|
const __filename = fileURLToPath(import.meta.url);
|
|
19
19
|
// eslint-disable-next-line no-underscore-dangle
|
|
@@ -27,6 +27,13 @@ function camelize(str) {
|
|
|
27
27
|
return index === 0 ? match.toLowerCase() : match.toUpperCase();
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
+
function parseSourceComponent(xmlData) {
|
|
31
|
+
const parser = new XMLParser({
|
|
32
|
+
ignoreAttributes: false,
|
|
33
|
+
parseTagValue: false,
|
|
34
|
+
});
|
|
35
|
+
return parser.parse(xmlData);
|
|
36
|
+
}
|
|
30
37
|
class ScratchOrgSettings extends SfCommand {
|
|
31
38
|
// eslint-disable-next-line complexity
|
|
32
39
|
async run() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/commands/jayree/org/settings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;A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BAA8B,CAAC;KAC7D,CAAC;IACF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACpD,CAAC;CACH,CAAC;AAEqB,kCAAe,GAAG,IAAI,CAAC;eArB3B,kBAAkB"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.
|
|
2
|
+
"version": "4.8.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"jayree:flowtestcoverage": {
|
|
5
5
|
"id": "jayree:flowtestcoverage",
|
|
@@ -165,52 +165,6 @@
|
|
|
165
165
|
},
|
|
166
166
|
"args": {},
|
|
167
167
|
"hasDynamicHelp": true
|
|
168
|
-
},
|
|
169
|
-
"jayree:source:fix": {
|
|
170
|
-
"id": "jayree:source:fix",
|
|
171
|
-
"summary": "fix local source files\n(examples will follow)",
|
|
172
|
-
"strict": true,
|
|
173
|
-
"pluginName": "sfdx-jayree",
|
|
174
|
-
"pluginAlias": "sfdx-jayree",
|
|
175
|
-
"pluginType": "core",
|
|
176
|
-
"aliases": [],
|
|
177
|
-
"flags": {
|
|
178
|
-
"json": {
|
|
179
|
-
"name": "json",
|
|
180
|
-
"type": "boolean",
|
|
181
|
-
"description": "Format output as json.",
|
|
182
|
-
"helpGroup": "GLOBAL",
|
|
183
|
-
"allowNo": false
|
|
184
|
-
},
|
|
185
|
-
"target-org": {
|
|
186
|
-
"name": "target-org",
|
|
187
|
-
"type": "option",
|
|
188
|
-
"char": "o",
|
|
189
|
-
"multiple": false,
|
|
190
|
-
"aliases": [
|
|
191
|
-
"targetusername",
|
|
192
|
-
"u"
|
|
193
|
-
]
|
|
194
|
-
},
|
|
195
|
-
"tag": {
|
|
196
|
-
"name": "tag",
|
|
197
|
-
"type": "option",
|
|
198
|
-
"char": "t",
|
|
199
|
-
"summary": "comma-separated list of tag names listed in .sfdx-jayree.json",
|
|
200
|
-
"multiple": true,
|
|
201
|
-
"delimiter": ","
|
|
202
|
-
},
|
|
203
|
-
"verbose": {
|
|
204
|
-
"name": "verbose",
|
|
205
|
-
"type": "boolean",
|
|
206
|
-
"summary": "log output to console",
|
|
207
|
-
"description": "log output to console",
|
|
208
|
-
"allowNo": false
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"args": {},
|
|
212
|
-
"requiresProject": true,
|
|
213
|
-
"hasDynamicHelp": true
|
|
214
168
|
}
|
|
215
169
|
}
|
|
216
170
|
}
|