@jayree/sfdx-plugin-manifest 2.7.2 → 2.7.4

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [2.7.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.7.3...v2.7.4) (2023-01-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump @salesforce/command from 5.2.41 to 5.2.42 ([#531](https://github.com/jayree/sfdx-plugin-manifest/issues/531)) ([1c62902](https://github.com/jayree/sfdx-plugin-manifest/commit/1c629022415a8552aa68dbafc2f56e13215ee9a8))
7
+ * **deps:** bump @salesforce/sf-plugins-core from 1.22.0 to 1.22.2 ([#528](https://github.com/jayree/sfdx-plugin-manifest/issues/528)) ([5db4d64](https://github.com/jayree/sfdx-plugin-manifest/commit/5db4d64a973acc2037127b2dbfcd87e9dbb59dc6))
8
+ * **deps:** bump @salesforce/source-deploy-retrieve from 7.7.3 to 7.7.5 ([#527](https://github.com/jayree/sfdx-plugin-manifest/issues/527)) ([3494c27](https://github.com/jayree/sfdx-plugin-manifest/commit/3494c27cc0d53617ea3fd72538cd2f6b24404810))
9
+ * **deps:** bump fast-xml-parser from 4.0.13 to 4.0.15 ([#530](https://github.com/jayree/sfdx-plugin-manifest/issues/530)) ([86a67ec](https://github.com/jayree/sfdx-plugin-manifest/commit/86a67eccd9ff49a381b55ec7b5b6a7bd9461436f))
10
+ * **deps:** bump tslib from 2.4.1 to 2.5.0 ([#526](https://github.com/jayree/sfdx-plugin-manifest/issues/526)) ([ca4a8bf](https://github.com/jayree/sfdx-plugin-manifest/commit/ca4a8bf4f3f703aeca4ac0e61036c74a15f73cbc))
11
+
12
+ ## [2.7.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.7.2...v2.7.3) (2023-01-20)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** bump @salesforce/command from 5.2.40 to 5.2.41 ([#523](https://github.com/jayree/sfdx-plugin-manifest/issues/523)) ([abb8191](https://github.com/jayree/sfdx-plugin-manifest/commit/abb8191ab7ee916cdc0b066c17647a1391f508b3))
18
+ * **deps:** bump @salesforce/kit from 1.8.2 to 1.8.3 ([#524](https://github.com/jayree/sfdx-plugin-manifest/issues/524)) ([603703f](https://github.com/jayree/sfdx-plugin-manifest/commit/603703f30ecac5228bb0158a89f1954fa5ad510f))
19
+ * **deps:** bump @salesforce/source-deploy-retrieve from 7.7.0 to 7.7.3 ([#511](https://github.com/jayree/sfdx-plugin-manifest/issues/511)) ([b905e24](https://github.com/jayree/sfdx-plugin-manifest/commit/b905e24ff8d01cef8c7eb41971bfb6bac3428c0e))
20
+ * **deps:** bump listr2 from 5.0.6 to 5.0.7 ([#518](https://github.com/jayree/sfdx-plugin-manifest/issues/518)) ([13058d3](https://github.com/jayree/sfdx-plugin-manifest/commit/13058d3f7e0846ece99ec7b9d116de24e7f7d718))
21
+ * **deps:** bump marked from 4.2.5 to 4.2.12 ([#520](https://github.com/jayree/sfdx-plugin-manifest/issues/520)) ([8bd119f](https://github.com/jayree/sfdx-plugin-manifest/commit/8bd119fd24df68b16df3d03bc90fc4bd291155a0))
22
+
1
23
  ## [2.7.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.7.1...v2.7.2) (2023-01-13)
2
24
 
3
25
 
package/README.md CHANGED
@@ -99,7 +99,7 @@ FLAG DESCRIPTIONS
99
99
  The location can be an absolute path or relative to the current working directory.
100
100
  ```
101
101
 
102
- _See code: [src/commands/jayree/manifest/beta/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.2/src/commands/jayree/manifest/beta/git/diff.ts)_
102
+ _See code: [src/commands/jayree/manifest/beta/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/beta/git/diff.ts)_
103
103
 
104
104
  ### `sfdx jayree:manifest:cleanup`
105
105
 
@@ -127,7 +127,7 @@ EXAMPLES
127
127
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
128
128
  ```
129
129
 
130
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.2/src/commands/jayree/manifest/cleanup.ts)_
130
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/cleanup.ts)_
131
131
 
132
132
  ### `sfdx jayree:manifest:generate`
133
133
 
@@ -170,7 +170,7 @@ EXAMPLES
170
170
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
171
171
  ```
172
172
 
173
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.2/src/commands/jayree/manifest/generate.ts)_
173
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/generate.ts)_
174
174
 
175
175
  ### `sfdx jayree:manifest:git:diff`
176
176
 
@@ -224,5 +224,5 @@ EXAMPLES
224
224
  uses the diff of what is unique in branchB (REF2)
225
225
  ```
226
226
 
227
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.2/src/commands/jayree/manifest/git/diff.ts)_
227
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.7.4/src/commands/jayree/manifest/git/diff.ts)_
228
228
  <!-- commandsstop -->
@@ -1 +1,460 @@
1
- {"version":"2.7.2","commands":{"jayree:manifest:cleanup":{"id":"jayree:manifest:cleanup","description":"removes those tags from a manifest file that are present in a second manifest file\nUse this command to remove components or metadata types from a manifes file.\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.","strict":true,"usage":"<%= command.id %> [-x <filepath>] [-f <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml"],"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"},"manifest":{"name":"manifest","type":"option","char":"x","description":"path to the manifest file","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file","multiple":false}},"args":[],"flagsConfig":{"manifest":{"kind":"filepath","char":"x","description":"path to the manifest file","input":[],"multiple":false,"type":"option"},"file":{"kind":"filepath","char":"f","description":"path to the second 'cleanup' manifest file","input":[],"multiple":false,"type":"option"}},"requiresUsername":false,"supportsDevhubUsername":false,"requiresProject":true},"jayree:manifest:generate":{"id":"jayree:manifest:generate","description":"generate a complete manifest file form the specified org\nUse this command to generate a manifest file based on an existing org.","strict":true,"usage":"<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:generate --targetusername myOrg@example.com","<?xml version='1.0' encoding='UTF-8'?>","<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"],"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},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on","multiple":false},"matchcase":{"name":"matchcase","type":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false},"matchwholeword":{"name":"matchwholeword","type":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false},"includeflowversions":{"name":"includeflowversions","type":"boolean","description":"include flow versions as with api version 43.0","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of stdout","multiple":false},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false,"exclusive":["excludeall"]},"excludeall":{"name":"excludeall","type":"boolean","char":"a","description":"exclude all packages from output","allowNo":false,"exclusive":["excludemanaged"]}},"args":[],"flagsConfig":{"quickfilter":{"kind":"array","char":"q","description":"csv separated list of metadata type, member or file names to filter on","input":[],"multiple":false,"type":"option"},"matchcase":{"kind":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false,"type":"boolean"},"matchwholeword":{"kind":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false,"type":"boolean"},"includeflowversions":{"kind":"boolean","description":"include flow versions as with api version 43.0","allowNo":false,"type":"boolean"},"file":{"kind":"string","char":"f","description":"write to 'file' instead of stdout","input":[],"multiple":false,"type":"option"},"excludemanaged":{"kind":"boolean","char":"x","description":"exclude managed packages from output","exclusive":["excludeall"],"allowNo":false,"type":"boolean"},"excludeall":{"kind":"boolean","char":"a","description":"exclude all packages from output","exclusive":["excludemanaged"],"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:manifest:git:diff":{"id":"jayree:manifest:git:diff","description":"create a manifest and destructiveChanges manifest using 'git diff' data\nUse this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)","strict":true,"usage":"<%= command.id %> [-p <array>] [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:git:diff <commit> <commit>","$ sfdx jayree:manifest:git:diff <commit>..<commit>","uses the changes between two arbitrary <commit>","$ sfdx jayree:manifest:git:diff <commit>...<commit>","uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.","$ sfdx jayree:manifest:git:diff branchA..branchB","uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)","$ sfdx jayree:manifest:git:diff branchA...branchB","uses the diff of what is unique in branchB (REF2)"],"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"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"comma-separated list of source file paths to limit the diff","multiple":false},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"directory to save the created manifest files","multiple":false,"default":""},"destructivechangesonly":{"name":"destructivechangesonly","type":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","allowNo":false}},"args":[{"name":"ref1","description":"base commit or branch","required":true,"hidden":false},{"name":"ref2","description":"commit or branch to compare to the base commit","required":false,"hidden":false}],"flagsConfig":{"sourcepath":{"kind":"array","char":"p","description":"comma-separated list of source file paths to limit the diff","input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"o","description":"directory to save the created manifest files","default":"","input":[],"multiple":false,"type":"option"},"destructivechangesonly":{"kind":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","default":false,"allowNo":false,"type":"boolean"}},"requiresUsername":false,"supportsDevhubUsername":false,"requiresProject":true},"jayree:manifest:beta:git:diff":{"id":"jayree:manifest:beta:git:diff","summary":"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.","description":"Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).","strict":true,"pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["Uses the changes between two arbitrary <commit>.\n<%= config.bin %> <%= command.id %> <commit> <commit>\n<%= config.bin %> <%= command.id %> <commit>..<commit>","Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.\n<%= config.bin %> <%= command.id %> <commit>...<commit>","Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).\n<%= config.bin %> <%= command.id %> branchA..branchB","Uses the diff of what is unique in branchB (REF2).\n<%= config.bin %> <%= command.id %> branchA...branchB","Specify the flags before or after the REF args\n<%= config.bin %> <%= command.id %> --output-dir package <commit> <commit>\n<%= config.bin %> <%= command.id %> <commit> <commit> --output-dir package","If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir' values.\n<%= config.bin %> <%= command.id %> --source-dir force-app -- <commit> <commit>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"aliases":["apiversion"]},"source-dir":{"name":"source-dir","type":"option","char":"d","summary":"Path to the local source files to include in the manifest.","description":"The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its subdirectories).\n\nYou can specify this flag more than once.","multiple":true,"aliases":["sourcepath","p"]},"output-dir":{"name":"output-dir","type":"option","summary":"Directory to save the created manifest files.","description":"The location can be an absolute path or relative to the current working directory.","multiple":false,"default":"","aliases":["outputdir","o"]},"destructive-changes-only":{"name":"destructive-changes-only","type":"boolean","summary":"Create a destructiveChanges manifest only.","description":"Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.","allowNo":false,"aliases":["destructivechangesonly"]}},"args":[{"name":"ref1","description":"base commit or branch","required":true},{"name":"ref2","description":"commit or branch to compare to the base commit"}],"requiresProject":true}}}
1
+ {
2
+ "version": "2.7.4",
3
+ "commands": {
4
+ "jayree:manifest:cleanup": {
5
+ "id": "jayree:manifest:cleanup",
6
+ "description": "removes those tags from a manifest file that are present in a second manifest file\nUse this command to remove components or metadata types from a manifes file.\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.",
7
+ "strict": true,
8
+ "usage": "<%= command.id %> [-x <filepath>] [-f <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
9
+ "pluginName": "@jayree/sfdx-plugin-manifest",
10
+ "pluginAlias": "@jayree/sfdx-plugin-manifest",
11
+ "pluginType": "core",
12
+ "aliases": [],
13
+ "examples": [
14
+ "$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml"
15
+ ],
16
+ "flags": {
17
+ "json": {
18
+ "name": "json",
19
+ "type": "boolean",
20
+ "description": "format output as json",
21
+ "allowNo": false
22
+ },
23
+ "loglevel": {
24
+ "name": "loglevel",
25
+ "type": "option",
26
+ "description": "logging level for this command invocation",
27
+ "required": false,
28
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
29
+ "multiple": false,
30
+ "options": [
31
+ "trace",
32
+ "debug",
33
+ "info",
34
+ "warn",
35
+ "error",
36
+ "fatal",
37
+ "TRACE",
38
+ "DEBUG",
39
+ "INFO",
40
+ "WARN",
41
+ "ERROR",
42
+ "FATAL"
43
+ ],
44
+ "default": "warn"
45
+ },
46
+ "manifest": {
47
+ "name": "manifest",
48
+ "type": "option",
49
+ "char": "x",
50
+ "description": "path to the manifest file",
51
+ "multiple": false
52
+ },
53
+ "file": {
54
+ "name": "file",
55
+ "type": "option",
56
+ "char": "f",
57
+ "description": "path to the second 'cleanup' manifest file",
58
+ "multiple": false
59
+ }
60
+ },
61
+ "args": {},
62
+ "flagsConfig": {
63
+ "manifest": {
64
+ "kind": "filepath",
65
+ "char": "x",
66
+ "description": "path to the manifest file",
67
+ "input": [],
68
+ "multiple": false,
69
+ "type": "option"
70
+ },
71
+ "file": {
72
+ "kind": "filepath",
73
+ "char": "f",
74
+ "description": "path to the second 'cleanup' manifest file",
75
+ "input": [],
76
+ "multiple": false,
77
+ "type": "option"
78
+ }
79
+ },
80
+ "requiresUsername": false,
81
+ "supportsDevhubUsername": false,
82
+ "requiresProject": true
83
+ },
84
+ "jayree:manifest:generate": {
85
+ "id": "jayree:manifest:generate",
86
+ "description": "generate a complete manifest file form the specified org\nUse this command to generate a manifest file based on an existing org.",
87
+ "strict": true,
88
+ "usage": "<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
89
+ "pluginName": "@jayree/sfdx-plugin-manifest",
90
+ "pluginAlias": "@jayree/sfdx-plugin-manifest",
91
+ "pluginType": "core",
92
+ "aliases": [],
93
+ "examples": [
94
+ "$ sfdx jayree:manifest:generate --targetusername myOrg@example.com",
95
+ "<?xml version='1.0' encoding='UTF-8'?>",
96
+ "<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"
97
+ ],
98
+ "flags": {
99
+ "json": {
100
+ "name": "json",
101
+ "type": "boolean",
102
+ "description": "format output as json",
103
+ "allowNo": false
104
+ },
105
+ "loglevel": {
106
+ "name": "loglevel",
107
+ "type": "option",
108
+ "description": "logging level for this command invocation",
109
+ "required": false,
110
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
111
+ "multiple": false,
112
+ "options": [
113
+ "trace",
114
+ "debug",
115
+ "info",
116
+ "warn",
117
+ "error",
118
+ "fatal",
119
+ "TRACE",
120
+ "DEBUG",
121
+ "INFO",
122
+ "WARN",
123
+ "ERROR",
124
+ "FATAL"
125
+ ],
126
+ "default": "warn"
127
+ },
128
+ "targetusername": {
129
+ "name": "targetusername",
130
+ "type": "option",
131
+ "char": "u",
132
+ "description": "username or alias for the target org; overrides default target org",
133
+ "multiple": false
134
+ },
135
+ "apiversion": {
136
+ "name": "apiversion",
137
+ "type": "option",
138
+ "description": "override the api version used for api requests made by this command",
139
+ "multiple": false
140
+ },
141
+ "quickfilter": {
142
+ "name": "quickfilter",
143
+ "type": "option",
144
+ "char": "q",
145
+ "description": "csv separated list of metadata type, member or file names to filter on",
146
+ "multiple": false
147
+ },
148
+ "matchcase": {
149
+ "name": "matchcase",
150
+ "type": "boolean",
151
+ "char": "c",
152
+ "description": "enable 'match case' for the quickfilter",
153
+ "allowNo": false
154
+ },
155
+ "matchwholeword": {
156
+ "name": "matchwholeword",
157
+ "type": "boolean",
158
+ "char": "w",
159
+ "description": "enable 'match whole word' for the quickfilter",
160
+ "allowNo": false
161
+ },
162
+ "includeflowversions": {
163
+ "name": "includeflowversions",
164
+ "type": "boolean",
165
+ "description": "include flow versions as with api version 43.0",
166
+ "allowNo": false
167
+ },
168
+ "file": {
169
+ "name": "file",
170
+ "type": "option",
171
+ "char": "f",
172
+ "description": "write to 'file' instead of stdout",
173
+ "multiple": false
174
+ },
175
+ "excludemanaged": {
176
+ "name": "excludemanaged",
177
+ "type": "boolean",
178
+ "char": "x",
179
+ "description": "exclude managed packages from output",
180
+ "allowNo": false,
181
+ "exclusive": [
182
+ "excludeall"
183
+ ]
184
+ },
185
+ "excludeall": {
186
+ "name": "excludeall",
187
+ "type": "boolean",
188
+ "char": "a",
189
+ "description": "exclude all packages from output",
190
+ "allowNo": false,
191
+ "exclusive": [
192
+ "excludemanaged"
193
+ ]
194
+ }
195
+ },
196
+ "args": {},
197
+ "flagsConfig": {
198
+ "quickfilter": {
199
+ "kind": "array",
200
+ "char": "q",
201
+ "description": "csv separated list of metadata type, member or file names to filter on",
202
+ "input": [],
203
+ "multiple": false,
204
+ "type": "option"
205
+ },
206
+ "matchcase": {
207
+ "kind": "boolean",
208
+ "char": "c",
209
+ "description": "enable 'match case' for the quickfilter",
210
+ "allowNo": false,
211
+ "type": "boolean"
212
+ },
213
+ "matchwholeword": {
214
+ "kind": "boolean",
215
+ "char": "w",
216
+ "description": "enable 'match whole word' for the quickfilter",
217
+ "allowNo": false,
218
+ "type": "boolean"
219
+ },
220
+ "includeflowversions": {
221
+ "kind": "boolean",
222
+ "description": "include flow versions as with api version 43.0",
223
+ "allowNo": false,
224
+ "type": "boolean"
225
+ },
226
+ "file": {
227
+ "kind": "string",
228
+ "char": "f",
229
+ "description": "write to 'file' instead of stdout",
230
+ "input": [],
231
+ "multiple": false,
232
+ "type": "option"
233
+ },
234
+ "excludemanaged": {
235
+ "kind": "boolean",
236
+ "char": "x",
237
+ "description": "exclude managed packages from output",
238
+ "exclusive": [
239
+ "excludeall"
240
+ ],
241
+ "allowNo": false,
242
+ "type": "boolean"
243
+ },
244
+ "excludeall": {
245
+ "kind": "boolean",
246
+ "char": "a",
247
+ "description": "exclude all packages from output",
248
+ "exclusive": [
249
+ "excludemanaged"
250
+ ],
251
+ "allowNo": false,
252
+ "type": "boolean"
253
+ }
254
+ },
255
+ "requiresUsername": true,
256
+ "supportsDevhubUsername": false,
257
+ "requiresProject": false
258
+ },
259
+ "jayree:manifest:git:diff": {
260
+ "id": "jayree:manifest:git:diff",
261
+ "description": "create a manifest and destructiveChanges manifest using 'git diff' data\nUse this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)",
262
+ "strict": true,
263
+ "usage": "<%= command.id %> [-p <array>] [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
264
+ "pluginName": "@jayree/sfdx-plugin-manifest",
265
+ "pluginAlias": "@jayree/sfdx-plugin-manifest",
266
+ "pluginType": "core",
267
+ "aliases": [],
268
+ "examples": [
269
+ "$ sfdx jayree:manifest:git:diff <commit> <commit>",
270
+ "$ sfdx jayree:manifest:git:diff <commit>..<commit>",
271
+ "uses the changes between two arbitrary <commit>",
272
+ "$ sfdx jayree:manifest:git:diff <commit>...<commit>",
273
+ "uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.",
274
+ "$ sfdx jayree:manifest:git:diff branchA..branchB",
275
+ "uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)",
276
+ "$ sfdx jayree:manifest:git:diff branchA...branchB",
277
+ "uses the diff of what is unique in branchB (REF2)"
278
+ ],
279
+ "flags": {
280
+ "json": {
281
+ "name": "json",
282
+ "type": "boolean",
283
+ "description": "format output as json",
284
+ "allowNo": false
285
+ },
286
+ "loglevel": {
287
+ "name": "loglevel",
288
+ "type": "option",
289
+ "description": "logging level for this command invocation",
290
+ "required": false,
291
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
292
+ "multiple": false,
293
+ "options": [
294
+ "trace",
295
+ "debug",
296
+ "info",
297
+ "warn",
298
+ "error",
299
+ "fatal",
300
+ "TRACE",
301
+ "DEBUG",
302
+ "INFO",
303
+ "WARN",
304
+ "ERROR",
305
+ "FATAL"
306
+ ],
307
+ "default": "warn"
308
+ },
309
+ "sourcepath": {
310
+ "name": "sourcepath",
311
+ "type": "option",
312
+ "char": "p",
313
+ "description": "comma-separated list of source file paths to limit the diff",
314
+ "multiple": false
315
+ },
316
+ "outputdir": {
317
+ "name": "outputdir",
318
+ "type": "option",
319
+ "char": "o",
320
+ "description": "directory to save the created manifest files",
321
+ "multiple": false,
322
+ "default": ""
323
+ },
324
+ "destructivechangesonly": {
325
+ "name": "destructivechangesonly",
326
+ "type": "boolean",
327
+ "char": "d",
328
+ "description": "create a destructiveChanges manifest only (package.xml will be empty)",
329
+ "allowNo": false
330
+ }
331
+ },
332
+ "args": {
333
+ "ref1": {
334
+ "name": "ref1",
335
+ "description": "base commit or branch",
336
+ "required": true,
337
+ "hidden": false
338
+ },
339
+ "ref2": {
340
+ "name": "ref2",
341
+ "description": "commit or branch to compare to the base commit",
342
+ "required": false,
343
+ "hidden": false
344
+ }
345
+ },
346
+ "flagsConfig": {
347
+ "sourcepath": {
348
+ "kind": "array",
349
+ "char": "p",
350
+ "description": "comma-separated list of source file paths to limit the diff",
351
+ "input": [],
352
+ "multiple": false,
353
+ "type": "option"
354
+ },
355
+ "outputdir": {
356
+ "kind": "string",
357
+ "char": "o",
358
+ "description": "directory to save the created manifest files",
359
+ "default": "",
360
+ "input": [],
361
+ "multiple": false,
362
+ "type": "option"
363
+ },
364
+ "destructivechangesonly": {
365
+ "kind": "boolean",
366
+ "char": "d",
367
+ "description": "create a destructiveChanges manifest only (package.xml will be empty)",
368
+ "default": false,
369
+ "allowNo": false,
370
+ "type": "boolean"
371
+ }
372
+ },
373
+ "requiresUsername": false,
374
+ "supportsDevhubUsername": false,
375
+ "requiresProject": true
376
+ },
377
+ "jayree:manifest:beta:git:diff": {
378
+ "id": "jayree:manifest:beta:git:diff",
379
+ "summary": "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.",
380
+ "description": "Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).",
381
+ "strict": true,
382
+ "pluginName": "@jayree/sfdx-plugin-manifest",
383
+ "pluginAlias": "@jayree/sfdx-plugin-manifest",
384
+ "pluginType": "core",
385
+ "aliases": [],
386
+ "examples": [
387
+ "Uses the changes between two arbitrary <commit>.\n<%= config.bin %> <%= command.id %> <commit> <commit>\n<%= config.bin %> <%= command.id %> <commit>..<commit>",
388
+ "Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.\n<%= config.bin %> <%= command.id %> <commit>...<commit>",
389
+ "Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).\n<%= config.bin %> <%= command.id %> branchA..branchB",
390
+ "Uses the diff of what is unique in branchB (REF2).\n<%= config.bin %> <%= command.id %> branchA...branchB",
391
+ "Specify the flags before or after the REF args\n<%= config.bin %> <%= command.id %> --output-dir package <commit> <commit>\n<%= config.bin %> <%= command.id %> <commit> <commit> --output-dir package",
392
+ "If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir' values.\n<%= config.bin %> <%= command.id %> --source-dir force-app -- <commit> <commit>"
393
+ ],
394
+ "flags": {
395
+ "json": {
396
+ "name": "json",
397
+ "type": "boolean",
398
+ "description": "Format output as json.",
399
+ "helpGroup": "GLOBAL",
400
+ "allowNo": false
401
+ },
402
+ "api-version": {
403
+ "name": "api-version",
404
+ "type": "option",
405
+ "description": "Override the api version used for api requests made by this command",
406
+ "multiple": false,
407
+ "aliases": [
408
+ "apiversion"
409
+ ]
410
+ },
411
+ "source-dir": {
412
+ "name": "source-dir",
413
+ "type": "option",
414
+ "char": "d",
415
+ "summary": "Path to the local source files to include in the manifest.",
416
+ "description": "The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its subdirectories).\n\nYou can specify this flag more than once.",
417
+ "multiple": true,
418
+ "aliases": [
419
+ "sourcepath",
420
+ "p"
421
+ ]
422
+ },
423
+ "output-dir": {
424
+ "name": "output-dir",
425
+ "type": "option",
426
+ "summary": "Directory to save the created manifest files.",
427
+ "description": "The location can be an absolute path or relative to the current working directory.",
428
+ "multiple": false,
429
+ "default": "",
430
+ "aliases": [
431
+ "outputdir",
432
+ "o"
433
+ ]
434
+ },
435
+ "destructive-changes-only": {
436
+ "name": "destructive-changes-only",
437
+ "type": "boolean",
438
+ "summary": "Create a destructiveChanges manifest only.",
439
+ "description": "Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.",
440
+ "allowNo": false,
441
+ "aliases": [
442
+ "destructivechangesonly"
443
+ ]
444
+ }
445
+ },
446
+ "args": {
447
+ "ref1": {
448
+ "name": "ref1",
449
+ "description": "base commit or branch",
450
+ "required": true
451
+ },
452
+ "ref2": {
453
+ "name": "ref2",
454
+ "description": "commit or branch to compare to the base commit"
455
+ }
456
+ },
457
+ "requiresProject": true
458
+ }
459
+ }
460
+ }
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.",
4
- "version": "2.7.2",
4
+ "version": "2.7.4",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.24.0",
10
- "@salesforce/command": "^5.2.40",
11
- "@salesforce/kit": "^1.8.2",
12
- "@salesforce/sf-plugins-core": "^1.22.0",
13
- "@salesforce/source-deploy-retrieve": "^7.7.0",
10
+ "@salesforce/command": "^5.2.42",
11
+ "@salesforce/kit": "^1.8.3",
12
+ "@salesforce/sf-plugins-core": "^1.22.2",
13
+ "@salesforce/source-deploy-retrieve": "^7.7.5",
14
14
  "@salesforce/ts-types": "^1.7.2",
15
15
  "debug": "^4.3.4",
16
16
  "fast-deep-equal": "^3.1.3",
17
- "fast-xml-parser": "^4.0.13",
17
+ "fast-xml-parser": "^4.0.15",
18
18
  "fs-extra": "^11.1.0",
19
19
  "graceful-fs": "^4.2.10",
20
20
  "isomorphic-git": "^1.21.0",
21
- "listr2": "^5.0.6",
22
- "marked": "^4.2.5",
21
+ "listr2": "^5.0.7",
22
+ "marked": "^4.2.12",
23
23
  "marked-terminal": "^5.1.1",
24
24
  "semver": "^7.3.8",
25
- "tslib": "^2.4.1"
25
+ "tslib": "^2.5.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@commitlint/cli": "^17.4.2",
29
29
  "@commitlint/config-conventional": "^17.4.2",
30
- "@oclif/plugin-command-snapshot": "^3.2.16",
31
- "@oclif/plugin-help": "^5.1.22",
30
+ "@oclif/plugin-command-snapshot": "^3.3.1",
31
+ "@oclif/plugin-help": "^5.2.1",
32
32
  "@salesforce/dev-config": "^3.1.0",
33
33
  "@salesforce/dev-scripts": "^3.1.0",
34
34
  "@salesforce/prettier-config": "^0.0.2",
@@ -42,27 +42,27 @@
42
42
  "@types/node": "^18.11.18",
43
43
  "@types/semver": "^7.3.13",
44
44
  "@types/sinon": "10.0.13",
45
- "@typescript-eslint/eslint-plugin": "^5.48.1",
46
- "@typescript-eslint/parser": "^5.48.1",
45
+ "@typescript-eslint/eslint-plugin": "^5.49.0",
46
+ "@typescript-eslint/parser": "^5.49.0",
47
47
  "chai": "^4.3.7",
48
- "eslint": "^8.31.0",
48
+ "eslint": "^8.32.0",
49
49
  "eslint-config-oclif": "^4.0",
50
50
  "eslint-config-prettier": "^8.6.0",
51
51
  "eslint-config-salesforce": "^1.1.0",
52
52
  "eslint-config-salesforce-typescript": "^1.1.1",
53
53
  "eslint-plugin-header": "^3.1.1",
54
- "eslint-plugin-import": "2.27.4",
55
- "eslint-plugin-jsdoc": "^39.6.4",
54
+ "eslint-plugin-import": "2.27.5",
55
+ "eslint-plugin-jsdoc": "^39.6.8",
56
56
  "eslint-plugin-prettier": "^4.2.1",
57
- "eslint-plugin-sf-plugin": "^1.6.2",
57
+ "eslint-plugin-sf-plugin": "^1.7.0",
58
58
  "husky": "^8.0.3",
59
59
  "is-ci": "^3.0.1",
60
60
  "mocha": "^10.2.0",
61
61
  "nyc": "^15.1.0",
62
- "oclif": "^3.4.3",
62
+ "oclif": "^3.6.1",
63
63
  "patch-package": "^6.5.1",
64
64
  "pinst": "^3.0.0",
65
- "prettier": "^2.8.2",
65
+ "prettier": "^2.8.3",
66
66
  "pretty-quick": "^3.1.3",
67
67
  "shx": "^0.3.4",
68
68
  "sinon": "15.0.1",