sfdx-jayree 4.8.3 → 4.8.5
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 +19 -0
- package/README.md +15 -94
- package/oclif.manifest.json +1 -1
- package/package.json +10 -50
- package/lib/hooks/changelog.d.ts +0 -2
- package/lib/hooks/changelog.js +0 -25
- package/lib/hooks/changelog.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [4.8.5](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.8.4...v4.8.5) (2023-05-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump @jayree/sfdx-plugin-org from 1.1.1 to 1.1.2 ([#803](https://github.com/jayree/sfdx-jayree-plugin/issues/803)) ([3fa6914](https://github.com/jayree/sfdx-jayree-plugin/commit/3fa691446170e9fdee0cd41c8d8920879eb66e0c))
|
|
7
|
+
* **deps:** bump @jayree/sfdx-plugin-prettier from 1.3.3 to 1.3.4 ([#801](https://github.com/jayree/sfdx-jayree-plugin/issues/801)) ([56ead58](https://github.com/jayree/sfdx-jayree-plugin/commit/56ead58fc996a0ec87c45b0c681d8e1136e6fe53))
|
|
8
|
+
* **deps:** bump @jayree/sfdx-plugin-source from 1.3.1 to 1.3.2 ([#804](https://github.com/jayree/sfdx-jayree-plugin/issues/804)) ([0047653](https://github.com/jayree/sfdx-jayree-plugin/commit/0047653be3c8e358aa6120491a3befe3ff5774a9))
|
|
9
|
+
|
|
10
|
+
## [4.8.4](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.8.3...v4.8.4) (2023-05-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **deps:** bump @jayree/sfdx-plugin-manifest from 3.0.19 to 3.1.0 ([#797](https://github.com/jayree/sfdx-jayree-plugin/issues/797)) ([03c0a5f](https://github.com/jayree/sfdx-jayree-plugin/commit/03c0a5fa60ccbd214d1c22e99bc0fdc6a3d67a4d))
|
|
16
|
+
* **deps:** bump @jayree/sfdx-plugin-org from 1.1.0 to 1.1.1 ([#798](https://github.com/jayree/sfdx-jayree-plugin/issues/798)) ([78a1f79](https://github.com/jayree/sfdx-jayree-plugin/commit/78a1f79ce2a1addcc9ed124cb8eadae54bcb9d69))
|
|
17
|
+
* **deps:** bump @jayree/sfdx-plugin-prettier from 1.3.2 to 1.3.3 ([#800](https://github.com/jayree/sfdx-jayree-plugin/issues/800)) ([f4a1ac9](https://github.com/jayree/sfdx-jayree-plugin/commit/f4a1ac927ef5b5688562908d90ba2b18150a41f8))
|
|
18
|
+
* **deps:** bump @jayree/sfdx-plugin-source from 1.3.0 to 1.3.1 ([#799](https://github.com/jayree/sfdx-jayree-plugin/issues/799)) ([8f229f2](https://github.com/jayree/sfdx-jayree-plugin/commit/8f229f2dc3bca002de894ddb93fe1f1450ebbef9))
|
|
19
|
+
|
|
1
20
|
## [4.8.3](https://github.com/jayree/sfdx-jayree-plugin/compare/v4.8.2...v4.8.3) (2023-05-22)
|
|
2
21
|
|
|
3
22
|
|
package/README.md
CHANGED
|
@@ -22,7 +22,6 @@ sfdx plugins:install @jayree/sfdx-plugin-source
|
|
|
22
22
|
* [`sfdx jayree:manifest:cleanup`](#sfdx-jayreemanifestcleanup)
|
|
23
23
|
* [`sfdx jayree:manifest:generate`](#sfdx-jayreemanifestgenerate)
|
|
24
24
|
* [`sfdx jayree:manifest:git:diff`](#sfdx-jayreemanifestgitdiff)
|
|
25
|
-
* [`sfdx jayree:manifest:legacy:git:diff`](#sfdx-jayreemanifestlegacygitdiff)
|
|
26
25
|
* [`sfdx jayree:org:configure`](#sfdx-jayreeorgconfigure)
|
|
27
26
|
* [`sfdx jayree:org:configure:country`](#sfdx-jayreeorgconfigurecountry)
|
|
28
27
|
* [`sfdx jayree:org:configure:state`](#sfdx-jayreeorgconfigurestate)
|
|
@@ -60,7 +59,7 @@ EXAMPLES
|
|
|
60
59
|
...
|
|
61
60
|
```
|
|
62
61
|
|
|
63
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
62
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/flow/get/coverage.ts)_
|
|
64
63
|
|
|
65
64
|
### `sfdx jayree:manifest:cleanup`
|
|
66
65
|
|
|
@@ -88,7 +87,7 @@ EXAMPLES
|
|
|
88
87
|
$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
|
|
89
88
|
```
|
|
90
89
|
|
|
91
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0
|
|
90
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.0/src/commands/jayree/manifest/cleanup.ts)_
|
|
92
91
|
|
|
93
92
|
### `sfdx jayree:manifest:generate`
|
|
94
93
|
|
|
@@ -124,7 +123,7 @@ EXAMPLES
|
|
|
124
123
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
|
125
124
|
```
|
|
126
125
|
|
|
127
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0
|
|
126
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.0/src/commands/jayree/manifest/generate.ts)_
|
|
128
127
|
|
|
129
128
|
### `sfdx jayree:manifest:git:diff`
|
|
130
129
|
|
|
@@ -206,85 +205,7 @@ FLAG DESCRIPTIONS
|
|
|
206
205
|
The location can be an absolute path or relative to the current working directory.
|
|
207
206
|
```
|
|
208
207
|
|
|
209
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0
|
|
210
|
-
|
|
211
|
-
### `sfdx jayree:manifest:legacy:git:diff`
|
|
212
|
-
|
|
213
|
-
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.
|
|
214
|
-
|
|
215
|
-
```
|
|
216
|
-
USAGE
|
|
217
|
-
$ sfdx jayree:manifest:legacy:git:diff REF1 [REF2] [--json] [-d <value>] [--output-dir <value>]
|
|
218
|
-
[--destructive-changes-only]
|
|
219
|
-
|
|
220
|
-
ARGUMENTS
|
|
221
|
-
REF1 Base commit or branch.
|
|
222
|
-
REF2 Commit or branch to compare to the base commit.
|
|
223
|
-
|
|
224
|
-
FLAGS
|
|
225
|
-
-d, --source-dir=<value>... Path to the local source files to include in the manifest.
|
|
226
|
-
--destructive-changes-only Create a destructiveChanges manifest only.
|
|
227
|
-
--output-dir=<value> Directory to save the created manifest files.
|
|
228
|
-
|
|
229
|
-
GLOBAL FLAGS
|
|
230
|
-
--json Format output as json.
|
|
231
|
-
|
|
232
|
-
DESCRIPTION
|
|
233
|
-
Create a project manifest and destructiveChanges manifest that lists the metadata components you want to deploy or
|
|
234
|
-
delete based on changes in your git history.
|
|
235
|
-
|
|
236
|
-
Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
|
|
237
|
-
git refs.
|
|
238
|
-
|
|
239
|
-
You can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).
|
|
240
|
-
|
|
241
|
-
EXAMPLES
|
|
242
|
-
Uses the changes between two arbitrary <commit>.
|
|
243
|
-
|
|
244
|
-
$ sfdx jayree:manifest:legacy:git:diff <commit> <commit>
|
|
245
|
-
$ sfdx jayree:manifest:legacy:git:diff <commit>..<commit>
|
|
246
|
-
|
|
247
|
-
Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
|
|
248
|
-
<commit>.
|
|
249
|
-
|
|
250
|
-
$ sfdx jayree:manifest:legacy:git:diff <commit>...<commit>
|
|
251
|
-
|
|
252
|
-
Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).
|
|
253
|
-
|
|
254
|
-
$ sfdx jayree:manifest:legacy:git:diff branchA..branchB
|
|
255
|
-
|
|
256
|
-
Uses the diff of what is unique in branchB (REF2).
|
|
257
|
-
|
|
258
|
-
$ sfdx jayree:manifest:legacy:git:diff branchA...branchB
|
|
259
|
-
|
|
260
|
-
Specify the flags before or after the REF args
|
|
261
|
-
|
|
262
|
-
$ sfdx jayree:manifest:legacy:git:diff --output-dir package <commit> <commit>
|
|
263
|
-
$ sfdx jayree:manifest:legacy:git:diff <commit> <commit> --output-dir package
|
|
264
|
-
|
|
265
|
-
If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir'
|
|
266
|
-
values.
|
|
267
|
-
|
|
268
|
-
$ sfdx jayree:manifest:legacy:git:diff --source-dir force-app -- <commit> <commit>
|
|
269
|
-
|
|
270
|
-
FLAG DESCRIPTIONS
|
|
271
|
-
-d, --source-dir=<value>... Path to the local source files to include in the manifest.
|
|
272
|
-
|
|
273
|
-
The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
|
|
274
|
-
(in which case the operation is applied to all metadata types in the directory and its subdirectories).
|
|
275
|
-
|
|
276
|
-
You can specify this flag more than once.
|
|
277
|
-
|
|
278
|
-
--destructive-changes-only Create a destructiveChanges manifest only.
|
|
279
|
-
|
|
280
|
-
Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.
|
|
281
|
-
|
|
282
|
-
--output-dir=<value> Directory to save the created manifest files.
|
|
283
|
-
|
|
284
|
-
The location can be an absolute path or relative to the current working directory.
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.19/src/commands/jayree/manifest/legacy/git/diff.ts)_
|
|
208
|
+
_See code: [@jayree/sfdx-plugin-manifest](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.0/src/commands/jayree/manifest/git/diff.ts)_
|
|
288
209
|
|
|
289
210
|
### `sfdx jayree:org:configure`
|
|
290
211
|
|
|
@@ -317,7 +238,7 @@ EXAMPLES
|
|
|
317
238
|
$ sfdx jayree:org:configure --concurrent --tasks="Asset Settings","Activity Settings"
|
|
318
239
|
```
|
|
319
240
|
|
|
320
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
241
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/org/configure/index.ts)_
|
|
321
242
|
|
|
322
243
|
### `sfdx jayree:org:configure:country`
|
|
323
244
|
|
|
@@ -340,7 +261,7 @@ DESCRIPTION
|
|
|
340
261
|
update country integration values in the State/Country Picklists
|
|
341
262
|
```
|
|
342
263
|
|
|
343
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
264
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/org/configure/country.ts)_
|
|
344
265
|
|
|
345
266
|
### `sfdx jayree:org:configure:state`
|
|
346
267
|
|
|
@@ -368,7 +289,7 @@ DESCRIPTION
|
|
|
368
289
|
import (create/update) states into the State/Country Picklists
|
|
369
290
|
```
|
|
370
291
|
|
|
371
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
292
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/org/configure/state.ts)_
|
|
372
293
|
|
|
373
294
|
### `sfdx jayree:org:get:settings`
|
|
374
295
|
|
|
@@ -396,7 +317,7 @@ EXAMPLES
|
|
|
396
317
|
$ sfdx jayree:org:settings -u MyTestOrg1 -w
|
|
397
318
|
```
|
|
398
319
|
|
|
399
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
320
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/org/get/settings.ts)_
|
|
400
321
|
|
|
401
322
|
### `sfdx jayree:org:stream`
|
|
402
323
|
|
|
@@ -426,7 +347,7 @@ EXAMPLES
|
|
|
426
347
|
...
|
|
427
348
|
```
|
|
428
349
|
|
|
429
|
-
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.
|
|
350
|
+
_See code: [@jayree/sfdx-plugin-org](https://github.com/jayree/sfdx-plugin-org/blob/v1.1.2/src/commands/jayree/org/stream.ts)_
|
|
430
351
|
|
|
431
352
|
### `sfdx jayree:project:compare:snapshot`
|
|
432
353
|
|
|
@@ -446,7 +367,7 @@ ALIASES
|
|
|
446
367
|
$ sfdx jayree:source:snapshot:compare
|
|
447
368
|
```
|
|
448
369
|
|
|
449
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
370
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/compare/snapshot.ts)_
|
|
450
371
|
|
|
451
372
|
### `sfdx jayree:project:fix`
|
|
452
373
|
|
|
@@ -467,7 +388,7 @@ ALIASES
|
|
|
467
388
|
$ sfdx jayree:source:fix
|
|
468
389
|
```
|
|
469
390
|
|
|
470
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
391
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/fix.ts)_
|
|
471
392
|
|
|
472
393
|
### `sfdx jayree:project:generate:snapshot`
|
|
473
394
|
|
|
@@ -487,7 +408,7 @@ ALIASES
|
|
|
487
408
|
$ sfdx jayree:source:snapshot:generate
|
|
488
409
|
```
|
|
489
410
|
|
|
490
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
411
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/generate/snapshot.ts)_
|
|
491
412
|
|
|
492
413
|
### `sfdx jayree:project:list:tracking`
|
|
493
414
|
|
|
@@ -514,7 +435,7 @@ EXAMPLES
|
|
|
514
435
|
$ sfdx jayree:source:tracking:list -u me@my.org -r 101
|
|
515
436
|
```
|
|
516
437
|
|
|
517
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
438
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/list/tracking.ts)_
|
|
518
439
|
|
|
519
440
|
### `sfdx jayree:project:store:tracking:get`
|
|
520
441
|
|
|
@@ -538,7 +459,7 @@ EXAMPLES
|
|
|
538
459
|
$ sfdx jayree:source:tracking:store:get -u me@my.org
|
|
539
460
|
```
|
|
540
461
|
|
|
541
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
462
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/store/tracking/get.ts)_
|
|
542
463
|
|
|
543
464
|
### `sfdx jayree:project:store:tracking:set`
|
|
544
465
|
|
|
@@ -565,7 +486,7 @@ EXAMPLES
|
|
|
565
486
|
$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101
|
|
566
487
|
```
|
|
567
488
|
|
|
568
|
-
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.
|
|
489
|
+
_See code: [@jayree/sfdx-plugin-source](https://github.com/jayree/sfdx-plugin-source/blob/v1.3.2/src/commands/jayree/project/store/tracking/set.ts)_
|
|
569
490
|
<!-- commandsstop -->
|
|
570
491
|
|
|
571
492
|
## Hooks
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,39 +1,24 @@
|
|
|
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.8.
|
|
4
|
+
"version": "4.8.5",
|
|
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/
|
|
10
|
-
"@jayree/sfdx-plugin-
|
|
11
|
-
"@jayree/sfdx-plugin-
|
|
12
|
-
"@jayree/sfdx-plugin-
|
|
13
|
-
"@jayree/sfdx-plugin-source": "^1.3.0",
|
|
14
|
-
"@salesforce/sf-plugins-core": "^2.4.3",
|
|
15
|
-
"@salesforce/source-deploy-retrieve": "^8.5.2",
|
|
16
|
-
"debug": "^4.3.4",
|
|
17
|
-
"fast-xml-parser": "^4.2.2",
|
|
18
|
-
"fs-extra": "^11.1.1",
|
|
19
|
-
"ignore": "^5.2.4",
|
|
20
|
-
"mkdirp": "^3.0.1",
|
|
21
|
-
"object-path": "^0.11.8",
|
|
22
|
-
"tslib": "^2.5.0"
|
|
9
|
+
"@jayree/sfdx-plugin-manifest": "^3.1.0",
|
|
10
|
+
"@jayree/sfdx-plugin-org": "^1.1.2",
|
|
11
|
+
"@jayree/sfdx-plugin-prettier": "^1.3.4",
|
|
12
|
+
"@jayree/sfdx-plugin-source": "^1.3.2"
|
|
23
13
|
},
|
|
24
14
|
"devDependencies": {
|
|
25
|
-
"@oclif/plugin-command-snapshot": "^3.3.15",
|
|
26
15
|
"@oclif/plugin-help": "^5.2.9",
|
|
27
16
|
"@salesforce/dev-config": "^4.0.1",
|
|
28
17
|
"@salesforce/dev-scripts": "^5.0.1",
|
|
29
18
|
"@salesforce/prettier-config": "^0.0.3",
|
|
30
19
|
"@salesforce/ts-sinon": "^1.4.7",
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@types/jsforce": "^1.11.0",
|
|
34
|
-
"@types/mkdirp": "^1.0.2",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
36
|
-
"@typescript-eslint/parser": "^5.59.6",
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
21
|
+
"@typescript-eslint/parser": "^5.59.7",
|
|
37
22
|
"c8": "^7.13.0",
|
|
38
23
|
"chai": "^4.3.7",
|
|
39
24
|
"eslint": "^8.41.0",
|
|
@@ -43,11 +28,10 @@
|
|
|
43
28
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
44
29
|
"eslint-plugin-header": "^3.1.1",
|
|
45
30
|
"eslint-plugin-import": "^2.27.5",
|
|
46
|
-
"eslint-plugin-jsdoc": "^44.2.
|
|
31
|
+
"eslint-plugin-jsdoc": "^44.2.7",
|
|
47
32
|
"eslint-plugin-prettier": "^4.2.1",
|
|
48
33
|
"eslint-plugin-sf-plugin": "^1.15.3",
|
|
49
34
|
"husky": "^8.0.3",
|
|
50
|
-
"is-ci": "^3.0.1",
|
|
51
35
|
"mocha": "^10.2.0",
|
|
52
36
|
"nock": "^13.3.1",
|
|
53
37
|
"nyc": "^15.1.0",
|
|
@@ -103,12 +87,8 @@
|
|
|
103
87
|
"oclif": {
|
|
104
88
|
"commands": "./lib/commands",
|
|
105
89
|
"bin": "sfdx",
|
|
106
|
-
"hooks": {
|
|
107
|
-
"update": "./lib/hooks/changelog"
|
|
108
|
-
},
|
|
109
90
|
"devPlugins": [
|
|
110
|
-
"@oclif/plugin-help"
|
|
111
|
-
"@oclif/plugin-command-snapshot"
|
|
91
|
+
"@oclif/plugin-help"
|
|
112
92
|
],
|
|
113
93
|
"plugins": [
|
|
114
94
|
"@jayree/sfdx-plugin-prettier",
|
|
@@ -187,28 +167,8 @@
|
|
|
187
167
|
},
|
|
188
168
|
"test": {
|
|
189
169
|
"dependencies": [
|
|
190
|
-
"
|
|
191
|
-
"lint",
|
|
192
|
-
"test:json-schema"
|
|
193
|
-
]
|
|
194
|
-
},
|
|
195
|
-
"test:deprecation-policy": {
|
|
196
|
-
"command": "\"./bin/dev.js\" snapshot:compare",
|
|
197
|
-
"files": [
|
|
198
|
-
"src/**/*.ts"
|
|
199
|
-
],
|
|
200
|
-
"output": [],
|
|
201
|
-
"dependencies": [
|
|
202
|
-
"compile"
|
|
170
|
+
"lint"
|
|
203
171
|
]
|
|
204
|
-
},
|
|
205
|
-
"test:json-schema": {
|
|
206
|
-
"command": "\"./bin/dev.js\" schema:compare",
|
|
207
|
-
"files": [
|
|
208
|
-
"src/**/*.ts",
|
|
209
|
-
"schemas"
|
|
210
|
-
],
|
|
211
|
-
"output": []
|
|
212
172
|
}
|
|
213
173
|
}
|
|
214
174
|
}
|
package/lib/hooks/changelog.d.ts
DELETED
package/lib/hooks/changelog.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2022, jayree
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
* Licensed under the BSD 3-Clause license.
|
|
5
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
-
*/
|
|
7
|
-
import { join, dirname } from 'node:path';
|
|
8
|
-
import { fileURLToPath } from 'node:url';
|
|
9
|
-
import printChangeLog from '@jayree/changelog';
|
|
10
|
-
import Debug from 'debug';
|
|
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
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
|
16
|
-
export const changelog = async function () {
|
|
17
|
-
const debug = Debug([this.config.bin, 'sfdx-jayree', 'hooks', 'update'].join(':'));
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
19
|
-
process.once('beforeExit', async () => {
|
|
20
|
-
const changes = await printChangeLog(this.config.cacheDir, join(__dirname, '..', '..'), debug);
|
|
21
|
-
if (changes)
|
|
22
|
-
this.log(changes);
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=changelog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,4DAA4D;AAC5D,MAAM,CAAC,MAAM,SAAS,GAAmB,KAAK;IAC5C,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAEnF,kEAAkE;IAClE,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE;QACpC,MAAM,OAAO,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;QAC/F,IAAI,OAAO;YAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|