sfdx-jayree 4.4.18 → 4.4.20
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 +31 -0
- package/README.md +101 -21
- package/lib/commands/jayree/flowtestcoverage.js +7 -1
- package/lib/commands/jayree/flowtestcoverage.js.map +1 -1
- package/lib/commands/jayree/org/configure/country.js +7 -1
- package/lib/commands/jayree/org/configure/country.js.map +1 -1
- package/lib/commands/jayree/org/configure/index.js +7 -1
- package/lib/commands/jayree/org/configure/index.js.map +1 -1
- package/lib/commands/jayree/org/configure/state.js +7 -1
- package/lib/commands/jayree/org/configure/state.js.map +1 -1
- package/lib/commands/jayree/org/settings.js +9 -4
- package/lib/commands/jayree/org/settings.js.map +1 -1
- package/lib/commands/jayree/org/streaming.js +7 -1
- package/lib/commands/jayree/org/streaming.js.map +1 -1
- package/lib/commands/jayree/source/fix.js +7 -1
- package/lib/commands/jayree/source/fix.js.map +1 -1
- package/lib/commands/jayree/source/tracking/list.js +9 -4
- package/lib/commands/jayree/source/tracking/list.js.map +1 -1
- package/lib/commands/jayree/source/tracking/store/get.js +8 -3
- package/lib/commands/jayree/source/tracking/store/get.js.map +1 -1
- package/lib/commands/jayree/source/tracking/store/set.js +8 -3
- package/lib/commands/jayree/source/tracking/store/set.js.map +1 -1
- package/lib/commands/jayree/version.js +7 -2
- package/lib/commands/jayree/version.js.map +1 -1
- package/lib/hooks/changelog.js +7 -2
- package/lib/hooks/changelog.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
## [4.4.20](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.4.19...v4.4.20) (2023-01-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump @jayree/sfdx-plugin-legacy from 1.1.18 to 1.1.19 ([#507](https://github.com/jayree/sfdx-jayree-plugin/issues/507)) ([7a69e34](https://github.com/jayree/sfdx-jayree-plugin/commit/7a69e34bce435de34fb6df744cff6c7c31a3a40b))
|
|
7
|
+
* **deps:** bump @jayree/sfdx-plugin-manifest from 2.6.3 to 2.7.1 ([#508](https://github.com/jayree/sfdx-jayree-plugin/issues/508)) ([62cd533](https://github.com/jayree/sfdx-jayree-plugin/commit/62cd5334fc5fcdade26c392f599c70f75e930903))
|
|
8
|
+
* **deps:** bump @jayree/sfdx-plugin-prettier from 1.2.18 to 1.2.19 ([#498](https://github.com/jayree/sfdx-jayree-plugin/issues/498)) ([90d83ba](https://github.com/jayree/sfdx-jayree-plugin/commit/90d83ba567d609da1421a9765498da64c2612bf3))
|
|
9
|
+
* **deps:** bump @oclif/core from 1.23.1 to 1.24.0 ([#501](https://github.com/jayree/sfdx-jayree-plugin/issues/501)) ([5fc1894](https://github.com/jayree/sfdx-jayree-plugin/commit/5fc18940ca0d57ac5aa8f4a4714ec38436e72526))
|
|
10
|
+
* **deps:** bump @salesforce/command from 5.2.37 to 5.2.40 ([#512](https://github.com/jayree/sfdx-jayree-plugin/issues/512)) ([ef621ff](https://github.com/jayree/sfdx-jayree-plugin/commit/ef621ff9c6205600479fb6ba754e4943dc51a397))
|
|
11
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 7.5.22 to 7.6.0 ([#503](https://github.com/jayree/sfdx-jayree-plugin/issues/503)) ([849ebb8](https://github.com/jayree/sfdx-jayree-plugin/commit/849ebb8e97ad309268a35b656d37ee08f114fb4a))
|
|
12
|
+
* **deps:** bump fast-xml-parser from 4.0.12 to 4.0.13 ([#505](https://github.com/jayree/sfdx-jayree-plugin/issues/505)) ([c6e33e7](https://github.com/jayree/sfdx-jayree-plugin/commit/c6e33e735e6bf27774234fa034e77760016707b7))
|
|
13
|
+
* **deps:** bump puppeteer from 19.4.1 to 19.5.1 ([#504](https://github.com/jayree/sfdx-jayree-plugin/issues/504)) ([216ac0f](https://github.com/jayree/sfdx-jayree-plugin/commit/216ac0fbc20e2bce5964df69a030e9738dc890bc))
|
|
14
|
+
* restore windows compatibility ([7b37318](https://github.com/jayree/sfdx-jayree-plugin/commit/7b3731804eaa02c617fbf8f832119c11257cc70c))
|
|
15
|
+
|
|
16
|
+
## [4.4.19](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.4.18...v4.4.19) (2023-01-06)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **deps:** bump @jayree/sfdx-plugin-legacy from 1.1.16 to 1.1.17 ([#480](https://github.com/jayree/sfdx-jayree-plugin/issues/480)) ([51ad06d](https://github.com/jayree/sfdx-jayree-plugin/commit/51ad06d77628f6d53244123e8cda0b6401cf62bc))
|
|
22
|
+
* **deps:** bump @jayree/sfdx-plugin-legacy from 1.1.17 to 1.1.18 ([#497](https://github.com/jayree/sfdx-jayree-plugin/issues/497)) ([367fafc](https://github.com/jayree/sfdx-jayree-plugin/commit/367fafcaa44820955653bd654d26f143fb1dd6da))
|
|
23
|
+
* **deps:** bump @jayree/sfdx-plugin-manifest from 2.5.2 to 2.6.3 ([#493](https://github.com/jayree/sfdx-jayree-plugin/issues/493)) ([44efdba](https://github.com/jayree/sfdx-jayree-plugin/commit/44efdba16b54056641e557e60e8fa488c6310c5a))
|
|
24
|
+
* **deps:** bump @jayree/sfdx-plugin-prettier from 1.2.16 to 1.2.17 ([#485](https://github.com/jayree/sfdx-jayree-plugin/issues/485)) ([28f4143](https://github.com/jayree/sfdx-jayree-plugin/commit/28f4143557e28535e4688a41b7f3587ec5445056))
|
|
25
|
+
* **deps:** bump @jayree/sfdx-plugin-prettier from 1.2.17 to 1.2.18 ([#494](https://github.com/jayree/sfdx-jayree-plugin/issues/494)) ([7cff8d0](https://github.com/jayree/sfdx-jayree-plugin/commit/7cff8d0e087434da3e0fa5d7fe9310254b1aa85e))
|
|
26
|
+
* **deps:** bump @salesforce/command from 5.2.35 to 5.2.37 ([#482](https://github.com/jayree/sfdx-jayree-plugin/issues/482)) ([e541595](https://github.com/jayree/sfdx-jayree-plugin/commit/e541595b25be626d6f355ba68168842e5df26199))
|
|
27
|
+
* **deps:** bump @salesforce/kit from 1.8.0 to 1.8.2 ([#477](https://github.com/jayree/sfdx-jayree-plugin/issues/477)) ([3bfcb12](https://github.com/jayree/sfdx-jayree-plugin/commit/3bfcb121554079629d41594d1547d49731df98b4))
|
|
28
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 7.5.19 to 7.5.22 ([#481](https://github.com/jayree/sfdx-jayree-plugin/issues/481)) ([e84827c](https://github.com/jayree/sfdx-jayree-plugin/commit/e84827ca4a1f24267cc9ebcfed60bc131b5e1669))
|
|
29
|
+
* **deps:** bump @salesforce/source-tracking from 2.2.15 to 2.2.17 ([#475](https://github.com/jayree/sfdx-jayree-plugin/issues/475)) ([7beb1eb](https://github.com/jayree/sfdx-jayree-plugin/commit/7beb1eb0118ccda07eeeb788de7ba4c264a269af))
|
|
30
|
+
* **deps:** bump json5 from 1.0.1 to 1.0.2 ([#483](https://github.com/jayree/sfdx-jayree-plugin/issues/483)) ([ab48d70](https://github.com/jayree/sfdx-jayree-plugin/commit/ab48d705467e257b5feef91d476c565e398992f4))
|
|
31
|
+
|
|
1
32
|
## [4.4.18](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.4.17...v4.4.18) (2023-01-02)
|
|
2
33
|
|
|
3
34
|
|
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.
|
|
27
|
+
sfdx-jayree 4.4.20
|
|
28
28
|
$ sfdx help jayree:[COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ sfdx jayree:COMMAND
|
|
@@ -39,6 +39,7 @@ USAGE
|
|
|
39
39
|
* [`sfdx jayree:automation:changeset:list`](#sfdx-jayreeautomationchangesetlist)
|
|
40
40
|
* [`sfdx jayree:automation:ltngsync:status`](#sfdx-jayreeautomationltngsyncstatus)
|
|
41
41
|
* [`sfdx jayree:flowtestcoverage`](#sfdx-jayreeflowtestcoverage)
|
|
42
|
+
* [`sfdx jayree:manifest:beta:git:diff`](#sfdx-jayreemanifestbetagitdiff)
|
|
42
43
|
* [`sfdx jayree:manifest:cleanup`](#sfdx-jayreemanifestcleanup)
|
|
43
44
|
* [`sfdx jayree:manifest:generate`](#sfdx-jayreemanifestgenerate)
|
|
44
45
|
* [`sfdx jayree:manifest:git:diff`](#sfdx-jayreemanifestgitdiff)
|
|
@@ -102,7 +103,7 @@ EXAMPLES
|
|
|
102
103
|
❯ ChangeSet1
|
|
103
104
|
```
|
|
104
105
|
|
|
105
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
106
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/automation/changeset/deploy.ts)_
|
|
106
107
|
|
|
107
108
|
### `sfdx jayree:automation:changeset:list`
|
|
108
109
|
|
|
@@ -126,7 +127,7 @@ DESCRIPTION
|
|
|
126
127
|
list incomming change sets of an org (beta)
|
|
127
128
|
```
|
|
128
129
|
|
|
129
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
130
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/automation/changeset/list.ts)_
|
|
130
131
|
|
|
131
132
|
### `sfdx jayree:automation:ltngsync:status`
|
|
132
133
|
|
|
@@ -164,7 +165,7 @@ EXAMPLES
|
|
|
164
165
|
userContacts/userEvents: Exchange to Salesforce sync status... Initial sync completed/Initial sync completed
|
|
165
166
|
```
|
|
166
167
|
|
|
167
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
168
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/automation/ltngsync/status.ts)_
|
|
168
169
|
|
|
169
170
|
### `sfdx jayree:flowtestcoverage`
|
|
170
171
|
|
|
@@ -194,7 +195,86 @@ EXAMPLES
|
|
|
194
195
|
...
|
|
195
196
|
```
|
|
196
197
|
|
|
197
|
-
_See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
198
|
+
_See code: [src/commands/jayree/flowtestcoverage.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/flowtestcoverage.ts)_
|
|
199
|
+
|
|
200
|
+
### `sfdx jayree:manifest:beta:git:diff`
|
|
201
|
+
|
|
202
|
+
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.
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
USAGE
|
|
206
|
+
$ sfdx jayree:manifest:beta:git:diff [REF1] [REF2] [--json] [--api-version <value>] [-d <value>] [--output-dir <value>]
|
|
207
|
+
[--destructive-changes-only]
|
|
208
|
+
|
|
209
|
+
ARGUMENTS
|
|
210
|
+
REF1 base commit or branch
|
|
211
|
+
REF2 commit or branch to compare to the base commit
|
|
212
|
+
|
|
213
|
+
FLAGS
|
|
214
|
+
-d, --source-dir=<value>... Path to the local source files to include in the manifest.
|
|
215
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
216
|
+
--destructive-changes-only Create a destructiveChanges manifest only.
|
|
217
|
+
--output-dir=<value> Directory to save the created manifest files.
|
|
218
|
+
|
|
219
|
+
GLOBAL FLAGS
|
|
220
|
+
--json Format output as json.
|
|
221
|
+
|
|
222
|
+
DESCRIPTION
|
|
223
|
+
Create a project manifest and destructiveChanges manifest that lists the metadata components you want to deploy or
|
|
224
|
+
delete based on changes in your git history.
|
|
225
|
+
|
|
226
|
+
Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
|
|
227
|
+
git refs.
|
|
228
|
+
|
|
229
|
+
You can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).
|
|
230
|
+
|
|
231
|
+
EXAMPLES
|
|
232
|
+
Uses the changes between two arbitrary <commit>.
|
|
233
|
+
|
|
234
|
+
$ sfdx jayree:manifest:beta:git:diff <commit> <commit>
|
|
235
|
+
$ sfdx jayree:manifest:beta:git:diff <commit>..<commit>
|
|
236
|
+
|
|
237
|
+
Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
|
|
238
|
+
<commit>.
|
|
239
|
+
|
|
240
|
+
$ sfdx jayree:manifest:beta:git:diff <commit>...<commit>
|
|
241
|
+
|
|
242
|
+
Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).
|
|
243
|
+
|
|
244
|
+
$ sfdx jayree:manifest:beta:git:diff branchA..branchB
|
|
245
|
+
|
|
246
|
+
Uses the diff of what is unique in branchB (REF2).
|
|
247
|
+
|
|
248
|
+
$ sfdx jayree:manifest:beta:git:diff branchA...branchB
|
|
249
|
+
|
|
250
|
+
Specify the flags before or after the REF args
|
|
251
|
+
|
|
252
|
+
$ sfdx jayree:manifest:beta:git:diff --output-dir package <commit> <commit>
|
|
253
|
+
$ sfdx jayree:manifest:beta:git:diff <commit> <commit> --output-dir package
|
|
254
|
+
|
|
255
|
+
If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir'
|
|
256
|
+
values.
|
|
257
|
+
|
|
258
|
+
$ sfdx jayree:manifest:beta:git:diff --source-dir force-app -- <commit> <commit>
|
|
259
|
+
|
|
260
|
+
FLAG DESCRIPTIONS
|
|
261
|
+
-d, --source-dir=<value>... Path to the local source files to include in the manifest.
|
|
262
|
+
|
|
263
|
+
The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
|
|
264
|
+
(in which case the operation is applied to all metadata types in the directory and its subdirectories).
|
|
265
|
+
|
|
266
|
+
You can specify this flag more than once.
|
|
267
|
+
|
|
268
|
+
--destructive-changes-only Create a destructiveChanges manifest only.
|
|
269
|
+
|
|
270
|
+
Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.
|
|
271
|
+
|
|
272
|
+
--output-dir=<value> Directory to save the created manifest files.
|
|
273
|
+
|
|
274
|
+
The location can be an absolute path or relative to the current working directory.
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.1/src/commands/jayree/manifest/beta/git/diff.ts)_
|
|
198
278
|
|
|
199
279
|
### `sfdx jayree:manifest:cleanup`
|
|
200
280
|
|
|
@@ -222,7 +302,7 @@ EXAMPLES
|
|
|
222
302
|
$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
|
|
223
303
|
```
|
|
224
304
|
|
|
225
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.
|
|
305
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.1/src/commands/jayree/manifest/cleanup.ts)_
|
|
226
306
|
|
|
227
307
|
### `sfdx jayree:manifest:generate`
|
|
228
308
|
|
|
@@ -265,7 +345,7 @@ EXAMPLES
|
|
|
265
345
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
|
266
346
|
```
|
|
267
347
|
|
|
268
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.
|
|
348
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.1/src/commands/jayree/manifest/generate.ts)_
|
|
269
349
|
|
|
270
350
|
### `sfdx jayree:manifest:git:diff`
|
|
271
351
|
|
|
@@ -319,7 +399,7 @@ EXAMPLES
|
|
|
319
399
|
uses the diff of what is unique in branchB (REF2)
|
|
320
400
|
```
|
|
321
401
|
|
|
322
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.
|
|
402
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.1/src/commands/jayree/manifest/git/diff.ts)_
|
|
323
403
|
|
|
324
404
|
### `sfdx jayree:org:configure`
|
|
325
405
|
|
|
@@ -354,7 +434,7 @@ EXAMPLES
|
|
|
354
434
|
$ sfdx jayree:org:configure --concurrent --tasks="Asset Settings","Activity Settings"
|
|
355
435
|
```
|
|
356
436
|
|
|
357
|
-
_See code: [src/commands/jayree/org/configure/index.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
437
|
+
_See code: [src/commands/jayree/org/configure/index.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/org/configure/index.ts)_
|
|
358
438
|
|
|
359
439
|
### `sfdx jayree:org:configure:country`
|
|
360
440
|
|
|
@@ -378,7 +458,7 @@ DESCRIPTION
|
|
|
378
458
|
update country integration values in the State/Country Picklists
|
|
379
459
|
```
|
|
380
460
|
|
|
381
|
-
_See code: [src/commands/jayree/org/configure/country.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
461
|
+
_See code: [src/commands/jayree/org/configure/country.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/org/configure/country.ts)_
|
|
382
462
|
|
|
383
463
|
### `sfdx jayree:org:configure:state`
|
|
384
464
|
|
|
@@ -407,7 +487,7 @@ DESCRIPTION
|
|
|
407
487
|
import (create/update) states into the State/Country Picklists
|
|
408
488
|
```
|
|
409
489
|
|
|
410
|
-
_See code: [src/commands/jayree/org/configure/state.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
490
|
+
_See code: [src/commands/jayree/org/configure/state.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/org/configure/state.ts)_
|
|
411
491
|
|
|
412
492
|
### `sfdx jayree:org:settings`
|
|
413
493
|
|
|
@@ -440,7 +520,7 @@ EXAMPLES
|
|
|
440
520
|
$ sfdx jayree:org:settings -u MyTestOrg1 -w
|
|
441
521
|
```
|
|
442
522
|
|
|
443
|
-
_See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
523
|
+
_See code: [src/commands/jayree/org/settings.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/org/settings.ts)_
|
|
444
524
|
|
|
445
525
|
### `sfdx jayree:org:streaming`
|
|
446
526
|
|
|
@@ -469,7 +549,7 @@ EXAMPLES
|
|
|
469
549
|
...
|
|
470
550
|
```
|
|
471
551
|
|
|
472
|
-
_See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
552
|
+
_See code: [src/commands/jayree/org/streaming.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/org/streaming.ts)_
|
|
473
553
|
|
|
474
554
|
### `sfdx jayree:packagedescription:create`
|
|
475
555
|
|
|
@@ -494,7 +574,7 @@ EXAMPLES
|
|
|
494
574
|
$ sfdx jayree:packagedescription:create --file FILENAME --description 'DESCRIPTION'
|
|
495
575
|
```
|
|
496
576
|
|
|
497
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
577
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/packagedescription/create.ts)_
|
|
498
578
|
|
|
499
579
|
### `sfdx jayree:packagedescription:get`
|
|
500
580
|
|
|
@@ -519,7 +599,7 @@ EXAMPLES
|
|
|
519
599
|
Description of Package FILENAME
|
|
520
600
|
```
|
|
521
601
|
|
|
522
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
602
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/packagedescription/get.ts)_
|
|
523
603
|
|
|
524
604
|
### `sfdx jayree:packagedescription:remove`
|
|
525
605
|
|
|
@@ -543,7 +623,7 @@ EXAMPLES
|
|
|
543
623
|
$ sfdx jayree:packagedescription:remove --file FILENAME
|
|
544
624
|
```
|
|
545
625
|
|
|
546
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
626
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/packagedescription/remove.ts)_
|
|
547
627
|
|
|
548
628
|
### `sfdx jayree:packagedescription:set`
|
|
549
629
|
|
|
@@ -568,7 +648,7 @@ EXAMPLES
|
|
|
568
648
|
$ sfdx jayree:packagedescription:set --file FILENAME --description 'NEW DESCRIPTION'
|
|
569
649
|
```
|
|
570
650
|
|
|
571
|
-
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.
|
|
651
|
+
_See code: [@jayree/sfdx-plugin-legacy](https://github.com/jayree/sfdx-plugin-legacy/blob/v1.1.19/src/commands/jayree/packagedescription/set.ts)_
|
|
572
652
|
|
|
573
653
|
### `sfdx jayree:source:fix`
|
|
574
654
|
|
|
@@ -596,7 +676,7 @@ DESCRIPTION
|
|
|
596
676
|
(examples will follow)
|
|
597
677
|
```
|
|
598
678
|
|
|
599
|
-
_See code: [src/commands/jayree/source/fix.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
679
|
+
_See code: [src/commands/jayree/source/fix.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/source/fix.ts)_
|
|
600
680
|
|
|
601
681
|
### `sfdx jayree:source:tracking:list`
|
|
602
682
|
|
|
@@ -627,7 +707,7 @@ EXAMPLES
|
|
|
627
707
|
$ sfdx jayree:source:tracking:list -u me@my.org -r 101
|
|
628
708
|
```
|
|
629
709
|
|
|
630
|
-
_See code: [src/commands/jayree/source/tracking/list.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
710
|
+
_See code: [src/commands/jayree/source/tracking/list.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/source/tracking/list.ts)_
|
|
631
711
|
|
|
632
712
|
### `sfdx jayree:source:tracking:store:get`
|
|
633
713
|
|
|
@@ -655,7 +735,7 @@ EXAMPLES
|
|
|
655
735
|
$ sfdx jayree:source:tracking:store:get -u me@my.org
|
|
656
736
|
```
|
|
657
737
|
|
|
658
|
-
_See code: [src/commands/jayree/source/tracking/store/get.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
738
|
+
_See code: [src/commands/jayree/source/tracking/store/get.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/source/tracking/store/get.ts)_
|
|
659
739
|
|
|
660
740
|
### `sfdx jayree:source:tracking:store:set`
|
|
661
741
|
|
|
@@ -686,7 +766,7 @@ EXAMPLES
|
|
|
686
766
|
$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101
|
|
687
767
|
```
|
|
688
768
|
|
|
689
|
-
_See code: [src/commands/jayree/source/tracking/store/set.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.
|
|
769
|
+
_See code: [src/commands/jayree/source/tracking/store/set.ts](https://github.com/jayree/sfdx-jayree-plugin/blob/v4.4.20/src/commands/jayree/source/tracking/store/set.ts)_
|
|
690
770
|
<!-- commandsstop -->
|
|
691
771
|
|
|
692
772
|
## Hooks
|
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
import { SfdxCommand } from '@salesforce/command';
|
|
8
10
|
import { Messages } from '@salesforce/core';
|
|
9
|
-
|
|
11
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
12
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
14
|
+
const __dirname = dirname(__filename);
|
|
15
|
+
Messages.importMessagesDirectory(__dirname);
|
|
10
16
|
const messages = Messages.loadMessages('sfdx-jayree', 'flowtestcoverage');
|
|
11
17
|
export default class FlowTestCoverage extends SfdxCommand {
|
|
12
18
|
async run() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowtestcoverage.js","sourceRoot":"","sources":["../../../src/commands/jayree/flowtestcoverage.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,
|
|
1
|
+
{"version":3,"file":"flowtestcoverage.js","sourceRoot":"","sources":["../../../src/commands/jayree/flowtestcoverage.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,gDAAgD;AAChD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,gDAAgD;AAChD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAA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@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
import { createRequire } from 'module';
|
|
8
|
+
import { dirname } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
8
10
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
9
11
|
import { Messages } from '@salesforce/core';
|
|
10
12
|
import chalk from 'chalk';
|
|
@@ -14,7 +16,11 @@ import { Tabletojson as tabletojson } from 'tabletojson';
|
|
|
14
16
|
import config from '../../../../utils/config.js';
|
|
15
17
|
const require = createRequire(import.meta.url);
|
|
16
18
|
const CSconfig = require('../../../../../config/countrystate.json');
|
|
17
|
-
|
|
19
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
22
|
+
const __dirname = dirname(__filename);
|
|
23
|
+
Messages.importMessagesDirectory(__dirname);
|
|
18
24
|
const messages = Messages.loadMessages('sfdx-jayree', 'createstatecountry');
|
|
19
25
|
export default class UpdateCountry extends SfdxCommand {
|
|
20
26
|
async run() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/org/configure/country.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,MAAM,MAAM,6BA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AG,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;AAE5D,yBAAW,GAAG;IAC7B,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;QACzD,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,IAAI;KACb,CAAC;CACH,CAAC;AAEe,8BAAgB,GAAG,IAAI,CAAC;AACxB,oCAAsB,GAAG,KAAK,CAAC;AAC/B,6BAAe,GAAG,KAAK,CAAC"}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
8
10
|
import { Messages } from '@salesforce/core';
|
|
9
11
|
import { traverse } from '@salesforce/core/lib/util/internal.js';
|
|
@@ -12,7 +14,11 @@ import kit from '@salesforce/kit';
|
|
|
12
14
|
import Debug from 'debug';
|
|
13
15
|
import config from '../../../../utils/config.js';
|
|
14
16
|
import { PuppeteerConfigureTasks } from '../../../../utils/puppeteer/configuretasks.js';
|
|
15
|
-
|
|
17
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
18
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
19
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
20
|
+
const __dirname = dirname(__filename);
|
|
21
|
+
Messages.importMessagesDirectory(__dirname);
|
|
16
22
|
const messages = Messages.loadMessages('sfdx-jayree', 'configure');
|
|
17
23
|
const logger = new Logger({ useIcons: false });
|
|
18
24
|
const debug = Debug('jayree:org:configure');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/org/configure/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAExF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/org/configure/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAExF,gDAAgD;AAChD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,gDAAgD;AAChD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,QAAQ,CAAC,uBAA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aAChB;YACD,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;SACjB;IACH,CAAC;;AApHa,wBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,qBAAQ,GAAG;IACvB;;;sFAGkF;CACnF,CAAC;AAEe,wBAAW,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC;KAC1C,CAAC;IACF,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC;QACxB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC;QAC9C,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAC;AAEe,6BAAgB,GAAG,IAAI,CAAC;AACxB,mCAAsB,GAAG,KAAK,CAAC;AAC/B,4BAAe,GAAG,KAAK,CAAC"}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
8
10
|
import { Messages } from '@salesforce/core';
|
|
9
11
|
import { Logger, Listr } from 'listr2';
|
|
@@ -12,7 +14,11 @@ import Enquirer from 'enquirer';
|
|
|
12
14
|
import Debug from 'debug';
|
|
13
15
|
import { MyDefaultRenderer } from '../../../../utils/renderer.js';
|
|
14
16
|
import { PuppeteerStateTasks } from '../../../../utils/puppeteer/statetasks.js';
|
|
15
|
-
|
|
17
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
18
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
19
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
20
|
+
const __dirname = dirname(__filename);
|
|
21
|
+
Messages.importMessagesDirectory(__dirname);
|
|
16
22
|
const messages = Messages.loadMessages('sfdx-jayree', 'createstatecountry');
|
|
17
23
|
const logger = new Logger({ useIcons: false });
|
|
18
24
|
const debug = Debug('jayree:x:y');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/org/configure/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/org/configure/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,mBAA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F,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC;QACxB,WAAW,EAAE,KAAK;QAClB,OAAO,EAAE,CAAC;KACX,CAAC;CACH,CAAC;AAEe,4BAAgB,GAAG,IAAI,CAAC;AACxB,kCAAsB,GAAG,KAAK,CAAC;AAC/B,2BAAe,GAAG,KAAK,CAAC"}
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import path from 'path';
|
|
8
7
|
import os from 'os';
|
|
8
|
+
import { dirname, join } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
9
10
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
10
11
|
import { Messages, SfProject } from '@salesforce/core';
|
|
11
12
|
import createDebug from 'debug';
|
|
@@ -13,7 +14,11 @@ import fs from 'fs-extra';
|
|
|
13
14
|
import { ComponentSet } from '@salesforce/source-deploy-retrieve';
|
|
14
15
|
import mkdirp from 'mkdirp';
|
|
15
16
|
import { parseSourceComponent } from '../../../utils/xml.js';
|
|
16
|
-
|
|
17
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
18
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
19
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
20
|
+
const __dirname = dirname(__filename);
|
|
21
|
+
Messages.importMessagesDirectory(__dirname);
|
|
17
22
|
const messages = Messages.loadMessages('sfdx-jayree', 'scratchorgsettings');
|
|
18
23
|
function camelize(str) {
|
|
19
24
|
return str.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g, (match, index) => {
|
|
@@ -48,7 +53,7 @@ export default class ScratchOrgSettings extends SfdxCommand {
|
|
|
48
53
|
};
|
|
49
54
|
let settings = {};
|
|
50
55
|
const targetDir = process.env.SFDX_MDAPI_TEMP_DIR || os.tmpdir();
|
|
51
|
-
const destRoot =
|
|
56
|
+
const destRoot = join(targetDir, 'RetrieveSettings');
|
|
52
57
|
// this.ux.startSpinner('Generating settings');
|
|
53
58
|
try {
|
|
54
59
|
await mkdirp(destRoot, '700');
|
|
@@ -137,7 +142,7 @@ export default class ScratchOrgSettings extends SfdxCommand {
|
|
|
137
142
|
if (this.flags.writetoprojectscratchdeffile) {
|
|
138
143
|
const deffilepath =
|
|
139
144
|
// eslint-disable-next-line @typescript-eslint/await-thenable
|
|
140
|
-
this.flags.file ||
|
|
145
|
+
this.flags.file || join(await this.project.getPath(), 'config', 'project-scratch-def.json');
|
|
141
146
|
let deffile = {};
|
|
142
147
|
await fs
|
|
143
148
|
.readFile(deffilepath, 'utf8')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/commands/jayree/org/settings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,
|
|
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;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,WAAW,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,MAAM,UAAU,CA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AExD,2BAAQ,GAAG;IACvB;;4CAEwC;CACzC,CAAC;AAEe,8BAAW,GAAG;IAC7B,4BAA4B,EAAE,KAAK,CAAC,OAAO,CAAC;QAC1C,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC;KACjE,CAAC;IACF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACxD,CAAC;CACH,CAAC;AAEe,mCAAgB,GAAG,IAAI,CAAC;AACxB,yCAAsB,GAAG,KAAK,CAAC;AAC/B,kCAAe,GAAG,IAAI,CAAC"}
|
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
8
10
|
import { Messages } from '@salesforce/core';
|
|
9
|
-
|
|
11
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
12
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
14
|
+
const __dirname = dirname(__filename);
|
|
15
|
+
Messages.importMessagesDirectory(__dirname);
|
|
10
16
|
const messages = Messages.loadMessages('sfdx-jayree', 'streaming');
|
|
11
17
|
export default class Streaming extends SfdxCommand {
|
|
12
18
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming.js","sourceRoot":"","sources":["../../../../src/commands/jayree/org/streaming.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACz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UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,kBAAQ,GAAG;IACvB;;CAEH;CACE,CAAC;AAEe,qBAAW,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KACzD,CAAC;CACH,CAAC;AAEe,0BAAgB,GAAG,IAAI,CAAC;AACxB,gCAAsB,GAAG,KAAK,CAAC;AAC/B,yBAAe,GAAG,KAAK,CAAC"}
|
|
@@ -4,10 +4,16 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
8
10
|
import { Messages } from '@salesforce/core';
|
|
9
11
|
import { applyFixes, logFixes } from '../../../utils/souceUtils.js';
|
|
10
|
-
|
|
12
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
13
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
14
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
15
|
+
const __dirname = dirname(__filename);
|
|
16
|
+
Messages.importMessagesDirectory(__dirname);
|
|
11
17
|
const messages = Messages.loadMessages('sfdx-jayree', 'sourceretrievefix');
|
|
12
18
|
export default class FixMetadata extends SfdxCommand {
|
|
13
19
|
async run() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fix.js","sourceRoot":"","sources":["../../../../src/commands/jayree/source/fix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE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,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;YAC5C,OAAO,EAAE,YAAY;SACtB,CAAC;IACJ,CAAC;;AA1Ca,uBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAEtE;;;;;;KAMK;AAEY,uBAAW,GAAG;IAC7B,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC;QACf,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;KACxC,CAAC;IACF,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;QACvC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;KAC5C,CAAC;CACH,CAAC;AAEe,4BAAgB,GAAG,IAAI,CAAC;AACxB,kCAAsB,GAAG,KAAK,CAAC;AAC/B,2BAAe,GAAG,IAAI,CAAC"}
|
|
@@ -5,20 +5,25 @@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
/* eslint-disable no-console */
|
|
8
|
-
import
|
|
8
|
+
import { dirname, join } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
9
10
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
10
11
|
import { Messages } from '@salesforce/core';
|
|
11
12
|
import fs from 'fs-extra';
|
|
12
13
|
import chalk from 'chalk';
|
|
13
14
|
import { getCurrentStateFolderFilePath } from '../../../../utils/stateFolderHandler.js';
|
|
14
|
-
|
|
15
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
18
|
+
const __dirname = dirname(__filename);
|
|
19
|
+
Messages.importMessagesDirectory(__dirname);
|
|
15
20
|
const messages = Messages.loadMessages('sfdx-jayree', 'scratchorgtrackinglist');
|
|
16
21
|
export default class SourceTrackingList extends SfdxCommand {
|
|
17
22
|
async run() {
|
|
18
23
|
const conn = this.org.getConnection();
|
|
19
24
|
const { records: [{ maxCounter, maxNum }], } = await conn.tooling.query('SELECT MAX(RevisionCounter) maxCounter,MAX(RevisionNum) maxNum from SourceMember');
|
|
20
25
|
const maxRev = maxCounter >= maxNum ? maxCounter : maxNum;
|
|
21
|
-
const maxrevpath = await getCurrentStateFolderFilePath(this.project.getPath(),
|
|
26
|
+
const maxrevpath = await getCurrentStateFolderFilePath(this.project.getPath(), join('orgs', this.org.getOrgId(), 'maxRevision.json'), false);
|
|
22
27
|
let maxrevfile;
|
|
23
28
|
try {
|
|
24
29
|
const json = await fs.readJSON(maxrevpath);
|
|
@@ -41,7 +46,7 @@ export default class SourceTrackingList extends SfdxCommand {
|
|
|
41
46
|
}
|
|
42
47
|
let storedServerMaxRevisionCounter;
|
|
43
48
|
try {
|
|
44
|
-
const { serverMaxRevisionCounter } = await fs.readJSON(await getCurrentStateFolderFilePath(this.project.getPath(),
|
|
49
|
+
const { serverMaxRevisionCounter } = await fs.readJSON(await getCurrentStateFolderFilePath(this.project.getPath(), join('orgs', this.org.getOrgId(), 'jayreeStoredMaxRevision.json'), true), { throws: false });
|
|
45
50
|
storedServerMaxRevisionCounter = serverMaxRevisionCounter;
|
|
46
51
|
// eslint-disable-next-line no-empty
|
|
47
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/source/tracking/list.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,+BAA+B;AAC/B,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/source/tracking/list.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,+BAA+B;AAC/B,OAAO,EAAE,OAAO,EAAE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,GAAG,IAAI,CAAC"}
|
|
@@ -4,17 +4,22 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import { dirname, join } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
8
9
|
import { SfdxCommand } from '@salesforce/command';
|
|
9
10
|
import { Messages } from '@salesforce/core';
|
|
10
11
|
import fs from 'fs-extra';
|
|
11
12
|
import chalk from 'chalk';
|
|
12
13
|
import { getCurrentStateFolderFilePath } from '../../../../../utils/stateFolderHandler.js';
|
|
13
|
-
|
|
14
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
15
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
16
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
17
|
+
const __dirname = dirname(__filename);
|
|
18
|
+
Messages.importMessagesDirectory(__dirname);
|
|
14
19
|
const messages = Messages.loadMessages('sfdx-jayree', 'scratchorgtrackingget');
|
|
15
20
|
export default class ScratchOrgRevisionInfo extends SfdxCommand {
|
|
16
21
|
async run() {
|
|
17
|
-
const { serverMaxRevisionCounter } = await fs.readJSON(await getCurrentStateFolderFilePath(this.project.getPath(),
|
|
22
|
+
const { serverMaxRevisionCounter } = await fs.readJSON(await getCurrentStateFolderFilePath(this.project.getPath(), join('orgs', this.org.getOrgId(), 'jayreeStoredMaxRevision.json'), true), { throws: false });
|
|
18
23
|
this.ux.styledHeader(chalk.blue('Get stored SourceMember revision counter number'));
|
|
19
24
|
this.ux.table([
|
|
20
25
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../../src/commands/jayree/source/tracking/store/get.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"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,GAAG,CAAC,WAAW,EAAE;gBAChC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE;gBAC1B,wBAAwB,EAAE,wBAAwB,CAAC,QAAQ,EAAE;aAC9D;SACF,EACD;YACE,QAAQ,EAAE;gBACR,MAAM,EAAE,UAAU;gBAClB,GAAG,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ;aAChC;YACD,KAAK,EAAE;gBACL,MAAM,EAAE,OAAO;gBACf,GAAG,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK;aAC7B;YACD,eAAe,EAAE;gBACf,MAAM,EAAE,iBAAiB;gBACzB,GAAG,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,wBAAwB;aAChD;SACF,CACF,CAAC;QACF,OAAO;YACL,QAAQ,EAAE,wBAAwB;YAClC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE;SACjC,CAAC;IACJ,CAAC;;AAhDa,kCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,+BAAQ,GAAG;IACvB;qDACiD;CAClD,CAAC;AAEe,uCAAgB,GAAG,IAAI,CAAC;AACxB,6CAAsB,GAAG,KAAK,CAAC;AAC/B,sCAAe,GAAG,IAAI,CAAC"}
|
|
@@ -4,13 +4,18 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import { dirname, join } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
8
9
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
9
10
|
import { Messages } from '@salesforce/core';
|
|
10
11
|
import fs from 'fs-extra';
|
|
11
12
|
import chalk from 'chalk';
|
|
12
13
|
import { getCurrentStateFolderFilePath } from '../../../../../utils/stateFolderHandler.js';
|
|
13
|
-
|
|
14
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
15
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
16
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
17
|
+
const __dirname = dirname(__filename);
|
|
18
|
+
Messages.importMessagesDirectory(__dirname);
|
|
14
19
|
const messages = Messages.loadMessages('sfdx-jayree', 'scratchorgtrackingset');
|
|
15
20
|
export default class ScratchOrgRevisionInfo extends SfdxCommand {
|
|
16
21
|
async run() {
|
|
@@ -20,7 +25,7 @@ export default class ScratchOrgRevisionInfo extends SfdxCommand {
|
|
|
20
25
|
if (!maxRev) {
|
|
21
26
|
maxRev = 0;
|
|
22
27
|
}
|
|
23
|
-
const storedmaxrevpath = await getCurrentStateFolderFilePath(this.project.getPath(),
|
|
28
|
+
const storedmaxrevpath = await getCurrentStateFolderFilePath(this.project.getPath(), join('orgs', this.org.getOrgId(), 'jayreeStoredMaxRevision.json'), true);
|
|
24
29
|
const newMaxRev = this.flags.revision >= 0 ? this.flags.revision : maxRev;
|
|
25
30
|
await fs.ensureFile(storedmaxrevpath);
|
|
26
31
|
await fs.writeJSON(storedmaxrevpath, { serverMaxRevisionCounter: newMaxRev });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set.js","sourceRoot":"","sources":["../../../../../../src/commands/jayree/source/tracking/store/set.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"set.js","sourceRoot":"","sources":["../../../../../../src/commands/jayree/source/tracking/store/set.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EA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AU,CAAC;KAC7C,CAAC;CACH,CAAC;AAEe,uCAAgB,GAAG,IAAI,CAAC;AACxB,6CAAsB,GAAG,KAAK,CAAC;AAC/B,sCAAe,GAAG,IAAI,CAAC"}
|
|
@@ -5,13 +5,18 @@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
import { accessSync, readFileSync } from 'fs';
|
|
8
|
-
import { dirname, join } from 'path';
|
|
8
|
+
import { dirname, join } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
9
10
|
import { SfdxCommand } from '@salesforce/command';
|
|
11
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
12
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
14
|
+
const __dirname = dirname(__filename);
|
|
10
15
|
export default class Version extends SfdxCommand {
|
|
11
16
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
12
17
|
async run() {
|
|
13
18
|
const root = () => {
|
|
14
|
-
let currentPath =
|
|
19
|
+
let currentPath = __dirname;
|
|
15
20
|
let rootpath;
|
|
16
21
|
while (!rootpath) {
|
|
17
22
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/commands/jayree/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/commands/jayree/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD,gDAAgD;AAChD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,gDAAgD;AAChD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW;IAG9C,4DAA4D;IACrD,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,GAAG,GAAG,EAAE;YAChB,IAAI,WAAW,GAAG,SAAS,CAAC;YAC5B,IAAI,QAAQ,CAAC;YACb,OAAO,CAAC,QAAQ,EAAE;gBAChB,IAAI;oBACF,UAAU,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC;oBAC9C,QAAQ,GAAG,WAAW,CAAC;iBACxB;gBAAC,MAAM;oBACN,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;iBACpC;aACF;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC,CAAC;QAEF,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;QACxF,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QACrC,OAAO;YACL,OAAO,EAAE,eAAe,CAAC,OAAO;SACjC,CAAC;IACJ,CAAC;;AAvBa,cAAM,GAAG,IAAI,CAAC"}
|
package/lib/hooks/changelog.js
CHANGED
|
@@ -5,12 +5,17 @@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
/* istanbul ignore file */
|
|
8
|
-
import { join } from 'node:path';
|
|
8
|
+
import { dirname, join } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
9
10
|
import fs from 'fs-extra';
|
|
10
11
|
import Debug from 'debug';
|
|
11
12
|
import TerminalRenderer from 'marked-terminal';
|
|
12
13
|
import { marked } from 'marked';
|
|
13
14
|
import semver from 'semver';
|
|
15
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
18
|
+
const __dirname = dirname(__filename);
|
|
14
19
|
// original from https://github.com/salesforcecli/plugin-info/blob/main/src/shared/parseReleaseNotes.ts
|
|
15
20
|
const parseReleaseNotes = (notes, version, currentVersion) => {
|
|
16
21
|
let found = false;
|
|
@@ -50,7 +55,7 @@ export const changelog = async function () {
|
|
|
50
55
|
const debug = Debug(`${this.config.bin}:jayree-sfdx-plugin:hooks:changelog`);
|
|
51
56
|
process.once('exit', () => {
|
|
52
57
|
try {
|
|
53
|
-
const pluginRootPath = join(
|
|
58
|
+
const pluginRootPath = join(__dirname, '..', '..');
|
|
54
59
|
const { name, version } = fs.readJsonSync(join(pluginRootPath, 'package.json'));
|
|
55
60
|
const changelogFile = fs.readFileSync(join(pluginRootPath, 'CHANGELOG.md'), 'utf8');
|
|
56
61
|
const cacheDir = join(this.config.cacheDir, name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,0BAA0B;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,0BAA0B;AAC1B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EA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1 @@
|
|
|
1
|
-
{"version":"4.4.18","commands":{"jayree:flowtestcoverage":{"id":"jayree:flowtestcoverage","description":"check the flow test coverage of an org","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:flowtestcoverage\n=== Flow Test Coverage\nCoverage: 82%\n...\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:version":{"id":"jayree:version","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"jayree:org:settings":{"id":"jayree:org:settings","description":"write the current settings from an Org to a scratch org def file","strict":true,"usage":"<%= command.id %> [-w] [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:settings\n$ sfdx jayree:org:settings -u me@my.org\n$ sfdx jayree:org:settings -u MyTestOrg1 -w"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"writetoprojectscratchdeffile":{"name":"writetoprojectscratchdeffile","type":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of project-scratch-def.json","multiple":false}},"args":[],"flagsConfig":{"writetoprojectscratchdeffile":{"kind":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false,"type":"boolean"},"file":{"kind":"string","char":"f","description":"write to 'file' instead of project-scratch-def.json","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:org:streaming":{"id":"jayree:org:streaming","description":"listen to streaming api and platform events","strict":true,"usage":"<%= command.id %> -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:streaming --topic=/event/eventName__e\n...\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"topic":{"name":"topic","type":"option","char":"p","description":"topic name","required":true,"multiple":false}},"args":[],"flagsConfig":{"topic":{"kind":"string","char":"p","required":true,"description":"topic name","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:source:fix":{"id":"jayree:source:fix","description":"fix local source files\n(examples will follow)","strict":true,"usage":"<%= command.id %> [-t <array>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"tag":{"name":"tag","type":"option","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"log output to console","allowNo":false}},"args":[],"flagsConfig":{"tag":{"kind":"array","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json","input":[],"multiple":false,"type":"option"},"verbose":{"description":"log output to console","longDescription":"log output to console","type":"boolean","kind":"boolean","allowNo":false}},"supportsUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:org:configure:country":{"id":"jayree:org:configure:country","description":"update country integration values in the State/Country Picklists","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"silent":{"name":"silent","type":"boolean","description":"silent mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"silent":{"kind":"boolean","description":"silent mode","required":false,"default":false,"hidden":true,"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:org:configure":{"id":"jayree:org:configure","description":"make configuration changes that are not covered by the metadata API\nSee example configuration on how to define tasks","strict":true,"usage":"<%= command.id %> [-t <array>] [--concurrent] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:configure\n$ sfdx jayree:org:configure -u me@my.org\n$ sfdx jayree:org:configure --tasks=\"Asset Settings\",\"Activity Settings\"\n$ sfdx jayree:org:configure --concurrent --tasks=\"Asset Settings\",\"Activity Settings\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"tasks":{"name":"tasks","type":"option","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed","multiple":false},"concurrent":{"name":"concurrent","type":"boolean","description":"execute tasks in parallel","allowNo":false}},"args":[],"flagsConfig":{"tasks":{"kind":"array","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed","input":[],"multiple":false,"type":"option"},"concurrent":{"kind":"boolean","description":"execute tasks in parallel","default":false,"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:org:configure:state":{"id":"jayree:org:configure:state","description":"import (create/update) states into the State/Country Picklists","strict":true,"usage":"<%= command.id %> [--countrycode <string>] [--category <string>] [--language <string>] [--concurrent <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"countrycode":{"name":"countrycode","type":"option","description":"Alpha-2 code","multiple":false},"category":{"name":"category","type":"option","description":"Subdivision category","multiple":false},"language":{"name":"language","type":"option","description":"Language code","multiple":false},"concurrent":{"name":"concurrent","type":"option","description":"ccc","multiple":false,"default":1}},"args":[],"flagsConfig":{"countrycode":{"kind":"string","description":"Alpha-2 code","input":[],"multiple":false,"type":"option"},"category":{"kind":"string","description":"Subdivision category","input":[],"multiple":false,"type":"option"},"language":{"kind":"string","description":"Language code","input":[],"multiple":false,"type":"option"},"concurrent":{"kind":"integer","description":"ccc","default":1,"input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:source:tracking:list":{"id":"jayree:source:tracking:list","description":"list changes in a scratch org by remote revision counter number","strict":true,"usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:list\n$ sfdx jayree:source:tracking:list -u me@my.org\n$ sfdx jayree:source:tracking:list -u me@my.org -r 101"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"revision":{"name":"revision","type":"option","char":"r","description":"start at a specific revision counter number","multiple":false,"default":0}},"args":[],"flagsConfig":{"revision":{"kind":"integer","char":"r","description":"start at a specific revision counter number","default":0,"input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:source:tracking:store:get":{"id":"jayree:source:tracking:store:get","description":"get stored revision counter number","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:get\n$ sfdx jayree:source:tracking:store:get -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:source:tracking:store:set":{"id":"jayree:source:tracking:store:set","description":"store revision counter number","strict":true,"usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:set\n$ sfdx jayree:source:tracking:store:set -u me@my.org\n$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"revision":{"name":"revision","type":"option","char":"r","description":"revision counter number (default: remote revision counter number)","multiple":false}},"args":[],"flagsConfig":{"revision":{"kind":"integer","char":"r","description":"revision counter number (default: remote revision counter number)","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true}}}
|
|
1
|
+
{"version":"4.4.20","commands":{"jayree:flowtestcoverage":{"id":"jayree:flowtestcoverage","description":"check the flow test coverage of an org","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:flowtestcoverage\n=== Flow Test Coverage\nCoverage: 82%\n...\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:version":{"id":"jayree:version","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"jayree:org:settings":{"id":"jayree:org:settings","description":"write the current settings from an Org to a scratch org def file","strict":true,"usage":"<%= command.id %> [-w] [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:settings\n$ sfdx jayree:org:settings -u me@my.org\n$ sfdx jayree:org:settings -u MyTestOrg1 -w"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"writetoprojectscratchdeffile":{"name":"writetoprojectscratchdeffile","type":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of project-scratch-def.json","multiple":false}},"args":[],"flagsConfig":{"writetoprojectscratchdeffile":{"kind":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false,"type":"boolean"},"file":{"kind":"string","char":"f","description":"write to 'file' instead of project-scratch-def.json","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:org:streaming":{"id":"jayree:org:streaming","description":"listen to streaming api and platform events","strict":true,"usage":"<%= command.id %> -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:streaming --topic=/event/eventName__e\n...\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"topic":{"name":"topic","type":"option","char":"p","description":"topic name","required":true,"multiple":false}},"args":[],"flagsConfig":{"topic":{"kind":"string","char":"p","required":true,"description":"topic name","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:source:fix":{"id":"jayree:source:fix","description":"fix local source files\n(examples will follow)","strict":true,"usage":"<%= command.id %> [-t <array>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"tag":{"name":"tag","type":"option","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"log output to console","allowNo":false}},"args":[],"flagsConfig":{"tag":{"kind":"array","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json","input":[],"multiple":false,"type":"option"},"verbose":{"description":"log output to console","longDescription":"log output to console","type":"boolean","kind":"boolean","allowNo":false}},"supportsUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:org:configure:country":{"id":"jayree:org:configure:country","description":"update country integration values in the State/Country Picklists","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"silent":{"name":"silent","type":"boolean","description":"silent mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"silent":{"kind":"boolean","description":"silent mode","required":false,"default":false,"hidden":true,"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:org:configure":{"id":"jayree:org:configure","description":"make configuration changes that are not covered by the metadata API\nSee example configuration on how to define tasks","strict":true,"usage":"<%= command.id %> [-t <array>] [--concurrent] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:configure\n$ sfdx jayree:org:configure -u me@my.org\n$ sfdx jayree:org:configure --tasks=\"Asset Settings\",\"Activity Settings\"\n$ sfdx jayree:org:configure --concurrent --tasks=\"Asset Settings\",\"Activity Settings\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"tasks":{"name":"tasks","type":"option","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed","multiple":false},"concurrent":{"name":"concurrent","type":"boolean","description":"execute tasks in parallel","allowNo":false}},"args":[],"flagsConfig":{"tasks":{"kind":"array","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed","input":[],"multiple":false,"type":"option"},"concurrent":{"kind":"boolean","description":"execute tasks in parallel","default":false,"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:org:configure:state":{"id":"jayree:org:configure:state","description":"import (create/update) states into the State/Country Picklists","strict":true,"usage":"<%= command.id %> [--countrycode <string>] [--category <string>] [--language <string>] [--concurrent <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"countrycode":{"name":"countrycode","type":"option","description":"Alpha-2 code","multiple":false},"category":{"name":"category","type":"option","description":"Subdivision category","multiple":false},"language":{"name":"language","type":"option","description":"Language code","multiple":false},"concurrent":{"name":"concurrent","type":"option","description":"ccc","multiple":false,"default":1}},"args":[],"flagsConfig":{"countrycode":{"kind":"string","description":"Alpha-2 code","input":[],"multiple":false,"type":"option"},"category":{"kind":"string","description":"Subdivision category","input":[],"multiple":false,"type":"option"},"language":{"kind":"string","description":"Language code","input":[],"multiple":false,"type":"option"},"concurrent":{"kind":"integer","description":"ccc","default":1,"input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:source:tracking:list":{"id":"jayree:source:tracking:list","description":"list changes in a scratch org by remote revision counter number","strict":true,"usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:list\n$ sfdx jayree:source:tracking:list -u me@my.org\n$ sfdx jayree:source:tracking:list -u me@my.org -r 101"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"revision":{"name":"revision","type":"option","char":"r","description":"start at a specific revision counter number","multiple":false,"default":0}},"args":[],"flagsConfig":{"revision":{"kind":"integer","char":"r","description":"start at a specific revision counter number","default":0,"input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:source:tracking:store:get":{"id":"jayree:source:tracking:store:get","description":"get stored revision counter number","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:get\n$ sfdx jayree:source:tracking:store:get -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true},"jayree:source:tracking:store:set":{"id":"jayree:source:tracking:store:set","description":"store revision counter number","strict":true,"usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginAlias":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:set\n$ sfdx jayree:source:tracking:store:set -u me@my.org\n$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"revision":{"name":"revision","type":"option","char":"r","description":"revision counter number (default: remote revision counter number)","multiple":false}},"args":[],"flagsConfig":{"revision":{"kind":"integer","char":"r","description":"revision counter number (default: remote revision counter number)","input":[],"multiple":false,"type":"option"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":true}}}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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.
|
|
4
|
+
"version": "4.4.20",
|
|
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
|
-
"@jayree/sfdx-plugin-legacy": "^1.1.
|
|
10
|
-
"@jayree/sfdx-plugin-manifest": "^2.
|
|
11
|
-
"@jayree/sfdx-plugin-prettier": "^1.2.
|
|
12
|
-
"@oclif/core": "^1.
|
|
13
|
-
"@salesforce/command": "^5.2.
|
|
14
|
-
"@salesforce/kit": "^1.8.
|
|
15
|
-
"@salesforce/source-deploy-retrieve": "^7.
|
|
16
|
-
"@salesforce/source-tracking": "^2.2.
|
|
9
|
+
"@jayree/sfdx-plugin-legacy": "^1.1.19",
|
|
10
|
+
"@jayree/sfdx-plugin-manifest": "^2.7.1",
|
|
11
|
+
"@jayree/sfdx-plugin-prettier": "^1.2.19",
|
|
12
|
+
"@oclif/core": "^1.24.0",
|
|
13
|
+
"@salesforce/command": "^5.2.40",
|
|
14
|
+
"@salesforce/kit": "^1.8.2",
|
|
15
|
+
"@salesforce/source-deploy-retrieve": "^7.6.0",
|
|
16
|
+
"@salesforce/source-tracking": "^2.2.17",
|
|
17
17
|
"debug": "^4.3.4",
|
|
18
18
|
"enquirer": "^2.3.6",
|
|
19
|
-
"fast-xml-parser": "^4.0.
|
|
19
|
+
"fast-xml-parser": "^4.0.13",
|
|
20
20
|
"fs-extra": "^10.1.0",
|
|
21
21
|
"ignore": "^5.2.4",
|
|
22
22
|
"is-docker": "^3.0.0",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"marked-terminal": "^5.1.1",
|
|
27
27
|
"mkdirp": "^1.0.4",
|
|
28
28
|
"object-path": "^0.11.8",
|
|
29
|
-
"puppeteer": "^19.
|
|
29
|
+
"puppeteer": "^19.5.1",
|
|
30
30
|
"semver": "^7.3.8",
|
|
31
31
|
"tabletojson": "^2.0.7",
|
|
32
32
|
"tslib": "^2.4.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@commitlint/cli": "^17.
|
|
36
|
-
"@commitlint/config-conventional": "^17.
|
|
37
|
-
"@oclif/plugin-command-snapshot": "^3.2.
|
|
38
|
-
"@oclif/plugin-help": "^5.1.
|
|
35
|
+
"@commitlint/cli": "^17.4.1",
|
|
36
|
+
"@commitlint/config-conventional": "^17.4.0",
|
|
37
|
+
"@oclif/plugin-command-snapshot": "^3.2.16",
|
|
38
|
+
"@oclif/plugin-help": "^5.1.22",
|
|
39
39
|
"@salesforce/dev-config": "^3.1.0",
|
|
40
40
|
"@salesforce/dev-scripts": "3.1.0",
|
|
41
41
|
"@salesforce/prettier-config": "^0.0.2",
|
|
42
|
-
"@salesforce/ts-sinon": "^1.4.
|
|
42
|
+
"@salesforce/ts-sinon": "^1.4.4",
|
|
43
43
|
"@types/chai": "^4.3.4",
|
|
44
44
|
"@types/fs-extra": "^9.0.13",
|
|
45
45
|
"@types/jsforce": "^1.11.0",
|
|
@@ -50,27 +50,27 @@
|
|
|
50
50
|
"@types/node": "^18.11.18",
|
|
51
51
|
"@types/semver": "^7.3.13",
|
|
52
52
|
"@types/sinon": "^10.0.13",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
54
|
-
"@typescript-eslint/parser": "^5.
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
54
|
+
"@typescript-eslint/parser": "^5.48.1",
|
|
55
55
|
"chai": "^4.3.7",
|
|
56
|
-
"eslint": "^8.
|
|
57
|
-
"eslint-config-prettier": "^8.
|
|
56
|
+
"eslint": "^8.31.0",
|
|
57
|
+
"eslint-config-prettier": "^8.6.0",
|
|
58
58
|
"eslint-config-salesforce": "^1.1.0",
|
|
59
59
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
60
60
|
"eslint-plugin-header": "^3.1.1",
|
|
61
|
-
"eslint-plugin-import": "^2.
|
|
61
|
+
"eslint-plugin-import": "^2.27.2",
|
|
62
62
|
"eslint-plugin-jsdoc": "^39.6.4",
|
|
63
63
|
"eslint-plugin-prettier": "^4.2.1",
|
|
64
|
-
"eslint-plugin-sf-plugin": "^1.
|
|
65
|
-
"husky": "^8.0.
|
|
64
|
+
"eslint-plugin-sf-plugin": "^1.6.1",
|
|
65
|
+
"husky": "^8.0.3",
|
|
66
66
|
"is-ci": "^3.0.1",
|
|
67
67
|
"mocha": "^10.2.0",
|
|
68
|
-
"nock": "^13.
|
|
68
|
+
"nock": "^13.3.0",
|
|
69
69
|
"nyc": "^15.1.0",
|
|
70
70
|
"oclif": "^3.4.3",
|
|
71
|
-
"patch-package": "^6.5.
|
|
71
|
+
"patch-package": "^6.5.1",
|
|
72
72
|
"pinst": "^3.0.0",
|
|
73
|
-
"prettier": "^2.8.
|
|
73
|
+
"prettier": "^2.8.2",
|
|
74
74
|
"pretty-quick": "^3.1.3",
|
|
75
75
|
"shx": "^0.3.4",
|
|
76
76
|
"sinon": "^14.0.2",
|