sfdx-jayree 4.4.25 → 4.4.26

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.4.26](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.4.25...v4.4.26) (2023-02-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump @jayree/sfdx-plugin-manifest from 2.7.4 to 2.8.2 ([#579](https://github.com/jayree/sfdx-jayree-plugin/issues/579)) ([24a277a](https://github.com/jayree/sfdx-jayree-plugin/commit/24a277a04c1cb2c8ff1989da69c465772926672c))
7
+
1
8
  ## [4.4.25](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.4.24...v4.4.25) (2023-02-10)
2
9
 
3
10
 
package/README.md CHANGED
@@ -24,7 +24,7 @@ $ sfdx plugins:install sfdx-jayree
24
24
  $ sfdx jayree:[COMMAND]
25
25
  running command...
26
26
  $ sfdx plugins
27
- sfdx-jayree 4.4.25
27
+ sfdx-jayree 4.4.26
28
28
  $ sfdx help jayree:[COMMAND]
29
29
  USAGE
30
30
  $ sfdx jayree:COMMAND
@@ -195,7 +195,7 @@ EXAMPLES
195
195
  ...
196
196
  ```
197
197
 
198
- _See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/flowtestcoverage.ts)_
198
+ _See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/flowtestcoverage.ts)_
199
199
 
200
200
  ### `sfdx jayree:manifest:beta:git:diff`
201
201
 
@@ -207,8 +207,8 @@ USAGE
207
207
  [--destructive-changes-only]
208
208
 
209
209
  ARGUMENTS
210
- REF1 base commit or branch
211
- REF2 commit or branch to compare to the base commit
210
+ REF1 Base commit or branch.
211
+ REF2 Commit or branch to compare to the base commit.
212
212
 
213
213
  FLAGS
214
214
  -d, --source-dir=<value>... Path to the local source files to include in the manifest.
@@ -274,132 +274,149 @@ FLAG DESCRIPTIONS
274
274
  The location can be an absolute path or relative to the current working directory.
275
275
  ```
276
276
 
277
- _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/beta/git/diff.ts)_
277
+ _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.2/src/commands/jayree/manifest/beta/git/diff.ts)_
278
278
 
279
279
  ### `sfdx jayree:manifest:cleanup`
280
280
 
281
- removes those tags from a manifest file that are present in a second manifest file
281
+ Removes those tags from a manifest file that are present in a second manifest file.
282
282
 
283
283
  ```
284
284
  USAGE
285
- $ sfdx jayree:manifest:cleanup [-x <filepath>] [-f <filepath>] [--json] [--loglevel
286
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
285
+ $ sfdx jayree:manifest:cleanup -f <value> [--json] [-x <value>]
287
286
 
288
287
  FLAGS
289
- -f, --file=<value> path to the second 'cleanup'
290
- manifest file
291
- -x, --manifest=<value> path to the manifest file
292
- --json format output as json
293
- --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
294
- this command invocation
288
+ -f, --file=<value> (required) Path to the second 'cleanup' manifest file.
289
+ -x, --manifest=<value> Path to the manifest file.
290
+
291
+ GLOBAL FLAGS
292
+ --json Format output as json.
295
293
 
296
294
  DESCRIPTION
297
- removes those tags from a manifest file that are present in a second manifest file
295
+ Removes those tags from a manifest file that are present in a second manifest file.
296
+
298
297
  Use this command to remove components or metadata types from a manifes file.
298
+
299
299
  If the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.
300
300
 
301
301
  EXAMPLES
302
302
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
303
303
  ```
304
304
 
305
- _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/cleanup.ts)_
305
+ _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.2/src/commands/jayree/manifest/cleanup.ts)_
306
306
 
307
307
  ### `sfdx jayree:manifest:generate`
308
308
 
309
- generate a complete manifest file form the specified org
309
+ Generate a complete manifest file form the specified org.
310
310
 
