@jayree/sfdx-plugin-manifest 3.1.30 → 3.1.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,174 +1,215 @@
1
1
  {
2
- "version": "3.1.30",
3
2
  "commands": {
4
3
  "jayree:manifest:cleanup": {
5
- "id": "jayree:manifest:cleanup",
6
- "summary": "Removes those tags from a manifest file that are present in a second manifest file.",
7
- "description": "Use this command to remove components or metadata types from a manifes file.\n\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.",
8
- "strict": true,
9
- "pluginName": "@jayree/sfdx-plugin-manifest",
10
- "pluginAlias": "@jayree/sfdx-plugin-manifest",
11
- "pluginType": "core",
12
4
  "aliases": [],
5
+ "args": {},
6
+ "description": "Use this command to remove components or metadata types from a manifes file.\n\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.",
13
7
  "examples": [
14
8
  "<%= config.bin %> <%= command.id %> --manifest=package.xml --file=packageignore.xml"
15
9
  ],
16
10
  "flags": {
17
11
  "json": {
18
- "name": "json",
19
- "type": "boolean",
20
12
  "description": "Format output as json.",
21
13
  "helpGroup": "GLOBAL",
22
- "allowNo": false
14
+ "name": "json",
15
+ "allowNo": false,
16
+ "type": "boolean"
23
17
  },
24
18
  "manifest": {
25
- "name": "manifest",
26
- "type": "option",
27
19
  "char": "x",
20
+ "name": "manifest",
28
21
  "summary": "Path to the manifest file.",
29
- "multiple": false
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
30
25
  },
31
26
  "file": {
32
- "name": "file",
33
- "type": "option",
34
27
  "char": "f",
35
- "summary": "Path to the second 'cleanup' manifest file.",
28
+ "name": "file",
36
29
  "required": true,
37
- "multiple": false
30
+ "summary": "Path to the second 'cleanup' manifest file.",
31
+ "hasDynamicHelp": false,
32
+ "multiple": false,
33
+ "type": "option"
38
34
  }
39
35
  },
40
- "args": {},
41
- "requiresProject": true
42
- },
43
- "jayree:manifest:generate": {
44
- "id": "jayree:manifest:generate",
45
- "summary": "Generate a complete manifest file form the specified org.",
46
- "description": "Use this command to generate a manifest file based on an existing org.",
47
- "strict": true,
48
- "pluginName": "@jayree/sfdx-plugin-manifest",
36
+ "hasDynamicHelp": false,
37
+ "id": "jayree:manifest:cleanup",
49
38
  "pluginAlias": "@jayree/sfdx-plugin-manifest",
39
+ "pluginName": "@jayree/sfdx-plugin-manifest",
50
40
  "pluginType": "core",
41
+ "strict": true,
42
+ "summary": "Removes those tags from a manifest file that are present in a second manifest file.",
43
+ "enableJsonFlag": true,
44
+ "SF_ENV": "SF_ENV",
45
+ "requiresProject": true,
46
+ "isESM": true,
47
+ "relativePath": [
48
+ "lib",
49
+ "commands",
50
+ "jayree",
51
+ "manifest",
52
+ "cleanup.js"
53
+ ]
54
+ },
55
+ "jayree:manifest:generate": {
51
56
  "aliases": [],
57
+ "args": {},
58
+ "description": "Use this command to generate a manifest file based on an existing org.",
52
59
  "examples": [
53
60
  "<%= config.bin %> <%= command.id %> --targetusername myOrg@example.com\n\n<?xml version='1.0' encoding='UTF-8'?>\n\n<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"
54
61
  ],
55
62
  "flags": {
56
63
  "json": {
57
- "name": "json",
58
- "type": "boolean",
59
64
  "description": "Format output as json.",
60
65
  "helpGroup": "GLOBAL",
61
- "allowNo": false
66
+ "name": "json",
67
+ "allowNo": false,
68
+ "type": "boolean"
62
69
  },
63
70
  "target-org": {
64
- "name": "target-org",
65
- "type": "option",
66
- "char": "o",
67
- "summary": "Username or alias of the target org.",
68
- "required": true,
69
- "multiple": false,
70
71
  "aliases": [
71
72
  "targetusername",
72
73
  "u"
73
- ]
74
+ ],
75
+ "char": "o",
76
+ "deprecateAliases": true,
77
+ "name": "target-org",
78
+ "noCacheDefault": true,
79
+ "required": true,
80
+ "summary": "Username or alias of the target org.",
81
+ "hasDynamicHelp": true,
82
+ "multiple": false,
83
+ "type": "option"
74
84
  },
75
85
  "api-version": {
76
- "name": "api-version",
77
- "type": "option",
78
- "description": "Override the api version used for api requests made by this command",
79
- "multiple": false,
80
86
  "aliases": [
81
87
  "apiversion"
82
- ]
88
+ ],
89
+ "deprecateAliases": true,
90
+ "description": "Override the api version used for api requests made by this command",
91
+ "name": "api-version",
92
+ "hasDynamicHelp": false,
93
+ "multiple": false,
94
+ "type": "option"
83
95
  },
84
96
  "quick-filter": {
85
- "name": "quick-filter",
86
- "type": "option",
87
- "char": "q",
88
- "description": "Metadata type, member or file path to filter on.",
89
- "multiple": true,
90
97
  "aliases": [
91
98
  "quickfilter"
92
99
  ],
93
- "delimiter": ","
100
+ "char": "q",
101
+ "deprecateAliases": true,
102
+ "description": "Metadata type, member or file path to filter on.",
103
+ "name": "quick-filter",
104
+ "delimiter": ",",
105
+ "hasDynamicHelp": false,
106
+ "multiple": true,
107
+ "type": "option"
94
108
  },
95
109
  "match-case": {
96
- "name": "match-case",
97
- "type": "boolean",
110
+ "aliases": [
111
+ "matchcase"
112
+ ],
98
113
  "char": "c",
114
+ "deprecateAliases": true,
115
+ "name": "match-case",
99
116
  "summary": "Enable 'match case' for the quickfilter.",
100
117
  "allowNo": false,
101
- "aliases": [
102
- "matchcase"
103
- ]
118
+ "type": "boolean"
104
119
  },
105
120
  "match-whole-word": {
106
- "name": "match-whole-word",
107
- "type": "boolean",
121
+ "aliases": [
122
+ "matchwholeword"
123
+ ],
108
124
  "char": "w",
125
+ "deprecateAliases": true,
126
+ "name": "match-whole-word",
109
127
  "summary": "Enable 'match whole word' for the quickfilter.",
110
128
  "allowNo": false,
111
- "aliases": [
112
- "matchwholeword"
113
- ]
129
+ "type": "boolean"
114
130
  },
115
131
  "include-flow-versions": {
132
+ "aliases": [
133
+ "includeflowversions"
134
+ ],
135
+ "deprecateAliases": true,
116
136
  "name": "include-flow-versions",
117
- "type": "boolean",
118
137
  "summary": "Include flow versions as with api version 43.0.",
119
138
  "allowNo": false,
120
- "aliases": [
121
- "includeflowversions"
122
- ]
139
+ "type": "boolean"
123
140
  },
124
141
  "file": {
125
- "name": "file",
126
- "type": "option",
127
142
  "char": "f",
143
+ "name": "file",
128
144
  "summary": "Write to 'file' instead of stdout.",
129
- "multiple": false
145
+ "hasDynamicHelp": false,
146
+ "multiple": false,
147
+ "type": "option"
130
148
  },
131
149
  "exclude-managed": {
132
- "name": "exclude-managed",
133
- "type": "boolean",
134
- "summary": "Exclude managed packages from output.",
135
- "allowNo": false,
136
- "exclusive": [
137
- "exclude-all"
138
- ],
139
150
  "aliases": [
140
151
  "excludemanaged",
141
152
  "x"
142
- ]
143
- },
144
- "exclude-all": {
145
- "name": "exclude-all",
146
- "type": "boolean",
147
- "summary": "Exclude all packages from output.",
148
- "allowNo": false,
153
+ ],
154
+ "deprecateAliases": true,
149
155
  "exclusive": [
150
- "exclude-managed"
156
+ "exclude-all"
151
157
  ],
158
+ "name": "exclude-managed",
159
+ "summary": "Exclude managed packages from output.",
160
+ "allowNo": false,
161
+ "type": "boolean"
162
+ },
163
+ "exclude-all": {
152
164
  "aliases": [
153
165
  "excludeall",
154
166
  "a"
155
- ]
167
+ ],
168
+ "deprecateAliases": true,
169
+ "exclusive": [
170
+ "exclude-managed"
171
+ ],
172
+ "name": "exclude-all",
173
+ "summary": "Exclude all packages from output.",
174
+ "allowNo": false,
175
+ "type": "boolean"
156
176
  }
