@jayree/sfdx-plugin-manifest 2.2.1 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md ADDED
@@ -0,0 +1,225 @@
1
+ ## [2.2.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.3...v2.2.4) (2022-05-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump fast-xml-parser from 4.0.7 to 4.0.8 ([627b3a0](https://github.com/jayree/sfdx-plugin-manifest/commit/627b3a05f0e69b80b7e7f611f9ea44fb186dabcf))
7
+
8
+ ## [2.2.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.2...v2.2.3) (2022-05-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.15.0 to 6.0.2 ([98a9f5c](https://github.com/jayree/sfdx-plugin-manifest/commit/98a9f5cec33250f4eda1dfda194f6a08acf8bd31))
14
+ * **deps:** bump marked from 4.0.15 to 4.0.16 ([cd081ed](https://github.com/jayree/sfdx-plugin-manifest/commit/cd081edd57a55d137977bd2d232927978e670f08))
15
+ * upgrade to oclif/core ([73adf80](https://github.com/jayree/sfdx-plugin-manifest/commit/73adf80f37fbd3f3ea09497bb2ee36f2acc57cfd))
16
+
17
+ ## [2.2.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.1...v2.2.2) (2022-05-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **deps:** bump @salesforce/source-deploy-retrieve ([960f5c6](https://github.com/jayree/sfdx-plugin-manifest/commit/960f5c6bcfebcfde4e61eee354d866e357d8c247))
23
+ * **deps:** bump isomorphic-git from 1.17.1 to 1.17.2 ([527e6a1](https://github.com/jayree/sfdx-plugin-manifest/commit/527e6a16632453ca2260025e516714fbdf5f7c0f))
24
+
25
+ ## [2.2.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.0...v2.2.1) (2022-05-06)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **gitdiff:** support customobjecttranslation and bot again after SDR fix ([99d650d](https://github.com/jayree/sfdx-plugin-manifest/commit/99d650de4bf04647ea0b11a3317e4d8a2c2e89dc))
31
+
32
+ # [2.2.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.9...v2.2.0) (2022-03-03)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * **deps:** bump @oclif/config from 1.18.2 to 1.18.3 ([9709aa3](https://github.com/jayree/sfdx-plugin-manifest/commit/9709aa36b5faf551fc79edd2a170b3718854488e))
38
+ * **deps:** bump @salesforce/command from 4.2.1 to 4.2.2 ([ba50496](https://github.com/jayree/sfdx-plugin-manifest/commit/ba50496e38744a10d749a60751b1d7f2b8e0420e))
39
+ * **deps:** bump @salesforce/core from 2.33.1 to 2.35.3 ([1d0e655](https://github.com/jayree/sfdx-plugin-manifest/commit/1d0e65560e6fa8b15a4201181a1a71d42fe0c3d7))
40
+ * **deps:** bump @salesforce/kit from 1.5.30 to 1.5.34 ([4c4822a](https://github.com/jayree/sfdx-plugin-manifest/commit/4c4822a9fe5a19e9ff9063950034ef48f54274cc))
41
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.9.2 to 5.12.3 ([5b07ec3](https://github.com/jayree/sfdx-plugin-manifest/commit/5b07ec3b2fde338b6a519daed112e1e2102cdd75))
42
+ * **deps:** bump fast-xml-parser from 4.0.1 to 4.0.4 ([7048e7d](https://github.com/jayree/sfdx-plugin-manifest/commit/7048e7db139fb07b84cc1a7d54fdf718b9f0421e))
43
+ * **deps:** bump fs-extra from 10.0.0 to 10.0.1 ([2fa0396](https://github.com/jayree/sfdx-plugin-manifest/commit/2fa0396e22b8f7e3f073184187dc71cada96ee0c))
44
+ * **deps:** bump isomorphic-git from 1.10.4 to 1.13.0 ([2872b09](https://github.com/jayree/sfdx-plugin-manifest/commit/2872b09db46f376700b762c1bb371b2f82d419fb))
45
+ * **deps:** bump listr2 from 4.0.1 to 4.0.4 ([ed1e01e](https://github.com/jayree/sfdx-plugin-manifest/commit/ed1e01e8ad9ed00ec3bbcd59949148d8d5fdad98))
46
+ * **deps:** bump marked from 4.0.10 to 4.0.12 ([d7314d0](https://github.com/jayree/sfdx-plugin-manifest/commit/d7314d053302fca98afb184d350a22b497073a33))
47
+ * fix changelog hook ([2883fbd](https://github.com/jayree/sfdx-plugin-manifest/commit/2883fbd045fca98a65636d1d5b29f5fe81bb27a7))
48
+
49
+
50
+ ### Features
51
+
52
+ * **manifestgenerate:** add --excludeall flag to exclude managed and unlocked packages ([396a76f](https://github.com/jayree/sfdx-plugin-manifest/commit/396a76f91ab5b6da8630c9faff0621296c7c3944))
53
+
54
+ ## [2.1.9](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.8...v2.1.9) (2022-01-15)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * **deps:** bump @salesforce/kit from 1.5.26 to 1.5.28 ([de56726](https://github.com/jayree/sfdx-plugin-manifest/commit/de56726b58aace2e6d2ae7f63ba488e147a7b5cf))
60
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.9.1 to 5.9.2 ([30004f9](https://github.com/jayree/sfdx-plugin-manifest/commit/30004f9e65e6b716e4d9aeb3671c780e62f4becc))
61
+ * **deps:** bump fast-xml-parser from 4.0.0 to 4.0.1 ([debdbf0](https://github.com/jayree/sfdx-plugin-manifest/commit/debdbf0f87c8fa0658108de0d0d21ed4a2e40d3e))
62
+ * **deps:** bump isomorphic-git from 1.10.3 to 1.10.4 ([735fef3](https://github.com/jayree/sfdx-plugin-manifest/commit/735fef33d244b487f3f13edc37c35f8ef5375efb))
63
+ * **deps:** bump listr2 from 4.0.0 to 4.0.1 ([e9474ec](https://github.com/jayree/sfdx-plugin-manifest/commit/e9474ec6ceb6d5be6cc501c4619d962a372f93f4))
64
+ * **deps:** bump marked from 4.0.9 to 4.0.10 ([1f7712c](https://github.com/jayree/sfdx-plugin-manifest/commit/1f7712c95a7c4b2e069a22c8e4f25dba9ab7ac32))
65
+
66
+ ## [2.1.8](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.7...v2.1.8) (2022-01-07)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **deps:** bump @salesforce/kit from 1.5.25 to 1.5.26 ([860f606](https://github.com/jayree/sfdx-plugin-manifest/commit/860f606e9d91ee43ce6ea1956caf401197098c24))
72
+ * **deps:** bump fast-xml-parser from 3.21.1 to 4.0.0 ([7feaf6f](https://github.com/jayree/sfdx-plugin-manifest/commit/7feaf6ffc410da4dd6a8f2e03370b3f507faf561))
73
+ * **deps:** bump listr2 from 3.14.0 to 4.0.0 ([cee5f4e](https://github.com/jayree/sfdx-plugin-manifest/commit/cee5f4eac31c57b3f79a3197eb065623f25ca80b))
74
+
75
+ ## [2.1.7](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.6...v2.1.7) (2022-01-06)
76
+
77
+
78
+ ### Bug Fixes
79
+
80
+ * downgrade cli-ux ([a0a27a8](https://github.com/jayree/sfdx-plugin-manifest/commit/a0a27a8623558f739264c1c8eb380227970dc93e))
81
+
82
+ ## [2.1.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.5...v2.1.6) (2021-12-23)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * set node version to 14.17.1 ([e6bf30c](https://github.com/jayree/sfdx-plugin-manifest/commit/e6bf30c1de943b085a379db5cc83e06e12f2a2bb))
88
+
89
+ ## [2.1.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.4...v2.1.5) (2021-12-22)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * update dependencies ([8f40458](https://github.com/jayree/sfdx-plugin-manifest/commit/8f4045871e8ad89982b7c788ce688ce1af01fd69))
95
+
96
+ ## [2.1.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.3...v2.1.4) (2021-12-19)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * update dependencies ([fb282ee](https://github.com/jayree/sfdx-plugin-manifest/commit/fb282ee2c59688f70dffedf9879b1c95c95a2d77))
102
+
103
+ ## [2.1.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.2...v2.1.3) (2021-12-18)
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * **deps:** bump @oclif/command from 1.8.7 to 1.8.16 ([f0e7468](https://github.com/jayree/sfdx-plugin-manifest/commit/f0e746854ecbb5f3c6400c8eadc7ec6a40894c92))
109
+ * **deps:** bump @salesforce/command from 4.2.0 to 4.2.1 ([613c442](https://github.com/jayree/sfdx-plugin-manifest/commit/613c442e7df858a9ed59a9156b67cb49e284973d))
110
+ * **deps:** bump @salesforce/core from 2.31.0 to 2.33.1 ([f716837](https://github.com/jayree/sfdx-plugin-manifest/commit/f71683729023733a1b0788860b2966510ccf875e))
111
+ * **deps:** bump @salesforce/kit from 1.5.18 to 1.5.22 ([a9a9c31](https://github.com/jayree/sfdx-plugin-manifest/commit/a9a9c310039827ed3eec825c20821e5718be049f))
112
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.8.0 to 5.8.2 ([709f36a](https://github.com/jayree/sfdx-plugin-manifest/commit/709f36ab3c5099abc86787a2197ae07a536c1004))
113
+ * **deps:** bump cli-ux from 5.6.5 to 6.0.6 ([aac3fb2](https://github.com/jayree/sfdx-plugin-manifest/commit/aac3fb23750e4418b92981e4cf9de4266fa03752))
114
+ * **deps:** bump isomorphic-git from 1.10.1 to 1.10.3 ([ec74cc4](https://github.com/jayree/sfdx-plugin-manifest/commit/ec74cc4a31c751c12f27724e217f0fe6757b9f87))
115
+ * **deps:** bump marked from 4.0.5 to 4.0.7 ([6dab24f](https://github.com/jayree/sfdx-plugin-manifest/commit/6dab24fcd5cb5e8407aadf93b5a2bdcd8993ea82))
116
+
117
+ ## [2.1.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.1...v2.1.2) (2021-12-01)
118
+
119
+
120
+ ### Bug Fixes
121
+
122
+ * **deps:** bump @oclif/command from 1.8.4 to 1.8.7 ([51aa301](https://github.com/jayree/sfdx-plugin-manifest/commit/51aa30145b942c00669dababd4889d171ed4becf))
123
+ * **deps:** bump @salesforce/command from 4.1.5 to 4.2.0 ([dae11dd](https://github.com/jayree/sfdx-plugin-manifest/commit/dae11ddf4a1711c54361b7a2cfff14bc86dc7660))
124
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.7.0 to 5.8.0 ([319d731](https://github.com/jayree/sfdx-plugin-manifest/commit/319d73190bad8d06436d3e3b7e2eed20f0a2c773))
125
+ * **deps:** bump cli-ux from 5.6.4 to 5.6.5 ([c703395](https://github.com/jayree/sfdx-plugin-manifest/commit/c703395bf02b57f533d583a75e53394fe5017f96))
126
+ * **deps:** bump jsforce from 1.10.1 to 1.11.0 ([6c3ac23](https://github.com/jayree/sfdx-plugin-manifest/commit/6c3ac232e64ca9c4fc0ad32ee37c165500b00a01))
127
+
128
+ ## [2.1.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.0...v2.1.1) (2021-11-26)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * **deps:** bump @salesforce/core from 2.29.0 to 2.30.0 ([d8bc5ae](https://github.com/jayree/sfdx-plugin-manifest/commit/d8bc5aedd267d576a6f50e8d880faaf8de1f57eb))
134
+
135
+ # [2.1.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.0.0...v2.1.0) (2021-11-25)
136
+
137
+ ### Bug Fixes
138
+
139
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.6.3 to 5.7.0 ([72100de](https://github.com/jayree/sfdx-plugin-manifest/commit/72100deb19b5fdd3dd0a0d50dea6c7060e0abba6))
140
+ - **deps:** bump cli-ux from 5.6.3 to 5.6.4 ([76a603f](https://github.com/jayree/sfdx-plugin-manifest/commit/76a603fca3ceba0b556ca4814bfedca1f5259ab9))
141
+ - **deps:** bump listr2 from 3.13.4 to 3.13.5 ([f271782](https://github.com/jayree/sfdx-plugin-manifest/commit/f271782ea470012ecd1bef3acaa116fd41a37fce))
142
+ - **deps:** bump marked from 4.0.4 to 4.0.5 ([df74dae](https://github.com/jayree/sfdx-plugin-manifest/commit/df74dae17353e466b02871c9525d93d48482cd51))
143
+
144
+ ### Features
145
+
146
+ - **gitdiff:** add parameter to generate a destructiveChanges manifest with empty package.xml for mdapi:deploy ([dbd3f6e](https://github.com/jayree/sfdx-plugin-manifest/commit/dbd3f6ed6881147960220903269b4095c386ca1a))
147
+
148
+ # [2.0.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.6...v2.0.0) (2021-11-21)
149
+
150
+ ### Bug Fixes
151
+
152
+ - catch more MetadataResolver errors ([cd82847](https://github.com/jayree/sfdx-plugin-manifest/commit/cd82847e58efa2ca95e425f2a1719a48af144d53))
153
+ - **deps:** bump @oclif/command from 1.8.0 to 1.8.3 ([6f9e532](https://github.com/jayree/sfdx-plugin-manifest/commit/6f9e5324f249bf9ff30d82fd22983046cde7680a))
154
+ - **deps:** bump @oclif/config from 1.17.0 to 1.17.1 ([4f89c92](https://github.com/jayree/sfdx-plugin-manifest/commit/4f89c929ff9d2c06ca81f349531b2e6bca36ca6e))
155
+ - **deps:** bump @salesforce/command from 4.1.4 to 4.1.5 ([21c6572](https://github.com/jayree/sfdx-plugin-manifest/commit/21c657228e47f2984b017e01af81a12d5f7a0ae9))
156
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.5.0 to 5.6.3 ([e4f92f9](https://github.com/jayree/sfdx-plugin-manifest/commit/e4f92f9fbdb6b34e868ee1c1061f73f6697ba9c8))
157
+ - **deps:** bump listr2 from 3.13.3 to 3.13.4 ([3f3c9c3](https://github.com/jayree/sfdx-plugin-manifest/commit/3f3c9c357abe85bbb378c005923608285350e2d6))
158
+ - **deps:** bump marked from 4.0.3 to 4.0.4 ([95c2ba2](https://github.com/jayree/sfdx-plugin-manifest/commit/95c2ba2e079ad9542c03d7b694ba9eeed8bd6b74))
159
+ - **gitdiff:** make debugging easier ([cf18cca](https://github.com/jayree/sfdx-plugin-manifest/commit/cf18ccac20c018e721c6913b7c976d4628845941))
160
+ - **manifestgenerate:** metadata api not returning valid metadata type ([909bf7e](https://github.com/jayree/sfdx-plugin-manifest/commit/909bf7e5d680c56c3a6ed123e3d6ee798ac8dacd))
161
+
162
+ ### Features
163
+
164
+ - **gitdiff:** add outputdir parameter ([fe95206](https://github.com/jayree/sfdx-plugin-manifest/commit/fe9520637b9b9370470d37d1dde54f7c769c31ac))
165
+
166
+ ### BREAKING CHANGES
167
+
168
+ - **gitdiff:** To support the destructivechanges parameters of the source:deploy command all files are written to outputdir (defaults to '')
169
+
170
+ ## [1.0.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.5...v1.0.6) (2021-11-16)
171
+
172
+ ### Bug Fixes
173
+
174
+ - **gitdiff:** restore support for caret and tilde in refs ([50ea6b6](https://github.com/jayree/sfdx-plugin-manifest/commit/50ea6b6f3cebe7af4d46d3cbfd1e5d3807009d59))
175
+
176
+ ## [1.0.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.4...v1.0.5) (2021-11-13)
177
+
178
+ ### Bug Fixes
179
+
180
+ - **deps:** bump @salesforce/core from 2.28.3 to 2.28.4 ([e7769e4](https://github.com/jayree/sfdx-plugin-manifest/commit/e7769e4fc079f9f87fb75ef51cda7264495bb901))
181
+ - **deps:** bump @salesforce/kit from 1.5.17 to 1.5.18 ([9cc8e13](https://github.com/jayree/sfdx-plugin-manifest/commit/9cc8e1393894b2ed23f22112b8c3e0bf647bd8b7))
182
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.4.1 to 5.5.0 ([feb9769](https://github.com/jayree/sfdx-plugin-manifest/commit/feb97693b964baa1f386d90ee892ea33b04484d5))
183
+ - **deps:** bump marked from 4.0.0 to 4.0.3 ([ba08e91](https://github.com/jayree/sfdx-plugin-manifest/commit/ba08e91131ffae0b5becba419e790924a007ce3d))
184
+
185
+ ## [1.0.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.3...v1.0.4) (2021-11-08)
186
+
187
+ ### Bug Fixes
188
+
189
+ - **deps:** bump @salesforce/core from 2.28.2 to 2.28.3 ([da85585](https://github.com/jayree/sfdx-plugin-manifest/commit/da85585fbec455f20d6f785709e93f9167d8db92))
190
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.1.2 to 5.4.1 ([45ab5ce](https://github.com/jayree/sfdx-plugin-manifest/commit/45ab5ce975692b9fbd41496e0cc3c922eb01fb6a))
191
+ - **deps:** bump listr2 from 3.13.1 to 3.13.3 ([a20b53e](https://github.com/jayree/sfdx-plugin-manifest/commit/a20b53ee87376e53c9cdd185420e4cf4ee4010c4))
192
+ - **deps:** bump marked from 3.0.8 to 4.0.0 ([36f8f55](https://github.com/jayree/sfdx-plugin-manifest/commit/36f8f55b5968a794e9e00e4b795abd6b9e648723))
193
+ - **gitdiff:** optimize the comparison of childComponents ([0dfe979](https://github.com/jayree/sfdx-plugin-manifest/commit/0dfe979cba37ea5ab5eba8d6ecdb2acb64358938))
194
+ - **manifestgenerate:** optimize StandardValueSet query ([3d98d83](https://github.com/jayree/sfdx-plugin-manifest/commit/3d98d83e3ef8112b15c188c59b2138ae79b9a720))
195
+
196
+ ## [1.0.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.2...v1.0.3) (2021-10-31)
197
+
198
+ ### Bug Fixes
199
+
200
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.1.1 to 5.1.2 ([3f061e8](https://github.com/jayree/sfdx-plugin-manifest/commit/3f061e80f3ee66e9af306baaa8c0dd640694d52c))
201
+ - **deps:** bump fast-xml-parser from 3.21.0 to 3.21.1 ([ea4c7b6](https://github.com/jayree/sfdx-plugin-manifest/commit/ea4c7b696381e3a9b9bf656e71332b58fec71d66))
202
+
203
+ ## [1.0.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.1...v1.0.2) (2021-10-29)
204
+
205
+ ### Bug Fixes
206
+
207
+ - **deps:** bump @salesforce/source-deploy-retrieve from 5.0.1 to 5.1.1 ([bb40fac](https://github.com/jayree/sfdx-plugin-manifest/commit/bb40fac5c2f8facbfe36df10908b9ae0ed342503))
208
+ - **deps:** bump fast-xml-parser from 3.20.3 to 3.21.0 ([77cceff](https://github.com/jayree/sfdx-plugin-manifest/commit/77cceffd9546cf262cdb341a5cb8c0a27e2a587b))
209
+ - **deps:** bump listr2 from 3.12.2 to 3.13.1 ([0afae6e](https://github.com/jayree/sfdx-plugin-manifest/commit/0afae6ea8729afeb069998d2fc5cb192e5e65440))
210
+ - **deps:** bump marked from 3.0.7 to 3.0.8 ([fb76d91](https://github.com/jayree/sfdx-plugin-manifest/commit/fb76d91ef590575bab75c0e12188b13aa4794b2b))
211
+ - **gitdiff:** optimize createVirtualTreeContainer method ([8a0579a](https://github.com/jayree/sfdx-plugin-manifest/commit/8a0579ae1fb4b7ce39f0c515344b1db05913af77))
212
+ - **gitdiff:** set sourceApiVersion ([cc3d5df](https://github.com/jayree/sfdx-plugin-manifest/commit/cc3d5df8e3455867f5d8628e28f4c36a85b745da))
213
+ - **gitdiff:** sort types and members in manifest ([7f76423](https://github.com/jayree/sfdx-plugin-manifest/commit/7f76423a0566ba34091b81b442901f5fe17f51f1))
214
+
215
+ ## [1.0.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.0...v1.0.1) (2021-10-21)
216
+
217
+ ### Bug Fixes
218
+
219
+ - **deps:** bump @salesforce/source-deploy-retrieve from 4.5.11 to 5.0.1 ([6c30cfa](https://github.com/jayree/sfdx-plugin-manifest/commit/6c30cfad891ecda913838b01d86e1e3a5e575a29))
220
+
221
+ # 1.0.0 (2021-10-19)
222
+
223
+ ### Features
224
+
225
+ - add manifest:generate :cleanup :git:diff commands ([74cd719](https://github.com/jayree/sfdx-plugin-manifest/commit/74cd7194727665ae1f25b056780aeb4861f58137))
package/README.md CHANGED
@@ -15,11 +15,11 @@ jayree sfdx manifest commands
15
15
  <!-- usage -->
16
16
  ```sh-session
17
17
  $ sfdx plugins:install @jayree/sfdx-plugin-manifest
18
- $ sfdx jayree:COMMAND
18
+ $ sfdx jayree:[COMMAND]
19
19
  running command...
20
20
  $ sfdx plugins
21
- @jayree/sfdx-plugin-manifest 2.2.1
22
- $ sfdx help jayree:COMMAND
21
+ @jayree/sfdx-plugin-manifest 2.2.4
22
+ $ sfdx help jayree:[COMMAND]
23
23
  USAGE
24
24
  $ sfdx jayree:COMMAND
25
25
  ...
@@ -36,29 +36,29 @@ removes those tags from a manifest file that are present in a second manifest fi
36
36
 
37
37
  ```
38
38
  USAGE
39
- $ sfdx jayree:manifest:cleanup [-x <filepath>] [-f <filepath>] [--json] [--loglevel
40
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
39
+ $ sfdx jayree:manifest:cleanup [-x <filepath>] [-f <filepath>] [--json] [--loglevel
40
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
41
41
 
42
- OPTIONS
43
- -f, --file=file path to the second 'cleanup'
42
+ FLAGS
43
+ -f, --file=<value> path to the second 'cleanup'
44
44
  manifest file
45
-
46
- -x, --manifest=manifest path to the manifest file
47
-
45
+ -x, --manifest=<value> path to the manifest file
48
46
  --json format output as json
49
-
50
47
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
51
48
  this command invocation
52
49
 
53
50
  DESCRIPTION
51
+ removes those tags from a manifest file that are present in a second manifest file
52
+
54
53
  Use this command to remove components or metadata types from a manifes file.
54
+
55
55
  If the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.
56
56
 
57
- EXAMPLE
57
+ EXAMPLES
58
58
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
59
59
  ```
60
60
 
61
- _See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/cleanup.ts)_
61
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/cleanup.ts)_
62
62
 
63
63
  ### `sfdx jayree:manifest:generate`
64
64
 
@@ -66,52 +66,43 @@ generate a complete manifest file form the specified org
66
66
 
67
67
  ```
68
68
  USAGE
69
- $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
70
- [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
69
+ $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
70
+ [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
71
71
 
72
- OPTIONS
72
+ FLAGS
73
73
  -a, --excludeall exclude all packages from output
74
-
75
74
  -c, --matchcase enable 'match case' for the
76
75
  quickfilter
77
-
78
- -f, --file=file write to 'file' instead of stdout
79
-
80
- -q, --quickfilter=quickfilter csv separated list of metadata type,
76
+ -f, --file=<value> write to 'file' instead of stdout
77
+ -q, --quickfilter=<value> csv separated list of metadata type,
81
78
  member or file names to filter on
82
-
83
- -u, --targetusername=targetusername username or alias for the target
79
+ -u, --targetusername=<value> username or alias for the target
84
80
  org; overrides default target org
85
-
86
81
  -w, --matchwholeword enable 'match whole word' for the
87
82
  quickfilter
88
-
89
83
  -x, --excludemanaged exclude managed packages from output
90
-
91
- --apiversion=apiversion override the api version used for
84
+ --apiversion=<value> override the api version used for
92
85
  api requests made by this command
93
-
94
86
  --includeflowversions include flow versions as with api
95
87
  version 43.0
96
-
97
88
  --json format output as json
98
-
99
89
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
100
90
  this command invocation
101
91
 
102
92
  DESCRIPTION
103
- Use this command to generate a manifest file based on an existing org.
93
+ generate a complete manifest file form the specified org
104
94
 
105
- ALIASES
106
- $ sfdx jayree:packagexml
95
+ Use this command to generate a manifest file based on an existing org.
107
96
 
108
97
  EXAMPLES
109
98
  $ sfdx jayree:manifest:generate --targetusername myOrg@example.com
99
+
110
100
  <?xml version='1.0' encoding='UTF-8'?>
101
+
111
102
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
112
103
  ```
113
104
 
114
- _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/generate.ts)_
105
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/generate.ts)_
115
106
 
116
107
  ### `sfdx jayree:manifest:git:diff`
117
108
 
@@ -119,47 +110,57 @@ create a manifest and destructiveChanges manifest using 'git diff' data
119
110
 
120
111
  ```
121
112
  USAGE
122
- $ sfdx jayree:manifest:git:diff [-o <string>] [-d] [--json] [--loglevel
123
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
113
+ $ sfdx jayree:manifest:git:diff [-o <string>] [-d] [--json] [--loglevel
114
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
124
115
 
125
116
  ARGUMENTS
126
117
  REF1 base commit or branch
127
118
  REF2 commit or branch to compare to the base commit
128
119
 
129
- OPTIONS
120
+ FLAGS
130
121
  -d, --destructivechangesonly create a destructiveChanges manifest
131
122
  only (package.xml will be empty)
132
-
133
- -o, --outputdir=outputdir directory to save the created
123
+ -o, --outputdir=<value> directory to save the created
134
124
  manifest files
135
-
136
125
  --json format output as json
137
-
138
126
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
139
127
  this command invocation
140
128
 
141
129
  DESCRIPTION
142
- Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
130
+ create a manifest and destructiveChanges manifest using 'git diff' data
131
+
132
+ Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
143
133
  git refs.
144
134
 
145
135
  You can use all ways to spell <commit> which are valid for 'git diff'.
136
+
146
137
  (See https://git-scm.com/docs/git-diff)
147
138
 
148
139
  EXAMPLES
149
140
  $ sfdx jayree:manifest:git:diff <commit> <commit>
141
+
150
142
  $ sfdx jayree:manifest:git:diff <commit>..<commit>
143
+
151
144
  uses the changes between two arbitrary <commit>
152
145
 
146
+
147
+
153
148
  $ sfdx jayree:manifest:git:diff <commit>...<commit>
154
- uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
155
- <commit>.
149
+
150
+ uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.
151
+
156
152
 
153
+
157
154
  $ sfdx jayree:manifest:git:diff branchA..branchB
155
+
158
156
  uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)
159
157
 
158
+
159
+
160
160
  $ sfdx jayree:manifest:git:diff branchA...branchB
161
+
161
162
  uses the diff of what is unique in branchB (REF2)
162
163
  ```
163
164
 
164
- _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/git/diff.ts)_
165
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/git/diff.ts)_
165
166
  <!-- commandsstop -->
@@ -1,5 +1,5 @@
1
1
  import { FlagsConfig } from '@salesforce/command';
2
- import { FileProperties, ListMetadataQuery } from 'jsforce';
2
+ import { FileProperties, ListMetadataQuery } from '@salesforce/source-deploy-retrieve/lib/src/client/types';
3
3
  import { Connection } from '@salesforce/core';
4
4
  import { PackageManifestObject } from '@salesforce/source-deploy-retrieve';
5
5
  import { JayreeSfdxCommand } from '../../../jayreeSfdxCommand';
@@ -28,7 +28,6 @@ export interface FlowDefinitionRecord {
28
28
  };
29
29
  }
30
30
  export default class GeneratePackageXML extends JayreeSfdxCommand {
31
- static aliases: string[];
32
31
  static description: string;
33
32
  static examples: string[];
34
33
  protected static flagsConfig: FlagsConfig;
@@ -20,7 +20,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
20
20
  // eslint-disable-next-line complexity
21
21
  async run() {
22
22
  var _a, _b, _c, _d;
23
- this.warnIfRunByAlias(GeneratePackageXML.aliases, GeneratePackageXML.id);
24
23
  await this.org.refreshAuth();
25
24
  const file = this.getFlag('file');
26
25
  this.ux.startSpinner(`Generating ${file || 'package.xml'}`);
@@ -92,7 +91,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
92
91
  await fs.writeFile(file, componentSet.getPackageXml());
93
92
  }
94
93
  else {
95
- this.ux.log(componentSet.getPackageXml());
94
+ this.ux.log(await componentSet.getPackageXml());
96
95
  }
97
96
  this.ux.stopSpinner();
98
97
  return componentSet.getObject();
@@ -103,7 +102,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
103
102
  if (!apiVersion) {
104
103
  apiVersion = this.cacheConnection.getApiVersion();
105
104
  }
106
- members = (0, utils_1.normalizeToArray)(await this.cacheConnection.metadata.list(query, apiVersion));
105
+ members = (0, utils_1.normalizeToArray)((await this.cacheConnection.metadata.list(query, apiVersion)));
107
106
  }
108
107
  catch (error) {
109
108
  members = [];
@@ -113,7 +112,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
113
112
  }
114
113
  }
115
114
  exports.default = GeneratePackageXML;
116
- GeneratePackageXML.aliases = ['jayree:packagexml'];
117
115
  GeneratePackageXML.description = messages.getMessage('commandDescription');
118
116
  GeneratePackageXML.examples = messages.getMessage('examples').split(os.EOL);
119
117
  GeneratePackageXML.flagsConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AAEzD,2CAAwD;AACxD,+EA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T,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;KAClE,CAAC;IACF,mBAAmB,EAAE,eAAK,CAAC,OAAO,CAAC;QACjC,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;KACnE,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACxD,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QACjE,SAAS,EAAE,CAAC,YAAY,CAAC;KAC1B,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,CAAC;QACxB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QAC7D,SAAS,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;CACH,CAAC;AAEe,mCAAgB,GAAG,IAAI,CAAC;AACxB,yCAAsB,GAAG,KAAK,CAAC;AAC/B,kCAAe,GAAG,KAAK,CAAC"}
@@ -1,16 +1,11 @@
1
+ import { ArgInput } from '@oclif/core/lib/interfaces';
1
2
  import { FlagsConfig } from '@salesforce/command';
2
3
  import { AnyJson } from '@salesforce/ts-types';
3
4
  import { JayreeSfdxCommand } from '../../../../jayreeSfdxCommand';
4
5
  export default class GitDiff extends JayreeSfdxCommand {
5
6
  static description: string;
6
7
  static examples: string[];
7
- static args: {
8
- name: string;
9
- required: boolean;
10
- description: string;
11
- parse: (input: string) => string;
12
- hidden: boolean;
13
- }[];
8
+ static args: ArgInput;
14
9
  protected static flagsConfig: FlagsConfig;
15
10
  protected static requiresUsername: boolean;
16
11
  protected static supportsDevhubUsername: boolean;
@@ -27,7 +27,8 @@ process.emitWarning = (warning) => {
27
27
  return original(warning);
28
28
  });
29
29
  };
30
- const unexpectedArgument = (input) => {
30
+ // eslint-disable-next-line @typescript-eslint/require-await
31
+ const unexpectedArgument = async (input) => {
31
32
  if (input.includes('-')) {
32
33
  throw new Error(`Unexpected argument: ${input}
33
34
  See more help with --help`);
@@ -41,7 +42,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
41
42
  this.outputDir = this.getFlag('outputdir');
42
43
  this.projectRoot = this.project.getPath();
43
44
  this.sfdxProjectFolders = this.project.getPackageDirectories().map((p) => (0, gitdiff_1.ensureOSPath)(p.path));
44
- this.sourceApiVersion = (await this.project.retrieveSfdxProjectJson()).getContents().sourceApiVersion;
45
+ this.sourceApiVersion = (await this.project.retrieveSfProjectJson()).getContents().sourceApiVersion;
45
46
  this.destructiveChanges = (0, path_1.join)(this.projectRoot, this.outputDir, 'destructiveChanges.xml');
46
47
  this.manifest = (0, path_1.join)(this.projectRoot, this.outputDir, 'package.xml');
47
48
  (0, gitdiff_1.debug)({
@@ -1 +1 @@
1
- {"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,+BAA+C;AAC/C,iDAAyD;AACzD,2CAA4C;AAE5C,+BAA+B;AAC/B,mCAAuC;AACvC,uCAAuC;AACvC,+EAK4C;AAC5C,qEAAkE;AAClE,uDASmC;AAEnC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;AAElF,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CA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C;IACF,sBAAsB,EAAE,eAAK,CAAC,OAAO,CAAC;QACpC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;QAC1D,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAC;AAEe,wBAAgB,GAAG,KAAK,CAAC;AACzB,8BAAsB,GAAG,KAAK,CAAC;AAC/B,uBAAe,GAAG,IAAI,CAAC"}
@@ -1,2 +1,2 @@
1
- import { Hook } from '@oclif/config';
1
+ import { Hook } from '@oclif/core';
2
2
  export declare const changelog: Hook<'changelog'>;
@@ -14,7 +14,6 @@ const debug_1 = require("debug");
14
14
  const TerminalRenderer = require("marked-terminal");
15
15
  const marked_1 = require("marked");
16
16
  const semver = require("semver");
17
- const cli_ux_1 = require("cli-ux");
18
17
  const debug = (0, debug_1.debug)('jayree:hooks');
19
18
  // original from https://github.com/salesforcecli/plugin-info/blob/main/src/shared/parseReleaseNotes.ts
20
19
  const parseReleaseNotes = (notes, version) => {
@@ -55,7 +54,8 @@ const parseReleaseNotes = (notes, version) => {
55
54
  }
56
55
  return tokens;
57
56
  };
58
- const changelog = function () {
57
+ // eslint-disable-next-line @typescript-eslint/require-await
58
+ const changelog = async function () {
59
59
  process.once('exit', () => {
60
60
  try {
61
61
  const pluginRootPath = (0, path_1.join)(__dirname, '..', '..');
@@ -82,7 +82,7 @@ const changelog = function () {
82
82
  renderer: new TerminalRenderer({ emoji: false }),
83
83
  });
84
84
  tokens.unshift(marked_1.marked.lexer(`# Changelog for '${name}':`)[0]);
85
- cli_ux_1.cli.log(marked_1.marked.parser(tokens));
85
+ this.log(marked_1.marked.parser(tokens));
86
86
  fs.writeJsonSync(versionFile, { version });
87
87
  }
88
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,0BAA0B;AAC1B,+BAA4B;AAC5B,+BAA+B;AAE/B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CAAC,CAAC;gBACzD,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;oBAClB,KAAK,CAAC,GAAG,IAAI,2BAA2B,OAAO,IAAI,CAAC,CAAC;iBACtD;qBAAM;oBACL,eAAM,CAAC,UAAU,CAAC;wBAChB,QAAQ,EAAE,IAAI,gBAAgB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;qBACjD,CAAC,CAAC;oBACH,MAAM,CAAC,OAAO,CAAC,eAAM,CAAC,KAAK,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9D,IAAI,CAAC,GAAG,CAAC,eAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;oBAChC,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;iBAC5C;aACF;iBAAM;gBACL,KAAK,CAAC,GAAG,IAAI,cAAc,CAAC,CAAC;aAC9B;SACF;QAAC,OAAO,KAAK,EAAE;YACd,KAAK,CAAC,KAAK,CAAC,CAAC;SACd;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAtCW,QAAA,SAAS,aAsCpB"}
@@ -7,7 +7,7 @@ exports.cleanupManifestFile = void 0;
7
7
  * Licensed under the BSD 3-Clause license.
8
8
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
9
  */
10
- const cli_ux_1 = require("cli-ux");
10
+ const core_1 = require("@oclif/core");
11
11
  const fs = require("fs-extra");
12
12
  const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
13
13
  const fast_xml_parser_1 = require("fast-xml-parser");
@@ -25,7 +25,7 @@ function js2Manifest(jsData) {
25
25
  }
26
26
  async function cleanupManifestFile(manifest, ignoreManifest) {
27
27
  const { packageTypeMembers: manifestTypeMembers, version } = parseManifest(fs.readFileSync(manifest, 'utf8'));
28
- cli_ux_1.cli.log(`apply '${ignoreManifest}' to '${manifest}'`);
28
+ core_1.CliUx.ux.log(`apply '${ignoreManifest}' to '${manifest}'`);
29
29
  const typeMap = new Map();
30
30
  manifestTypeMembers.forEach((value) => {
31
31
  typeMap.set(value.name, (0, utils_1.normalizeToArray)(value.members));
@@ -41,12 +41,12 @@ async function cleanupManifestFile(manifest, ignoreManifest) {
41
41
  return includemembers.includes(value);
42
42
  });
43
43
  if (includedmembers.length) {
44
- cli_ux_1.cli.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
44
+ core_1.CliUx.ux.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
45
45
  typeMap.set(types.name, includedmembers);
46
46
  }
47
47
  }
48
48
  if (packageTypeMembers.includes('*') && packageTypeMembers.length === 1) {
49
- cli_ux_1.cli.log('exclude all members for type ' + types.name);
49
+ core_1.CliUx.ux.log('exclude all members for type ' + types.name);
50
50
  typeMap.delete(types.name);
51
51
  }
52
52
  if (!packageTypeMembers.includes('*')) {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../src/utils/manifest.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,mCAA6B;AAC7B,+BAA+B;AAC/B,4EAAoF;AAEpF,qDAAwD;AACxD,8EAAqG;AAUrG,SAAS,aAAa,CAAC,OAAe;IACpC,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC,EAAE,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/E,MAAM,EACJ,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAC5B,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAA0B,CAAC;IAEnD,MAAM,kBAAkB,GAAG,IAAA,wBAAgB,EAAC,KAAK,CAAC,CAAC;IACnD,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,MAA6B;IAChD,MAAM,MAAM,GAAG,IAAI,4BAAU,CAAC,E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C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;gBACpC,IAAI,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;oBAC1B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;iBACnD;YACH,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,WAAW,GAAyB,EAAE,CAAC;IAC7C,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE;QACnD,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;SAC/C;KACF;IAED,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC1F,CAAC;AAvDD,kDAuDC"}
@@ -1 +1 @@
1
- {"version":"2.2.1","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.","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","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)","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"},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file"}},"args":[]},"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.","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","pluginType":"core","aliases":["jayree:packagexml"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on"},"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"},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false},"excludeall":{"name":"excludeall","type":"boolean","char":"a","description":"exclude all packages from output","allowNo":false}},"args":[]},"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)","usage":"<%= command.id %> [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"directory to save the created manifest files","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}]}}}
1
+ {"version":"2.2.4","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 %> [-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"},"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":{"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}}}
package/package.json CHANGED
@@ -1,32 +1,31 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "jayree sfdx manifest commands",
4
- "version": "2.2.1",
4
+ "version": "2.2.4",
5
5
  "author": "jayree",
6
6
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
7
7
  "dependencies": {
8
- "@oclif/config": "^1.18.3",
9
- "@salesforce/command": "^4.2.2",
8
+ "@oclif/core": "^1.9.0",
9
+ "@salesforce/command": "^5.1.3",
10
10
  "@salesforce/kit": "^1.5.41",
11
- "@salesforce/source-deploy-retrieve": "^5.12.13",
11
+ "@salesforce/source-deploy-retrieve": "^6.0.2",
12
12
  "@salesforce/ts-types": "^1.5.20",
13
- "cli-ux": "^5.6.7",
14
13
  "debug": "^4.3.4",
15
14
  "fast-deep-equal": "^3.1.3",
16
- "fast-xml-parser": "^4.0.7",
15
+ "fast-xml-parser": "^4.0.8",
17
16
  "fs-extra": "^10.1.0",
18
- "isomorphic-git": "^1.17.1",
19
- "jsforce": "^1.11.0",
17
+ "isomorphic-git": "^1.17.2",
20
18
  "listr2": "^4.0.5",
21
- "marked": "^4.0.15",
19
+ "marked": "^4.0.16",
22
20
  "marked-terminal": "^4.2.0",
23
21
  "semver": "^7.3.7",
24
22
  "tslib": "^2.4.0"
25
23
  },
26
24
  "devDependencies": {
27
- "@commitlint/cli": "^16.2.4",
28
- "@commitlint/config-conventional": "^16.2.4",
29
- "@oclif/dev-cli": "^1.26.10",
25
+ "@commitlint/cli": "^17.0.1",
26
+ "@commitlint/config-conventional": "^17.0.0",
27
+ "@oclif/plugin-command-snapshot": "^3",
28
+ "@oclif/plugin-help": "^5.1.12",
30
29
  "@salesforce/dev-config": "^3.0.1",
31
30
  "@salesforce/dev-scripts": "^2.0.2",
32
31
  "@salesforce/prettier-config": "^0.0.2",
@@ -34,37 +33,38 @@
34
33
  "@types/chai": "^4.3.1",
35
34
  "@types/debug": "^4.1.7",
36
35
  "@types/fs-extra": "^9.0.13",
37
- "@types/jsforce": "^1.9.42",
38
36
  "@types/marked": "^4.0.3",
39
37
  "@types/marked-terminal": "^3.1.3",
40
38
  "@types/mocha": "^9.1.1",
41
- "@types/node": "^17.0.31",
39
+ "@types/node": "^17.0.36",
42
40
  "@types/semver": "^7.3.9",
43
41
  "@types/sinon": "10.0.11",
44
- "@typescript-eslint/eslint-plugin": "^5.22.0",
45
- "@typescript-eslint/parser": "^5.22.0",
42
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
43
+ "@typescript-eslint/parser": "^5.26.0",
46
44
  "chai": "^4.3.6",
47
- "eslint": "^8.14.0",
45
+ "eslint": "^8.16.0",
48
46
  "eslint-config-oclif": "^4.0",
49
47
  "eslint-config-prettier": "^8.5.0",
50
48
  "eslint-config-salesforce": "^0.1.6",
51
49
  "eslint-config-salesforce-typescript": "^0.2.8",
52
50
  "eslint-plugin-header": "^3.1.1",
53
51
  "eslint-plugin-import": "2.26.0",
54
- "eslint-plugin-jsdoc": "^39.2.9",
52
+ "eslint-plugin-jsdoc": "^39.3.2",
55
53
  "eslint-plugin-prettier": "^4.0.0",
56
- "husky": "^7.0.4",
54
+ "husky": "^8.0.1",
57
55
  "is-ci": "^3.0.1",
58
56
  "mocha": "^10.0.0",
59
57
  "nyc": "^15.1.0",
58
+ "oclif": "^3.0.1",
60
59
  "patch-package": "^6.4.7",
61
60
  "pinst": "^3.0.0",
62
61
  "prettier": "^2.6.2",
63
62
  "pretty-quick": "^3.1.3",
64
- "sinon": "13.0.2",
63
+ "shx": "^0.3.4",
64
+ "sinon": "14.0.0",
65
65
  "source-map-support": "~0.5.21",
66
- "ts-node": "^10.7.0",
67
- "typescript": "^4.6.4"
66
+ "ts-node": "^10.8.0",
67
+ "typescript": "^4.7.2"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=14.17.1"
@@ -72,9 +72,8 @@
72
72
  "files": [
73
73
  "/lib",
74
74
  "/messages",
75
- "/npm-shrinkwrap.json",
76
75
  "/oclif.manifest.json",
77
- "/bin/is-sfdx.js"
76
+ "/CHANGELOG.md"
78
77
  ],
79
78
  "homepage": "https://github.com/jayree/sfdx-plugin-manifest",
80
79
  "keywords": [
@@ -99,28 +98,39 @@
99
98
  }
100
99
  },
101
100
  "devPlugins": [
102
- "@oclif/plugin-help"
103
- ]
101
+ "@oclif/plugin-help",
102
+ "@oclif/plugin-command-snapshot"
103
+ ],
104
+ "info": {
105
+ "releasenotes": {
106
+ "distTagUrl": "https://registry.npmjs.org/-/package/@jayree/sfdx-plugin-manifest/dist-tags",
107
+ "releaseNotesPath": "https://github.com/jayree/sfdx-plugin-manifest/tree/main",
108
+ "releaseNotesFilename": "CHANGELOG.md"
109
+ }
110
+ }
104
111
  },
105
112
  "repository": "jayree/sfdx-plugin-manifest",
106
113
  "scripts": {
107
114
  "build": "sf-build",
108
115
  "clean": "sf-clean",
109
116
  "clean-all": "sf-clean all",
117
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
110
118
  "compile": "sf-compile",
111
119
  "format": "sf-format",
112
120
  "lint": "sf-lint",
113
121
  "lint-fix": "sf-lint --fix",
114
- "postcompile": "oclif-dev manifest && oclif-dev readme",
115
- "_postinstall": "node ./bin/is-sfdx.js || patch-package",
116
- "postpack": "rimraf oclif.manifest.json",
122
+ "postcompile": "oclif readme",
123
+ "_postinstall": "patch-package",
124
+ "postpack": "shx rm -f oclif.manifest.json",
117
125
  "postpublish": "pinst --enable",
126
+ "posttest": "yarn lint && yarn test:deprecation-policy",
118
127
  "prepack": "sf-prepack",
119
- "prepare": "is-ci || node ./bin/is-sfdx.js || husky install",
128
+ "prepare": "is-ci || husky install",
120
129
  "prepublishOnly": "pinst --disable",
121
130
  "pretest": "sf-compile-test",
122
131
  "test": "sf-test",
123
- "version": "oclif-dev manifest && oclif-dev readme"
132
+ "test:deprecation-policy": "./bin/run snapshot:compare",
133
+ "version": "oclif readme"
124
134
  },
125
135
  "publishConfig": {
126
136
  "access": "public"
package/bin/is-sfdx.js DELETED
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- 'use strict'
3
- process.exit((process.env.SFDX_BINPATH || process.env.SFDX_UPDATE_INSTRUCTIONS) ? 0 : 1)