311
311
  ```
312
312
  USAGE
313
- $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
314
- [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
313
+ $ sfdx jayree:manifest:generate -o <value> [--json] [--api-version <value>] [-q <value>] [-c] [-w] [--include-flow-versions]
314
+ [-f <value>] [--exclude-managed | --exclude-all]
315
315
 
316
316
  FLAGS
317
- -a, --excludeall exclude all packages from output
318
- -c, --matchcase enable 'match case' for the
319
- quickfilter
320
- -f, --file=<value> write to 'file' instead of stdout
321
- -q, --quickfilter=<value> csv separated list of metadata type,
322
- member or file names to filter on
323
- -u, --targetusername=<value> username or alias for the target
324
- org; overrides default target org
325
- -w, --matchwholeword enable 'match whole word' for the
326
- quickfilter
327
- -x, --excludemanaged exclude managed packages from output
328
- --apiversion=<value> override the api version used for
329
- api requests made by this command
330
- --includeflowversions include flow versions as with api
331
- version 43.0
332
- --json format output as json
333
- --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
334
- this command invocation
317
+ -c, --match-case Enable 'match case' for the quickfilter.
318
+ -f, --file=<value> Write to 'file' instead of stdout.
319
+ -o, --target-org=<value> (required) Username or alias of the target org.
320
+ -q, --quick-filter=<value>... Metadata type, member or file path to filter on.
321
+ -w, --match-whole-word Enable 'match whole word' for the quickfilter.
322
+ --api-version=<value> Override the api version used for api requests made by this command
323
+ --exclude-all Exclude all packages from output.
324
+ --exclude-managed Exclude managed packages from output.
325
+ --include-flow-versions Include flow versions as with api version 43.0.
326
+
327
+ GLOBAL FLAGS
328
+ --json Format output as json.
335
329
 
336
330
  DESCRIPTION
337
- generate a complete manifest file form the specified org
331
+ Generate a complete manifest file form the specified org.
332
+
338
333
  Use this command to generate a manifest file based on an existing org.
339
334
 
340
335
  EXAMPLES
341
336
  $ sfdx jayree:manifest:generate --targetusername myOrg@example.com
342
-
343
337
  <?xml version='1.0' encoding='UTF-8'?>
344
-
345
338
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
346
339
  ```
347
340
 
348
- _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/generate.ts)_
341
+ _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.2/src/commands/jayree/manifest/generate.ts)_
349
342
 
350
343
  ### `sfdx jayree:manifest:git:diff`
351
344
 
352
- create a manifest and destructiveChanges manifest using 'git diff' data
345
+ Create a project manifest and destructiveChanges manifest that lists the metadata components you want to deploy or delete based on changes in your git history.
353
346
 
354
347
  ```
355
348
  USAGE
356
- $ sfdx jayree:manifest:git:diff [-p <array>] [-o <string>] [-d] [--json] [--loglevel
357
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
349
+ $ sfdx jayree:manifest:git:diff [REF1] [REF2] [--json] [-d <value>] [--output-dir <value>]
350
+ [--destructive-changes-only]
358
351
 
359
352
  ARGUMENTS
360
- REF1 base commit or branch
361
- REF2 commit or branch to compare to the base commit
353
+ REF1 Base commit or branch.
354
+ REF2 Commit or branch to compare to the base commit.
362
355
 
363
356
  FLAGS
364
- -d, --destructivechangesonly create a destructiveChanges manifest
365
- only (package.xml will be empty)
366
- -o, --outputdir=<value> directory to save the created
367
- manifest files
368
- -p, --sourcepath=<value> comma-separated list of source file
369
- paths to limit the diff
370
- --json format output as json
371
- --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
372
- this command invocation
357
+ -d, --source-dir=<value>... Path to the local source files to include in the manifest.
358
+ --destructive-changes-only Create a destructiveChanges manifest only.
359
+ --output-dir=<value> Directory to save the created manifest files.
360
+
361
+ GLOBAL FLAGS
362
+ --json Format output as json.
373
363
 
374
364
  DESCRIPTION
375
- create a manifest and destructiveChanges manifest using 'git diff' data
365
+ Create a project manifest and destructiveChanges manifest that lists the metadata components you want to deploy or
366
+ delete based on changes in your git history.
367
+
376
368
  Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
377
369
  git refs.
378
370
 
379
- You can use all ways to spell <commit> which are valid for 'git diff'.
380
- (See https://git-scm.com/docs/git-diff)
371
+ You can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).
381
372
 
382
373
  EXAMPLES
383
- $ sfdx jayree:manifest:git:diff <commit> <commit>
374
+ Uses the changes between two arbitrary <commit>.
375
+
376
+ $ sfdx jayree:manifest:git:diff <commit> <commit>
377
+ $ sfdx jayree:manifest:git:diff <commit>..<commit>
378
+
379
+ Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
380
+ <commit>.
381
+
382
+ $ sfdx jayree:manifest:git:diff <commit>...<commit>
383
+
384
+ Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).
385
+
386
+ $ sfdx jayree:manifest:git:diff branchA..branchB
387
+
388
+ Uses the diff of what is unique in branchB (REF2).
384
389
 
385
- $ sfdx jayree:manifest:git:diff <commit>..<commit>
390
+ $ sfdx jayree:manifest:git:diff branchA...branchB
386
391
 
387
- uses the changes between two arbitrary <commit>
392
+ Specify the flags before or after the REF args
393
+
394
+ $ sfdx jayree:manifest:git:diff --output-dir package <commit> <commit>
395
+ $ sfdx jayree:manifest:git:diff <commit> <commit> --output-dir package
396
+
397
+ If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir'
398
+ values.
399
+
400
+ $ sfdx jayree:manifest:git:diff --source-dir force-app -- <commit> <commit>
401
+
402
+ FLAG DESCRIPTIONS
403
+ -d, --source-dir=<value>... Path to the local source files to include in the manifest.
388
404
 
389
- $ sfdx jayree:manifest:git:diff <commit>...<commit>
405
+ The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
406
+ (in which case the operation is applied to all metadata types in the directory and its subdirectories).
390
407
 
391
- uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.
408
+ You can specify this flag more than once.
392
409
 
393
- $ sfdx jayree:manifest:git:diff branchA..branchB
410
+ --destructive-changes-only Create a destructiveChanges manifest only.
394
411
 
395
- uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)
412
+ Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.
396
413
 
397
- $ sfdx jayree:manifest:git:diff branchA...branchB
414
+ --output-dir=<value> Directory to save the created manifest files.
398
415
 
399
- uses the diff of what is unique in branchB (REF2)
416
+ The location can be an absolute path or relative to the current working directory.
400
417
  ```