157
177
  },
158
- "args": {},
159
- "hasDynamicHelp": true
160
- },
161
- "jayree:manifest:git:diff": {
162
- "id": "jayree:manifest:git:diff",
163
- "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.",
164
- "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).",
165
- "strict": true,
166
- "pluginName": "@jayree/sfdx-plugin-manifest",
178
+ "hasDynamicHelp": true,
179
+ "id": "jayree:manifest:generate",
167
180
  "pluginAlias": "@jayree/sfdx-plugin-manifest",
181
+ "pluginName": "@jayree/sfdx-plugin-manifest",
168
182
  "pluginType": "core",
183
+ "strict": true,
184
+ "summary": "Generate a complete manifest file form the specified org.",
185
+ "enableJsonFlag": true,
186
+ "SF_ENV": "SF_ENV",
187
+ "isESM": true,
188
+ "relativePath": [
189
+ "lib",
190
+ "commands",
191
+ "jayree",
192
+ "manifest",
193
+ "generate.js"
194
+ ]
195
+ },
196
+ "jayree:manifest:git:diff": {
169
197
  "aliases": [
170
198
  "jayree:manifest:beta:git:diff"
171
199
  ],
200
+ "args": {
201
+ "ref1": {
202
+ "description": "Base commit or branch.",
203
+ "name": "ref1",
204
+ "required": true
205
+ },
206
+ "ref2": {
207
+ "description": "Commit or branch to compare to the base commit.",
208
+ "name": "ref2"
209
+ }
210
+ },
211
+ "deprecateAliases": true,
212
+ "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).",
172
213
  "examples": [
173
214
  "Uses the changes between two arbitrary <commit>.\n<%= config.bin %> <%= command.id %> <commit> <commit>\n<%= config.bin %> <%= command.id %> <commit>..<commit>",
174
215
  "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>",
@@ -177,77 +218,86 @@
177
218
  "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",
178
219
  "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>"
179
220
  ],
180
- "deprecateAliases": true,
181
221
  "flags": {
182
222
  "json": {
183
- "name": "json",
184
- "type": "boolean",
185
223
  "description": "Format output as json.",
186
224
  "helpGroup": "GLOBAL",
225
+ "name": "json",
187
226
  "allowNo": false,
188
- "deprecateAliases": true
227
+ "type": "boolean"
189
228
  },
190
229
  "api-version": {
191
- "name": "api-version",
192
- "type": "option",
193
- "description": "Override the api version used for api requests made by this command",
194
- "multiple": false,
195
- "deprecateAliases": true,
196
230
  "aliases": [
197
231
  "apiversion"
198
- ]
232
+ ],
233
+ "deprecateAliases": true,
234
+ "description": "Override the api version used for api requests made by this command",
235
+ "name": "api-version",
236
+ "hasDynamicHelp": false,
237
+ "multiple": false,
238
+ "type": "option"
199
239
  },
200
240
  "source-dir": {
201
- "name": "source-dir",
202
- "type": "option",
203
- "char": "d",
204
- "summary": "Path to the local source files to include in the manifest.",
205
- "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.",
206
- "multiple": true,
207
- "deprecateAliases": true,
208
241
  "aliases": [
209
242
  "sourcepath",
210
243
  "p"
211
244
  ],
212
- "delimiter": ","
245
+ "char": "d",
246
+ "deprecateAliases": true,
247
+ "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.",
248
+ "name": "source-dir",
249
+ "summary": "Path to the local source files to include in the manifest.",
250
+ "delimiter": ",",
251
+ "hasDynamicHelp": false,
252
+ "multiple": true,
253
+ "type": "option"
213
254
  },
214
255
  "output-dir": {
215
- "name": "output-dir",
216
- "type": "option",
217
- "summary": "Directory to save the created manifest files.",
218
- "description": "The location can be an absolute path or relative to the current working directory.",
219
- "multiple": false,
220
- "default": "",
221
- "deprecateAliases": true,
222
256
  "aliases": [
223
257
  "outputdir",
224
258
  "o"
225
- ]
259
+ ],
260
+ "deprecateAliases": true,
261
+ "description": "The location can be an absolute path or relative to the current working directory.",
262
+ "name": "output-dir",
263
+ "summary": "Directory to save the created manifest files.",
264
+ "default": "",
265
+ "hasDynamicHelp": false,
266
+ "multiple": false,
267
+ "type": "option"
226
268
  },
227
269
  "destructive-changes-only": {
270
+ "aliases": [
271
+ "destructivechangesonly"
272
+ ],
273
+ "deprecateAliases": true,
274
+ "description": "Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.",
228
275
  "name": "destructive-changes-only",
229
- "type": "boolean",
230
276
  "summary": "Create a destructiveChanges manifest only.",
231
- "description": "Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.",
232
277
  "allowNo": false,
233
- "deprecateAliases": true,
234
- "aliases": [
235
- "destructivechangesonly"
236
- ]
278
+ "type": "boolean"
237
279
  }
238
280
  },
239
- "args": {
240
- "ref1": {
241
- "name": "ref1",
242
- "description": "Base commit or branch.",
243
- "required": true
244
- },
245
- "ref2": {
246
- "name": "ref2",
247
- "description": "Commit or branch to compare to the base commit."
248
- }
249
- },
250
- "requiresProject": true
281
+ "hasDynamicHelp": false,
282
+ "id": "jayree:manifest:git:diff",
283
+ "pluginAlias": "@jayree/sfdx-plugin-manifest",
284
+ "pluginName": "@jayree/sfdx-plugin-manifest",
285
+ "pluginType": "core",
286
+ "strict": true,
287
+ "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.",
288
+ "enableJsonFlag": true,
289
+ "SF_ENV": "SF_ENV",
290
+ "requiresProject": true,
291
+ "isESM": true,
292
+ "relativePath": [
293
+ "lib",
294
+ "commands",
295
+ "jayree",
296
+ "manifest",
297
+ "git",
298
+ "diff.js"
299
+ ]
251
300
  }