401
418
 
402
- _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/git/diff.ts)_
419
+ _See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.2/src/commands/jayree/manifest/git/diff.ts)_
403
420
 
404
421
  ### `sfdx jayree:org:configure`
405
422
 
@@ -434,7 +451,7 @@ EXAMPLES
434
451
  $ sfdx jayree:org:configure --concurrent --tasks="Asset Settings","Activity Settings"
435
452
  ```
436
453
 
437
- _See code: [src/commands/jayree/org/configure/index.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/org/configure/index.ts)_
454
+ _See code: [src/commands/jayree/org/configure/index.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/org/configure/index.ts)_
438
455
 
439
456
  ### `sfdx jayree:org:configure:country`
440
457
 
@@ -458,7 +475,7 @@ DESCRIPTION
458
475
  update country integration values in the State/Country Picklists
459
476
  ```
460
477
 
461
- _See code: [src/commands/jayree/org/configure/country.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/org/configure/country.ts)_
478
+ _See code: [src/commands/jayree/org/configure/country.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/org/configure/country.ts)_
462
479
 
463
480
  ### `sfdx jayree:org:configure:state`
464
481
 
@@ -487,7 +504,7 @@ DESCRIPTION
487
504
  import (create/update) states into the State/Country Picklists
488
505
  ```
489
506
 
490
- _See code: [src/commands/jayree/org/configure/state.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/org/configure/state.ts)_
507
+ _See code: [src/commands/jayree/org/configure/state.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/org/configure/state.ts)_
491
508
 
492
509
  ### `sfdx jayree:org:settings`
493
510
 
@@ -520,7 +537,7 @@ EXAMPLES
520
537
  $ sfdx jayree:org:settings -u MyTestOrg1 -w
521
538
  ```
522
539
 
523
- _See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/org/settings.ts)_
540
+ _See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/org/settings.ts)_
524
541
 
525
542
  ### `sfdx jayree:org:streaming`
526
543
 
@@ -549,7 +566,7 @@ EXAMPLES
549
566
  ...
550
567
  ```
551
568
 
552
- _See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/org/streaming.ts)_
569
+ _See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/org/streaming.ts)_
553
570
 
554
571
  ### `sfdx jayree:packagedescription:create`
555
572
 
@@ -676,7 +693,7 @@ DESCRIPTION
676
693
  (examples will follow)
677
694
  ```
678
695
 
679
- _See code: [src/commands/jayree/source/fix.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/source/fix.ts)_
696
+ _See code: [src/commands/jayree/source/fix.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/source/fix.ts)_
680
697
 
681
698
  ### `sfdx jayree:source:tracking:list`
682
699
 
@@ -707,7 +724,7 @@ EXAMPLES
707
724
  $ sfdx jayree:source:tracking:list -u me@my.org -r 101
708
725
  ```
709
726
 
710
- _See code: [src/commands/jayree/source/tracking/list.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/source/tracking/list.ts)_
727
+ _See code: [src/commands/jayree/source/tracking/list.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/source/tracking/list.ts)_
711
728
 
712
729
  ### `sfdx jayree:source:tracking:store:get`
713
730
 
@@ -735,7 +752,7 @@ EXAMPLES
735
752
  $ sfdx jayree:source:tracking:store:get -u me@my.org
736
753
  ```
737
754
 
738
- _See code: [src/commands/jayree/source/tracking/store/get.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/source/tracking/store/get.ts)_
755
+ _See code: [src/commands/jayree/source/tracking/store/get.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/source/tracking/store/get.ts)_
739
756
 