252
- }
301
+ },
302
+ "version": "3.1.32"
253
303
  }
package/package.json CHANGED
@@ -1,14 +1,15 @@
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": "3.1.30",
4
+ "version": "3.1.32",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
8
8
  "dependencies": {
9
- "@jayree/changelog": "^1.1.6",
10
- "@salesforce/sf-plugins-core": "^3.1.25",
11
- "@salesforce/source-deploy-retrieve": "^9.7.22",
9
+ "@jayree/changelog": "^1.1.7",
10
+ "@oclif/core": "^3.0.9",
11
+ "@salesforce/sf-plugins-core": "^4.0.0",
12
+ "@salesforce/source-deploy-retrieve": "^9.7.24",
12
13
  "debug": "^4.3.4",
13
14
  "fast-deep-equal": "^3.1.3",
14
15
  "fast-xml-parser": "^4.3.2",
@@ -19,21 +20,21 @@
19
20
  },
20
21
  "devDependencies": {
21
22
  "@oclif/plugin-command-snapshot": "^4.0.14",
22
- "@oclif/plugin-help": "^5.2.20",
23
- "@salesforce/cli-plugins-testkit": "^4.4.5",
23
+ "@oclif/plugin-help": "^6.0.2",
24
+ "@salesforce/cli-plugins-testkit": "^4.4.7",
24
25
  "@salesforce/dev-config": "^4.0.1",
25
- "@salesforce/dev-scripts": "^5.10.0",
26
+ "@salesforce/dev-scripts": "^5.11.0",
26
27
  "@salesforce/prettier-config": "^0.0.3",
27
28
  "@salesforce/ts-sinon": "^1.4.17",
28
29
  "@types/debug": "^4.1.9",
29
30
  "@types/fs-extra": "^11.0.2",
30
31
  "@types/graceful-fs": "^4.1.7",
31
- "@types/inquirer": "^9.0.3",
32
- "@typescript-eslint/eslint-plugin": "^6.7.4",
33
- "@typescript-eslint/parser": "^6.7.4",
32
+ "@types/inquirer": "^9.0.4",
33
+ "@typescript-eslint/eslint-plugin": "^6.7.5",
34
+ "@typescript-eslint/parser": "^6.7.5",
34
35
  "c8": "^8.0.1",
35
36
  "chai": "^4.3.10",
36
- "eslint": "^8.50.0",
37
+ "eslint": "^8.51.0",
37
38
  "eslint-config-oclif": "^5.0",
38
39
  "eslint-config-prettier": "^9.0.0",
39
40
  "eslint-config-salesforce": "^2.0.2",
@@ -41,20 +42,20 @@
41
42
  "eslint-plugin-header": "^3.1.1",
42
43
  "eslint-plugin-import": "2.28.1",
43
44
  "eslint-plugin-jsdoc": "^46.8.2",
44
- "eslint-plugin-prettier": "^5.0.0",
45
- "eslint-plugin-sf-plugin": "^1.16.8",
45
+ "eslint-plugin-prettier": "^5.0.1",
46
+ "eslint-plugin-sf-plugin": "^1.16.9",
46
47
  "husky": "^8.0.3",
47
48
  "is-ci": "^3.0.1",
48
49
  "mocha": "^10.2.0",
49
50
  "nyc": "^15.1.0",
50
- "oclif": "^3.17.2",
51
+ "oclif": "^4.0.2",
51
52
  "patch-package": "^8.0.0",
52
53
  "prettier": "^3.0.3",
53
54
  "pretty-quick": "^3.1.3",
54
55
  "shx": "^0.3.4",
55
56
  "sinon": "16.1.0",
56
57
  "ts-node": "^10.9.1",
57
- "typedoc": "0.25.1",
58
+ "typedoc": "0.25.2",
58
59
  "typedoc-plugin-missing-exports": "2.1.0",
59
60
  "typescript": "^5.2.2",
60
61
  "wireit": "^0.14.0"