740
757
  ### `sfdx jayree:source:tracking:store:set`
741
758
 
@@ -766,7 +783,7 @@ EXAMPLES
766
783
  $ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101
767
784
  ```
768
785
 
769
- _See code: [src/commands/jayree/source/tracking/store/set.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.25/src/commands/jayree/source/tracking/store/set.ts)_
786
+ _See code: [src/commands/jayree/source/tracking/store/set.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.26/src/commands/jayree/source/tracking/store/set.ts)_
770
787
  <!-- commandsstop -->
771
788
 
772
789
  ## Hooks
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.4.25",
2
+ "version": "4.4.26",
3
3
  "commands": {
4
4
  "jayree:flowtestcoverage": {
5
5
  "id": "jayree:flowtestcoverage",
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "name": "sfdx-jayree",
3
3
  "description": "A Salesforce CLI plugin containing commands and hooks for Salesforce Application Lifecycle Management tasks.",
4
- "version": "4.4.25",
4
+ "version": "4.4.26",
5
5
  "author": "jayree <jayree.git@icloud.com>",
6
6
  "bugs": "https://github.com/jayree/sfdx-jayree-plugin/issues",
7
7
  "type": "module",
8
8
  "dependencies": {
9
9
  "@jayree/sfdx-plugin-legacy": "^1.1.25",
10
- "@jayree/sfdx-plugin-manifest": "^2.7.4",
10
+ "@jayree/sfdx-plugin-manifest": "^2.8.2",
11
11
  "@jayree/sfdx-plugin-prettier": "^1.2.25",
12
- "@oclif/core": "^1.24.0",
13
- "@salesforce/command": "^5.2.42",
12
+ "@oclif/core": "^1.26.1",
13
+ "@salesforce/command": "^5.3.0",
14
14
  "@salesforce/kit": "^1.8.5",
15
15
  "@salesforce/source-deploy-retrieve": "^7.9.1",
16
16
  "@salesforce/source-tracking": "^2.2.21",
17
17
  "debug": "^4.3.4",
18
18
  "enquirer": "^2.3.6",
19
- "fast-xml-parser": "^4.0.15",
20
- "fs-extra": "^10.1.0",
19
+ "fast-xml-parser": "^4.1.1",
20
+ "fs-extra": "^11.1.0",
21
21
  "ignore": "^5.2.4",
22
22
  "is-docker": "^3.0.0",
23
23
  "is-wsl": "^2.2.0",
24
24
  "listr2": "^5.0.7",
25
- "marked": "^4.2.4",
25
+ "marked": "^4.2.12",
26
26
  "marked-terminal": "^5.1.1",
27
- "mkdirp": "^1.0.4",
27
+ "mkdirp": "^2.1.3",
28
28
  "object-path": "^0.11.8",
29
- "puppeteer": "^19.6.1",
29
+ "puppeteer": "^19.6.3",
30
30
  "semver": "^7.3.8",
31
31
  "tabletojson": "^2.0.7",
32
32
  "tslib": "^2.5.0"
@@ -34,14 +34,14 @@
34
34
  "devDependencies": {
35
35
  "@commitlint/cli": "^17.4.2",
36
36
  "@commitlint/config-conventional": "^17.4.2",
37
- "@oclif/plugin-command-snapshot": "^3.3.3",
37
+ "@oclif/plugin-command-snapshot": "^3.3.4",
38
38
  "@oclif/plugin-help": "^5.2.4",
39
39
  "@salesforce/dev-config": "^3.1.0",
40
- "@salesforce/dev-scripts": "3.1.0",
40
+ "@salesforce/dev-scripts": "3.1.1",
41
41
  "@salesforce/prettier-config": "^0.0.2",
42
42
  "@salesforce/ts-sinon": "^1.4.5",
43
43
  "@types/chai": "^4.3.4",
44
- "@types/fs-extra": "^9.0.13",
44
+ "@types/fs-extra": "^11.0.1",
45
45
  "@types/jsforce": "^1.11.0",
46
46
  "@types/marked": "^4.0.8",
47
47
  "@types/marked-terminal": "^3.1.3",
@@ -70,10 +70,10 @@
70
70
  "oclif": "^3.6.3",
71
71
  "patch-package": "^6.5.1",
72
72
  "pinst": "^3.0.0",
73
- "prettier": "^2.8.2",
73
+ "prettier": "^2.8.4",
74
74
  "pretty-quick": "^3.1.3",
75
75
  "shx": "^0.3.4",
76
- "sinon": "^14.0.2",
76
+ "sinon": "^15.0.1",
77
77
  "source-map-support": "^0.5.21",
78
78
  "ts-node": "^10.9.1",
79
79
  "typescript": "^4.9.5"