@jayree/sfdx-plugin-manifest 2.1.9 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +209 -0
- package/README.md +7 -5
- package/lib/commands/jayree/manifest/generate.js +35 -96
- package/lib/commands/jayree/manifest/generate.js.map +1 -1
- package/lib/hooks/changelog.js +8 -2
- package/lib/hooks/changelog.js.map +1 -1
- package/lib/utils/gitdiff.js +4 -6
- package/lib/utils/gitdiff.js.map +1 -1
- package/messages/manifestgenerate.json +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +51 -46
- package/bin/is-sfdx.js +0 -3
- package/lib/metadata/standardvalueset.json +0 -84
package/CHANGELOG.md
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
## [2.2.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.1...v2.2.2) (2022-05-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump @salesforce/source-deploy-retrieve ([960f5c6](https://github.com/jayree/sfdx-plugin-manifest/commit/960f5c6bcfebcfde4e61eee354d866e357d8c247))
|
7
|
+
* **deps:** bump isomorphic-git from 1.17.1 to 1.17.2 ([527e6a1](https://github.com/jayree/sfdx-plugin-manifest/commit/527e6a16632453ca2260025e516714fbdf5f7c0f))
|
8
|
+
|
9
|
+
## [2.2.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.0...v2.2.1) (2022-05-06)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* **gitdiff:** support customobjecttranslation and bot again after SDR fix ([99d650d](https://github.com/jayree/sfdx-plugin-manifest/commit/99d650de4bf04647ea0b11a3317e4d8a2c2e89dc))
|
15
|
+
|
16
|
+
# [2.2.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.9...v2.2.0) (2022-03-03)
|
17
|
+
|
18
|
+
|
19
|
+
### Bug Fixes
|
20
|
+
|
21
|
+
* **deps:** bump @oclif/config from 1.18.2 to 1.18.3 ([9709aa3](https://github.com/jayree/sfdx-plugin-manifest/commit/9709aa36b5faf551fc79edd2a170b3718854488e))
|
22
|
+
* **deps:** bump @salesforce/command from 4.2.1 to 4.2.2 ([ba50496](https://github.com/jayree/sfdx-plugin-manifest/commit/ba50496e38744a10d749a60751b1d7f2b8e0420e))
|
23
|
+
* **deps:** bump @salesforce/core from 2.33.1 to 2.35.3 ([1d0e655](https://github.com/jayree/sfdx-plugin-manifest/commit/1d0e65560e6fa8b15a4201181a1a71d42fe0c3d7))
|
24
|
+
* **deps:** bump @salesforce/kit from 1.5.30 to 1.5.34 ([4c4822a](https://github.com/jayree/sfdx-plugin-manifest/commit/4c4822a9fe5a19e9ff9063950034ef48f54274cc))
|
25
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 5.9.2 to 5.12.3 ([5b07ec3](https://github.com/jayree/sfdx-plugin-manifest/commit/5b07ec3b2fde338b6a519daed112e1e2102cdd75))
|
26
|
+
* **deps:** bump fast-xml-parser from 4.0.1 to 4.0.4 ([7048e7d](https://github.com/jayree/sfdx-plugin-manifest/commit/7048e7db139fb07b84cc1a7d54fdf718b9f0421e))
|
27
|
+
* **deps:** bump fs-extra from 10.0.0 to 10.0.1 ([2fa0396](https://github.com/jayree/sfdx-plugin-manifest/commit/2fa0396e22b8f7e3f073184187dc71cada96ee0c))
|
28
|
+
* **deps:** bump isomorphic-git from 1.10.4 to 1.13.0 ([2872b09](https://github.com/jayree/sfdx-plugin-manifest/commit/2872b09db46f376700b762c1bb371b2f82d419fb))
|
29
|
+
* **deps:** bump listr2 from 4.0.1 to 4.0.4 ([ed1e01e](https://github.com/jayree/sfdx-plugin-manifest/commit/ed1e01e8ad9ed00ec3bbcd59949148d8d5fdad98))
|
30
|
+
* **deps:** bump marked from 4.0.10 to 4.0.12 ([d7314d0](https://github.com/jayree/sfdx-plugin-manifest/commit/d7314d053302fca98afb184d350a22b497073a33))
|
31
|
+
* fix changelog hook ([2883fbd](https://github.com/jayree/sfdx-plugin-manifest/commit/2883fbd045fca98a65636d1d5b29f5fe81bb27a7))
|
32
|
+
|
33
|
+
|
34
|
+
### Features
|
35
|
+
|
36
|
+
* **manifestgenerate:** add --excludeall flag to exclude managed and unlocked packages ([396a76f](https://github.com/jayree/sfdx-plugin-manifest/commit/396a76f91ab5b6da8630c9faff0621296c7c3944))
|
37
|
+
|
38
|
+
## [2.1.9](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.8...v2.1.9) (2022-01-15)
|
39
|
+
|
40
|
+
|
41
|
+
### Bug Fixes
|
42
|
+
|
43
|
+
* **deps:** bump @salesforce/kit from 1.5.26 to 1.5.28 ([de56726](https://github.com/jayree/sfdx-plugin-manifest/commit/de56726b58aace2e6d2ae7f63ba488e147a7b5cf))
|
44
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 5.9.1 to 5.9.2 ([30004f9](https://github.com/jayree/sfdx-plugin-manifest/commit/30004f9e65e6b716e4d9aeb3671c780e62f4becc))
|
45
|
+
* **deps:** bump fast-xml-parser from 4.0.0 to 4.0.1 ([debdbf0](https://github.com/jayree/sfdx-plugin-manifest/commit/debdbf0f87c8fa0658108de0d0d21ed4a2e40d3e))
|
46
|
+
* **deps:** bump isomorphic-git from 1.10.3 to 1.10.4 ([735fef3](https://github.com/jayree/sfdx-plugin-manifest/commit/735fef33d244b487f3f13edc37c35f8ef5375efb))
|
47
|
+
* **deps:** bump listr2 from 4.0.0 to 4.0.1 ([e9474ec](https://github.com/jayree/sfdx-plugin-manifest/commit/e9474ec6ceb6d5be6cc501c4619d962a372f93f4))
|
48
|
+
* **deps:** bump marked from 4.0.9 to 4.0.10 ([1f7712c](https://github.com/jayree/sfdx-plugin-manifest/commit/1f7712c95a7c4b2e069a22c8e4f25dba9ab7ac32))
|
49
|
+
|
50
|
+
## [2.1.8](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.7...v2.1.8) (2022-01-07)
|
51
|
+
|
52
|
+
|
53
|
+
### Bug Fixes
|
54
|
+
|
55
|
+
* **deps:** bump @salesforce/kit from 1.5.25 to 1.5.26 ([860f606](https://github.com/jayree/sfdx-plugin-manifest/commit/860f606e9d91ee43ce6ea1956caf401197098c24))
|
56
|
+
* **deps:** bump fast-xml-parser from 3.21.1 to 4.0.0 ([7feaf6f](https://github.com/jayree/sfdx-plugin-manifest/commit/7feaf6ffc410da4dd6a8f2e03370b3f507faf561))
|
57
|
+
* **deps:** bump listr2 from 3.14.0 to 4.0.0 ([cee5f4e](https://github.com/jayree/sfdx-plugin-manifest/commit/cee5f4eac31c57b3f79a3197eb065623f25ca80b))
|
58
|
+
|
59
|
+
## [2.1.7](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.6...v2.1.7) (2022-01-06)
|
60
|
+
|
61
|
+
|
62
|
+
### Bug Fixes
|
63
|
+
|
64
|
+
* downgrade cli-ux ([a0a27a8](https://github.com/jayree/sfdx-plugin-manifest/commit/a0a27a8623558f739264c1c8eb380227970dc93e))
|
65
|
+
|
66
|
+
## [2.1.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.5...v2.1.6) (2021-12-23)
|
67
|
+
|
68
|
+
|
69
|
+
### Bug Fixes
|
70
|
+
|
71
|
+
* set node version to 14.17.1 ([e6bf30c](https://github.com/jayree/sfdx-plugin-manifest/commit/e6bf30c1de943b085a379db5cc83e06e12f2a2bb))
|
72
|
+
|
73
|
+
## [2.1.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.4...v2.1.5) (2021-12-22)
|
74
|
+
|
75
|
+
|
76
|
+
### Bug Fixes
|
77
|
+
|
78
|
+
* update dependencies ([8f40458](https://github.com/jayree/sfdx-plugin-manifest/commit/8f4045871e8ad89982b7c788ce688ce1af01fd69))
|
79
|
+
|
80
|
+
## [2.1.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.3...v2.1.4) (2021-12-19)
|
81
|
+
|
82
|
+
|
83
|
+
### Bug Fixes
|
84
|
+
|
85
|
+
* update dependencies ([fb282ee](https://github.com/jayree/sfdx-plugin-manifest/commit/fb282ee2c59688f70dffedf9879b1c95c95a2d77))
|
86
|
+
|
87
|
+
## [2.1.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.2...v2.1.3) (2021-12-18)
|
88
|
+
|
89
|
+
|
90
|
+
### Bug Fixes
|
91
|
+
|
92
|
+
* **deps:** bump @oclif/command from 1.8.7 to 1.8.16 ([f0e7468](https://github.com/jayree/sfdx-plugin-manifest/commit/f0e746854ecbb5f3c6400c8eadc7ec6a40894c92))
|
93
|
+
* **deps:** bump @salesforce/command from 4.2.0 to 4.2.1 ([613c442](https://github.com/jayree/sfdx-plugin-manifest/commit/613c442e7df858a9ed59a9156b67cb49e284973d))
|
94
|
+
* **deps:** bump @salesforce/core from 2.31.0 to 2.33.1 ([f716837](https://github.com/jayree/sfdx-plugin-manifest/commit/f71683729023733a1b0788860b2966510ccf875e))
|
95
|
+
* **deps:** bump @salesforce/kit from 1.5.18 to 1.5.22 ([a9a9c31](https://github.com/jayree/sfdx-plugin-manifest/commit/a9a9c310039827ed3eec825c20821e5718be049f))
|
96
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 5.8.0 to 5.8.2 ([709f36a](https://github.com/jayree/sfdx-plugin-manifest/commit/709f36ab3c5099abc86787a2197ae07a536c1004))
|
97
|
+
* **deps:** bump cli-ux from 5.6.5 to 6.0.6 ([aac3fb2](https://github.com/jayree/sfdx-plugin-manifest/commit/aac3fb23750e4418b92981e4cf9de4266fa03752))
|
98
|
+
* **deps:** bump isomorphic-git from 1.10.1 to 1.10.3 ([ec74cc4](https://github.com/jayree/sfdx-plugin-manifest/commit/ec74cc4a31c751c12f27724e217f0fe6757b9f87))
|
99
|
+
* **deps:** bump marked from 4.0.5 to 4.0.7 ([6dab24f](https://github.com/jayree/sfdx-plugin-manifest/commit/6dab24fcd5cb5e8407aadf93b5a2bdcd8993ea82))
|
100
|
+
|
101
|
+
## [2.1.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.1...v2.1.2) (2021-12-01)
|
102
|
+
|
103
|
+
|
104
|
+
### Bug Fixes
|
105
|
+
|
106
|
+
* **deps:** bump @oclif/command from 1.8.4 to 1.8.7 ([51aa301](https://github.com/jayree/sfdx-plugin-manifest/commit/51aa30145b942c00669dababd4889d171ed4becf))
|
107
|
+
* **deps:** bump @salesforce/command from 4.1.5 to 4.2.0 ([dae11dd](https://github.com/jayree/sfdx-plugin-manifest/commit/dae11ddf4a1711c54361b7a2cfff14bc86dc7660))
|
108
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 5.7.0 to 5.8.0 ([319d731](https://github.com/jayree/sfdx-plugin-manifest/commit/319d73190bad8d06436d3e3b7e2eed20f0a2c773))
|
109
|
+
* **deps:** bump cli-ux from 5.6.4 to 5.6.5 ([c703395](https://github.com/jayree/sfdx-plugin-manifest/commit/c703395bf02b57f533d583a75e53394fe5017f96))
|
110
|
+
* **deps:** bump jsforce from 1.10.1 to 1.11.0 ([6c3ac23](https://github.com/jayree/sfdx-plugin-manifest/commit/6c3ac232e64ca9c4fc0ad32ee37c165500b00a01))
|
111
|
+
|
112
|
+
## [2.1.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.1.0...v2.1.1) (2021-11-26)
|
113
|
+
|
114
|
+
|
115
|
+
### Bug Fixes
|
116
|
+
|
117
|
+
* **deps:** bump @salesforce/core from 2.29.0 to 2.30.0 ([d8bc5ae](https://github.com/jayree/sfdx-plugin-manifest/commit/d8bc5aedd267d576a6f50e8d880faaf8de1f57eb))
|
118
|
+
|
119
|
+
# [2.1.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.0.0...v2.1.0) (2021-11-25)
|
120
|
+
|
121
|
+
### Bug Fixes
|
122
|
+
|
123
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.6.3 to 5.7.0 ([72100de](https://github.com/jayree/sfdx-plugin-manifest/commit/72100deb19b5fdd3dd0a0d50dea6c7060e0abba6))
|
124
|
+
- **deps:** bump cli-ux from 5.6.3 to 5.6.4 ([76a603f](https://github.com/jayree/sfdx-plugin-manifest/commit/76a603fca3ceba0b556ca4814bfedca1f5259ab9))
|
125
|
+
- **deps:** bump listr2 from 3.13.4 to 3.13.5 ([f271782](https://github.com/jayree/sfdx-plugin-manifest/commit/f271782ea470012ecd1bef3acaa116fd41a37fce))
|
126
|
+
- **deps:** bump marked from 4.0.4 to 4.0.5 ([df74dae](https://github.com/jayree/sfdx-plugin-manifest/commit/df74dae17353e466b02871c9525d93d48482cd51))
|
127
|
+
|
128
|
+
### Features
|
129
|
+
|
130
|
+
- **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))
|
131
|
+
|
132
|
+
# [2.0.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.6...v2.0.0) (2021-11-21)
|
133
|
+
|
134
|
+
### Bug Fixes
|
135
|
+
|
136
|
+
- catch more MetadataResolver errors ([cd82847](https://github.com/jayree/sfdx-plugin-manifest/commit/cd82847e58efa2ca95e425f2a1719a48af144d53))
|
137
|
+
- **deps:** bump @oclif/command from 1.8.0 to 1.8.3 ([6f9e532](https://github.com/jayree/sfdx-plugin-manifest/commit/6f9e5324f249bf9ff30d82fd22983046cde7680a))
|
138
|
+
- **deps:** bump @oclif/config from 1.17.0 to 1.17.1 ([4f89c92](https://github.com/jayree/sfdx-plugin-manifest/commit/4f89c929ff9d2c06ca81f349531b2e6bca36ca6e))
|
139
|
+
- **deps:** bump @salesforce/command from 4.1.4 to 4.1.5 ([21c6572](https://github.com/jayree/sfdx-plugin-manifest/commit/21c657228e47f2984b017e01af81a12d5f7a0ae9))
|
140
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.5.0 to 5.6.3 ([e4f92f9](https://github.com/jayree/sfdx-plugin-manifest/commit/e4f92f9fbdb6b34e868ee1c1061f73f6697ba9c8))
|
141
|
+
- **deps:** bump listr2 from 3.13.3 to 3.13.4 ([3f3c9c3](https://github.com/jayree/sfdx-plugin-manifest/commit/3f3c9c357abe85bbb378c005923608285350e2d6))
|
142
|
+
- **deps:** bump marked from 4.0.3 to 4.0.4 ([95c2ba2](https://github.com/jayree/sfdx-plugin-manifest/commit/95c2ba2e079ad9542c03d7b694ba9eeed8bd6b74))
|
143
|
+
- **gitdiff:** make debugging easier ([cf18cca](https://github.com/jayree/sfdx-plugin-manifest/commit/cf18ccac20c018e721c6913b7c976d4628845941))
|
144
|
+
- **manifestgenerate:** metadata api not returning valid metadata type ([909bf7e](https://github.com/jayree/sfdx-plugin-manifest/commit/909bf7e5d680c56c3a6ed123e3d6ee798ac8dacd))
|
145
|
+
|
146
|
+
### Features
|
147
|
+
|
148
|
+
- **gitdiff:** add outputdir parameter ([fe95206](https://github.com/jayree/sfdx-plugin-manifest/commit/fe9520637b9b9370470d37d1dde54f7c769c31ac))
|
149
|
+
|
150
|
+
### BREAKING CHANGES
|
151
|
+
|
152
|
+
- **gitdiff:** To support the destructivechanges parameters of the source:deploy command all files are written to outputdir (defaults to '')
|
153
|
+
|
154
|
+
## [1.0.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.5...v1.0.6) (2021-11-16)
|
155
|
+
|
156
|
+
### Bug Fixes
|
157
|
+
|
158
|
+
- **gitdiff:** restore support for caret and tilde in refs ([50ea6b6](https://github.com/jayree/sfdx-plugin-manifest/commit/50ea6b6f3cebe7af4d46d3cbfd1e5d3807009d59))
|
159
|
+
|
160
|
+
## [1.0.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.4...v1.0.5) (2021-11-13)
|
161
|
+
|
162
|
+
### Bug Fixes
|
163
|
+
|
164
|
+
- **deps:** bump @salesforce/core from 2.28.3 to 2.28.4 ([e7769e4](https://github.com/jayree/sfdx-plugin-manifest/commit/e7769e4fc079f9f87fb75ef51cda7264495bb901))
|
165
|
+
- **deps:** bump @salesforce/kit from 1.5.17 to 1.5.18 ([9cc8e13](https://github.com/jayree/sfdx-plugin-manifest/commit/9cc8e1393894b2ed23f22112b8c3e0bf647bd8b7))
|
166
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.4.1 to 5.5.0 ([feb9769](https://github.com/jayree/sfdx-plugin-manifest/commit/feb97693b964baa1f386d90ee892ea33b04484d5))
|
167
|
+
- **deps:** bump marked from 4.0.0 to 4.0.3 ([ba08e91](https://github.com/jayree/sfdx-plugin-manifest/commit/ba08e91131ffae0b5becba419e790924a007ce3d))
|
168
|
+
|
169
|
+
## [1.0.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.3...v1.0.4) (2021-11-08)
|
170
|
+
|
171
|
+
### Bug Fixes
|
172
|
+
|
173
|
+
- **deps:** bump @salesforce/core from 2.28.2 to 2.28.3 ([da85585](https://github.com/jayree/sfdx-plugin-manifest/commit/da85585fbec455f20d6f785709e93f9167d8db92))
|
174
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.1.2 to 5.4.1 ([45ab5ce](https://github.com/jayree/sfdx-plugin-manifest/commit/45ab5ce975692b9fbd41496e0cc3c922eb01fb6a))
|
175
|
+
- **deps:** bump listr2 from 3.13.1 to 3.13.3 ([a20b53e](https://github.com/jayree/sfdx-plugin-manifest/commit/a20b53ee87376e53c9cdd185420e4cf4ee4010c4))
|
176
|
+
- **deps:** bump marked from 3.0.8 to 4.0.0 ([36f8f55](https://github.com/jayree/sfdx-plugin-manifest/commit/36f8f55b5968a794e9e00e4b795abd6b9e648723))
|
177
|
+
- **gitdiff:** optimize the comparison of childComponents ([0dfe979](https://github.com/jayree/sfdx-plugin-manifest/commit/0dfe979cba37ea5ab5eba8d6ecdb2acb64358938))
|
178
|
+
- **manifestgenerate:** optimize StandardValueSet query ([3d98d83](https://github.com/jayree/sfdx-plugin-manifest/commit/3d98d83e3ef8112b15c188c59b2138ae79b9a720))
|
179
|
+
|
180
|
+
## [1.0.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.2...v1.0.3) (2021-10-31)
|
181
|
+
|
182
|
+
### Bug Fixes
|
183
|
+
|
184
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.1.1 to 5.1.2 ([3f061e8](https://github.com/jayree/sfdx-plugin-manifest/commit/3f061e80f3ee66e9af306baaa8c0dd640694d52c))
|
185
|
+
- **deps:** bump fast-xml-parser from 3.21.0 to 3.21.1 ([ea4c7b6](https://github.com/jayree/sfdx-plugin-manifest/commit/ea4c7b696381e3a9b9bf656e71332b58fec71d66))
|
186
|
+
|
187
|
+
## [1.0.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.1...v1.0.2) (2021-10-29)
|
188
|
+
|
189
|
+
### Bug Fixes
|
190
|
+
|
191
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 5.0.1 to 5.1.1 ([bb40fac](https://github.com/jayree/sfdx-plugin-manifest/commit/bb40fac5c2f8facbfe36df10908b9ae0ed342503))
|
192
|
+
- **deps:** bump fast-xml-parser from 3.20.3 to 3.21.0 ([77cceff](https://github.com/jayree/sfdx-plugin-manifest/commit/77cceffd9546cf262cdb341a5cb8c0a27e2a587b))
|
193
|
+
- **deps:** bump listr2 from 3.12.2 to 3.13.1 ([0afae6e](https://github.com/jayree/sfdx-plugin-manifest/commit/0afae6ea8729afeb069998d2fc5cb192e5e65440))
|
194
|
+
- **deps:** bump marked from 3.0.7 to 3.0.8 ([fb76d91](https://github.com/jayree/sfdx-plugin-manifest/commit/fb76d91ef590575bab75c0e12188b13aa4794b2b))
|
195
|
+
- **gitdiff:** optimize createVirtualTreeContainer method ([8a0579a](https://github.com/jayree/sfdx-plugin-manifest/commit/8a0579ae1fb4b7ce39f0c515344b1db05913af77))
|
196
|
+
- **gitdiff:** set sourceApiVersion ([cc3d5df](https://github.com/jayree/sfdx-plugin-manifest/commit/cc3d5df8e3455867f5d8628e28f4c36a85b745da))
|
197
|
+
- **gitdiff:** sort types and members in manifest ([7f76423](https://github.com/jayree/sfdx-plugin-manifest/commit/7f76423a0566ba34091b81b442901f5fe17f51f1))
|
198
|
+
|
199
|
+
## [1.0.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v1.0.0...v1.0.1) (2021-10-21)
|
200
|
+
|
201
|
+
### Bug Fixes
|
202
|
+
|
203
|
+
- **deps:** bump @salesforce/source-deploy-retrieve from 4.5.11 to 5.0.1 ([6c30cfa](https://github.com/jayree/sfdx-plugin-manifest/commit/6c30cfad891ecda913838b01d86e1e3a5e575a29))
|
204
|
+
|
205
|
+
# 1.0.0 (2021-10-19)
|
206
|
+
|
207
|
+
### Features
|
208
|
+
|
209
|
+
- add manifest:generate :cleanup :git:diff commands ([74cd719](https://github.com/jayree/sfdx-plugin-manifest/commit/74cd7194727665ae1f25b056780aeb4861f58137))
|
package/README.md
CHANGED
@@ -18,7 +18,7 @@ $ sfdx plugins:install @jayree/sfdx-plugin-manifest
|
|
18
18
|
$ sfdx jayree:COMMAND
|
19
19
|
running command...
|
20
20
|
$ sfdx plugins
|
21
|
-
@jayree/sfdx-plugin-manifest 2.
|
21
|
+
@jayree/sfdx-plugin-manifest 2.2.2
|
22
22
|
$ sfdx help jayree:COMMAND
|
23
23
|
USAGE
|
24
24
|
$ sfdx jayree:COMMAND
|
@@ -58,7 +58,7 @@ EXAMPLE
|
|
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.
|
61
|
+
_See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.2/commands/jayree/manifest/cleanup.ts)_
|
62
62
|
|
63
63
|
### `sfdx jayree:manifest:generate`
|
64
64
|
|
@@ -66,10 +66,12 @@ 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] [-u <string>]
|
69
|
+
$ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
|
70
70
|
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
71
71
|
|
72
72
|
OPTIONS
|
73
|
+
-a, --excludeall exclude all packages from output
|
74
|
+
|
73
75
|
-c, --matchcase enable 'match case' for the
|
74
76
|
quickfilter
|
75
77
|
|
@@ -109,7 +111,7 @@ EXAMPLES
|
|
109
111
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
110
112
|
```
|
111
113
|
|
112
|
-
_See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.
|
114
|
+
_See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.2/commands/jayree/manifest/generate.ts)_
|
113
115
|
|
114
116
|
### `sfdx jayree:manifest:git:diff`
|
115
117
|
|
@@ -159,5 +161,5 @@ EXAMPLES
|
|
159
161
|
uses the diff of what is unique in branchB (REF2)
|
160
162
|
```
|
161
163
|
|
162
|
-
_See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.
|
164
|
+
_See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.2/commands/jayree/manifest/git/diff.ts)_
|
163
165
|
<!-- commandsstop -->
|
@@ -12,82 +12,51 @@ const core_1 = require("@salesforce/core");
|
|
12
12
|
const source_deploy_retrieve_1 = require("@salesforce/source-deploy-retrieve");
|
13
13
|
const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
|
14
14
|
const fs = require("fs-extra");
|
15
|
-
const standardValueSetData = require("../../../metadata/standardvalueset.json");
|
16
15
|
const jayreeSfdxCommand_1 = require("../../../jayreeSfdxCommand");
|
17
|
-
const stdValueSets = (0, utils_1.deepFreeze)(standardValueSetData);
|
18
16
|
const registryAccess = new source_deploy_retrieve_1.RegistryAccess();
|
19
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
20
18
|
const messages = core_1.Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
|
21
19
|
class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
22
20
|
// eslint-disable-next-line complexity
|
23
21
|
async run() {
|
24
|
-
var _a, _b, _c, _d
|
22
|
+
var _a, _b, _c, _d;
|
25
23
|
this.warnIfRunByAlias(GeneratePackageXML.aliases, GeneratePackageXML.id);
|
26
24
|
await this.org.refreshAuth();
|
27
25
|
const file = this.getFlag('file');
|
28
26
|
this.ux.startSpinner(`Generating ${file || 'package.xml'}`);
|
29
27
|
this.cacheConnection = this.org.getConnection();
|
30
|
-
|
31
|
-
const
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
// fix { type: { "$": { "xsi:nil": "true" } } }
|
45
|
-
componentType = registryAccess.getTypeBySuffix((0, utils_1.extName)(component.fileName));
|
46
|
-
component.type = componentType.name;
|
47
|
-
}
|
48
|
-
Aggregator.push(component);
|
49
|
-
componentTypes.add(componentType);
|
50
|
-
const folderContentType = componentType.folderContentType;
|
51
|
-
if (folderContentType) {
|
52
|
-
childrenPromises.push(this.listMembers({
|
53
|
-
type: registryAccess.getTypeByName(componentType.folderContentType).name,
|
54
|
-
folder: component.fullName,
|
55
|
-
}));
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
for (const componentType of componentTypes) {
|
60
|
-
const childTypes = (_a = componentType.children) === null || _a === void 0 ? void 0 : _a.types;
|
61
|
-
if (childTypes) {
|
62
|
-
Object.values(childTypes).map((childType) => {
|
63
|
-
childrenPromises.push(this.listMembers({ type: childType.name }));
|
64
|
-
});
|
65
|
-
}
|
66
|
-
}
|
67
|
-
for await (const childrenResult of childrenPromises) {
|
68
|
-
Aggregator.push(...childrenResult);
|
69
|
-
}
|
70
|
-
if (this.getFlag('excludemanaged')) {
|
71
|
-
Aggregator = Aggregator.filter((component) => !((component.namespacePrefix && component.manageableState !== 'unmanaged') ||
|
72
|
-
component.manageableState === 'installed'));
|
73
|
-
}
|
28
|
+
const managed = ['beta', 'deleted', 'deprecated', 'installed', 'released'];
|
29
|
+
const all = ['beta', 'deleted', 'deprecated', 'installed', 'released', 'installedEditable', 'deprecatedEditable'];
|
30
|
+
const componentFilter = (component) => !((this.getFlag('excludemanaged') &&
|
31
|
+
((component.namespacePrefix &&
|
32
|
+
(managed.includes(component.manageableState) || component.manageableState === undefined)) ||
|
33
|
+
managed.includes(component.manageableState))) ||
|
34
|
+
(this.getFlag('excludeall') &&
|
35
|
+
((component.namespacePrefix &&
|
36
|
+
(all.includes(component.manageableState) || component.manageableState === undefined)) ||
|
37
|
+
all.includes(component.manageableState))));
|
38
|
+
let componentSet = await source_deploy_retrieve_1.ComponentSet.fromConnection({
|
39
|
+
usernameOrConnection: this.cacheConnection,
|
40
|
+
componentFilter,
|
41
|
+
});
|
74
42
|
if (this.getFlag('includeflowversions')) {
|
75
43
|
const flowPromises = [];
|
76
44
|
flowPromises.push(this.listMembers({ type: 'Flow' }, '43.0'));
|
77
45
|
for await (const flowResult of flowPromises) {
|
78
|
-
for (const component of flowResult) {
|
79
|
-
|
46
|
+
for (const component of flowResult.filter(componentFilter)) {
|
47
|
+
componentSet.add({ fullName: component.fullName, type: registryAccess.getTypeByName(component.type) });
|
80
48
|
}
|
81
49
|
}
|
82
50
|
}
|
83
51
|
const quickFilter = this.getFlag('quickfilter');
|
84
52
|
if (quickFilter) {
|
85
|
-
|
53
|
+
componentSet = componentSet.filter((component) => {
|
86
54
|
let filter = quickFilter;
|
87
|
-
|
55
|
+
const comp = { fullName: component.fullName, type: component.type.name };
|
88
56
|
if (!this.getFlag('matchcase')) {
|
89
57
|
filter = quickFilter.join('~').toLowerCase().split('~');
|
90
|
-
comp =
|
58
|
+
comp.fullName = component.fullName.toLocaleLowerCase();
|
59
|
+
comp.type = component.type.name.toLowerCase();
|
91
60
|
}
|
92
61
|
if (this.getFlag('matchwholeword')) {
|
93
62
|
return filter.includes(comp.fullName) || filter.includes(comp.type);
|
@@ -99,7 +68,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
99
68
|
}
|
100
69
|
});
|
101
70
|
}
|
102
|
-
const hasFlows =
|
71
|
+
const hasFlows = componentSet.toArray().filter((component) => component.type.name === 'Flow');
|
103
72
|
if (hasFlows.length) {
|
104
73
|
try {
|
105
74
|
const flowDefinitionQuery = (await this.cacheConnection.tooling.query(`SELECT DeveloperName, ActiveVersion.VersionNumber, LatestVersion.VersionNumber FROM FlowDefinition where DeveloperName in (${hasFlows
|
@@ -107,8 +76,8 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
107
76
|
.toString()})`));
|
108
77
|
const flowDefinitionRecods = flowDefinitionQuery.records;
|
109
78
|
for (const record of flowDefinitionRecods) {
|
110
|
-
if (((
|
111
|
-
this.ux.log(`
|
79
|
+
if (((_a = record.LatestVersion) === null || _a === void 0 ? void 0 : _a.VersionNumber) !== ((_b = record.ActiveVersion) === null || _b === void 0 ? void 0 : _b.VersionNumber)) {
|
80
|
+
this.ux.log(`DeveloperName: ${record.DeveloperName}, ActiveVersion: ${(_c = record.ActiveVersion) === null || _c === void 0 ? void 0 : _c.VersionNumber}, LatestVersion: ${(_d = record.LatestVersion) === null || _d === void 0 ? void 0 : _d.VersionNumber}`);
|
112
81
|
}
|
113
82
|
}
|
114
83
|
}
|
@@ -116,26 +85,17 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
116
85
|
this.logger.debug(error.message);
|
117
86
|
}
|
118
87
|
}
|
119
|
-
|
120
|
-
|
121
|
-
return { fullName: component.fullName, type: registryAccess.getTypeByName(component.type) };
|
122
|
-
}).sort((a, b) => {
|
123
|
-
if (a.type.name === b.type.name) {
|
124
|
-
return a.fullName.toLowerCase() > b.fullName.toLowerCase() ? 1 : -1;
|
125
|
-
}
|
126
|
-
return a.type.name.toLowerCase() > b.type.name.toLowerCase() ? 1 : -1;
|
127
|
-
});
|
128
|
-
const pkg = new source_deploy_retrieve_1.ComponentSet(MetadataComponentAggregator, registryAccess);
|
129
|
-
pkg.apiVersion = this.cacheConnection.getApiVersion();
|
88
|
+
componentSet = componentSet.filter((component) => component.type.name !== 'FlowDefinition');
|
89
|
+
componentSet.apiVersion = this.cacheConnection.getApiVersion();
|
130
90
|
if (file) {
|
131
91
|
await fs.ensureFile(file);
|
132
|
-
await fs.writeFile(file,
|
92
|
+
await fs.writeFile(file, componentSet.getPackageXml());
|
133
93
|
}
|
134
94
|
else {
|
135
|
-
this.ux.log(
|
95
|
+
this.ux.log(componentSet.getPackageXml());
|
136
96
|
}
|
137
97
|
this.ux.stopSpinner();
|
138
|
-
return
|
98
|
+
return componentSet.getObject();
|
139
99
|
}
|
140
100
|
async listMembers(query, apiVersion) {
|
141
101
|
let members;
|
@@ -149,33 +109,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
149
109
|
members = [];
|
150
110
|
this.logger.debug(error.message);
|
151
111
|
}
|
152
|
-
if (query.type === source_deploy_retrieve_1.registry.types.standardvalueset.name && members.length === 0) {
|
153
|
-
const standardValueSetPromises = stdValueSets.fullNames.map(async (standardValueSetFullName) => {
|
154
|
-
try {
|
155
|
-
const standardValueSetRecord = await this.cacheConnection.singleRecordQuery(`SELECT Id, MasterLabel, Metadata FROM StandardValueSet WHERE MasterLabel = '${standardValueSetFullName}'`, { tooling: true });
|
156
|
-
return (standardValueSetRecord.Metadata.standardValue.length && {
|
157
|
-
fullName: standardValueSetRecord.MasterLabel,
|
158
|
-
fileName: `${source_deploy_retrieve_1.registry.types.standardvalueset.directoryName}/${standardValueSetRecord.MasterLabel}.${source_deploy_retrieve_1.registry.types.standardvalueset.suffix}`,
|
159
|
-
type: source_deploy_retrieve_1.registry.types.standardvalueset.name,
|
160
|
-
createdById: '',
|
161
|
-
createdByName: '',
|
162
|
-
createdDate: '',
|
163
|
-
id: '',
|
164
|
-
lastModifiedById: '',
|
165
|
-
lastModifiedByName: '',
|
166
|
-
lastModifiedDate: '',
|
167
|
-
});
|
168
|
-
}
|
169
|
-
catch (error) {
|
170
|
-
this.logger.debug(error.message);
|
171
|
-
}
|
172
|
-
});
|
173
|
-
for await (const standardValueSetResult of standardValueSetPromises) {
|
174
|
-
if (standardValueSetResult) {
|
175
|
-
members.push(standardValueSetResult);
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
112
|
return members;
|
180
113
|
}
|
181
114
|
}
|
@@ -206,6 +139,12 @@ GeneratePackageXML.flagsConfig = {
|
|
206
139
|
excludemanaged: command_1.flags.boolean({
|
207
140
|
char: 'x',
|
208
141
|
description: messages.getMessage('excludeManagedFlagDescription'),
|
142
|
+
exclusive: ['excludeall'],
|
143
|
+
}),
|
144
|
+
excludeall: command_1.flags.boolean({
|
145
|
+
char: 'a',
|
146
|
+
description: messages.getMessage('excludeAllFlagDescription'),
|
147
|
+
exclusive: ['excludemanaged'],
|
209
148
|
}),
|
210
149
|
};
|
211
150
|
GeneratePackageXML.requiresUsername = true;
|
@@ -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,+
|
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,+EAAyG;AACzG,4EAAoF;AACpF,+BAA+B;AAC/B,kEAA+D;AAE/D,MAAM,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,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"}
|
package/lib/hooks/changelog.js
CHANGED
@@ -62,9 +62,15 @@ const changelog = function () {
|
|
62
62
|
const { name, version } = fs.readJsonSync((0, path_1.join)(pluginRootPath, 'package.json'));
|
63
63
|
const changelogFile = fs.readFileSync((0, path_1.join)(pluginRootPath, 'CHANGELOG.md'), 'utf8');
|
64
64
|
const cacheDir = (0, path_1.join)(this.config.cacheDir, name);
|
65
|
-
fs.ensureDirSync(cacheDir);
|
66
65
|
const versionFile = (0, path_1.join)(cacheDir, 'version');
|
67
|
-
|
66
|
+
fs.ensureFileSync(versionFile);
|
67
|
+
let latestVersion;
|
68
|
+
try {
|
69
|
+
latestVersion = fs.readJSONSync(versionFile);
|
70
|
+
}
|
71
|
+
catch (error) {
|
72
|
+
latestVersion = { version: '0.0.0' };
|
73
|
+
}
|
68
74
|
debug({ latestVersion: latestVersion.version, version });
|
69
75
|
if (latestVersion.version !== version) {
|
70
76
|
const tokens = parseReleaseNotes(changelogFile, version);
|
@@ -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,iCAAuC;AACvC,oDAAqD;AACrD,mCAAgC;AAChC,iCAAiC;AACjC,mCAA6B;AAE7B,MAAM,KAAK,GAAG,IA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O,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,YAAG,CAAC,GAAG,CAAC,eAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;oBAC/B,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"}
|
package/lib/utils/gitdiff.js
CHANGED
@@ -354,6 +354,9 @@ function fixComponentSetChilds(cs) {
|
|
354
354
|
const childsTobeReplacedByParent = [
|
355
355
|
...Object.keys(source_deploy_retrieve_1.registry.types.workflow.children.types),
|
356
356
|
...Object.keys(source_deploy_retrieve_1.registry.types.sharingrules.children.types),
|
357
|
+
...Object.keys(source_deploy_retrieve_1.registry.types.customobjecttranslation.children.types),
|
358
|
+
...Object.keys(source_deploy_retrieve_1.registry.types.bot.children.types),
|
359
|
+
...Object.keys(source_deploy_retrieve_1.registry.types.datamappingobjectdefinition.children.types),
|
357
360
|
];
|
358
361
|
sourceComponents = sourceComponents.map((component) => {
|
359
362
|
if (!component.isMarkedForDelete() && childsTobeReplacedByParent.includes(component.type.id)) {
|
@@ -362,12 +365,7 @@ function fixComponentSetChilds(cs) {
|
|
362
365
|
}
|
363
366
|
return component;
|
364
367
|
});
|
365
|
-
return new source_deploy_retrieve_1.ComponentSet(sourceComponents
|
366
|
-
if (a.type.name === b.type.name) {
|
367
|
-
return a.fullName.toLowerCase() > b.fullName.toLowerCase() ? 1 : -1;
|
368
|
-
}
|
369
|
-
return a.type.name.toLowerCase() > b.type.name.toLowerCase() ? 1 : -1;
|
370
|
-
}), registryAccess);
|
368
|
+
return new source_deploy_retrieve_1.ComponentSet(sourceComponents, registryAccess);
|
371
369
|
}
|
372
370
|
exports.fixComponentSetChilds = fixComponentSetChilds;
|
373
371
|
//# sourceMappingURL=gitdiff.js.map
|
package/lib/utils/gitdiff.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gitdiff.js","sourceRoot":"","sources":["../../src/utils/gitdiff.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+BAA2D;AAC3D,6BAA6B;AAC7B,+BAA+B;AAC/B,yCAAyC;AACzC,+EAU4C;AAC5C,4EAAoF;AACpF,iCAAuC;AACvC,mDAAiC;AAEpB,QAAA,KAAK,GAAG,IAAA,aAAK,EAAC,0BAA0B,CAAC,CAAC;AAEvD,MAAM,cAAc,GAAG,IAAI,uCAAc,EAAE,CAAC;AAoB5C,KAAK,UAAU,UAAU,CAAC,OAAe,EAAE,GAAW;IACpD,IAAI,OAAO,KAAK,EAAE,EAAE;QAClB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,YAAY,GAAG,KAAK,EAAE,GAAW,EAA+C,EAAE;QACtF,IAAI;YACF,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,wBAAG,CAAC,GAAG,CAAC;gBAC1B,EAAE;gBACF,GAAG;gBACH,GAAG;gBACH,KAAK,EAAE,CAAC;aACT,CAAC,CAAC;YACH,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;SACrD;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,KAAK,CACb,uBAAuB,GAAG;0BACR,CACnB,CAAC;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,CAAC,KAAK,CAAC;QACtD,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC1D,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC;QACrE,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC;QACjD,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,2BAA2B,CAAC,QAAQ,CAAC,KAAK,CAAC;KAC1E,CAAC;IACF,gBAAgB,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;QACpD,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,IAAI,0BAA0B,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAC5F,IAAA,aAAK,EACH,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,CACtH,CAAC;YACF,OAAO,SAAS,CAAC,MAAM,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,qCAAY,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAC5D,CAAC;AArBD,sDAqBC"}
|
@@ -6,6 +6,7 @@
|
|
6
6
|
"matchWholeWordFlagDescription": "enable 'match whole word' for the quickfilter",
|
7
7
|
"fileFlagDescription": "write to 'file' instead of stdout",
|
8
8
|
"excludeManagedFlagDescription": "exclude managed packages from output",
|
9
|
+
"excludeAllFlagDescription": "exclude all packages from output",
|
9
10
|
"includeflowversionsDescription": "include flow versions as with api version 43.0",
|
10
11
|
"examples": [
|
11
12
|
"$ sfdx jayree:manifest:generate --targetusername myOrg@example.com",
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"2.
|
1
|
+
{"version":"2.2.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.","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}]}}}
|
package/package.json
CHANGED
@@ -1,71 +1,73 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jayree/sfdx-plugin-manifest",
|
3
3
|
"description": "jayree sfdx manifest commands",
|
4
|
-
"version": "2.
|
4
|
+
"version": "2.2.2",
|
5
5
|
"author": "jayree",
|
6
6
|
"bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
|
7
7
|
"dependencies": {
|
8
|
-
"@oclif/config": "^1.18.
|
9
|
-
"@salesforce/command": "^4.2.
|
10
|
-
"@salesforce/
|
11
|
-
"@salesforce/
|
12
|
-
"@salesforce/source-deploy-retrieve": "^5.9.2",
|
8
|
+
"@oclif/config": "^1.18.3",
|
9
|
+
"@salesforce/command": "^4.2.2",
|
10
|
+
"@salesforce/kit": "^1.5.41",
|
11
|
+
"@salesforce/source-deploy-retrieve": "^5.15.0",
|
13
12
|
"@salesforce/ts-types": "^1.5.20",
|
14
13
|
"cli-ux": "^5.6.7",
|
15
|
-
"debug": "^4.3.
|
14
|
+
"debug": "^4.3.4",
|
16
15
|
"fast-deep-equal": "^3.1.3",
|
17
|
-
"fast-xml-parser": "^4.0.
|
18
|
-
"fs-extra": "^10.
|
19
|
-
"isomorphic-git": "^1.
|
16
|
+
"fast-xml-parser": "^4.0.7",
|
17
|
+
"fs-extra": "^10.1.0",
|
18
|
+
"isomorphic-git": "^1.17.2",
|
20
19
|
"jsforce": "^1.11.0",
|
21
|
-
"listr2": "^4.0.
|
22
|
-
"marked": "^4.0.
|
20
|
+
"listr2": "^4.0.5",
|
21
|
+
"marked": "^4.0.15",
|
23
22
|
"marked-terminal": "^4.2.0",
|
24
|
-
"semver": "^7.3.
|
25
|
-
"tslib": "^2.
|
23
|
+
"semver": "^7.3.7",
|
24
|
+
"tslib": "^2.4.0"
|
26
25
|
},
|
27
26
|
"devDependencies": {
|
28
|
-
"@commitlint/cli": "^16.0
|
29
|
-
"@commitlint/config-conventional": "^16.
|
27
|
+
"@commitlint/cli": "^16.3.0",
|
28
|
+
"@commitlint/config-conventional": "^16.2.4",
|
30
29
|
"@oclif/dev-cli": "^1.26.10",
|
31
|
-
"@
|
32
|
-
"@
|
30
|
+
"@oclif/plugin-command-snapshot": "^3",
|
31
|
+
"@oclif/plugin-help": "^5.1.12",
|
32
|
+
"@salesforce/dev-config": "^3.0.1",
|
33
|
+
"@salesforce/dev-scripts": "^2.0.2",
|
33
34
|
"@salesforce/prettier-config": "^0.0.2",
|
34
35
|
"@salesforce/ts-sinon": "^1.3.21",
|
35
|
-
"@types/chai": "^4.3.
|
36
|
+
"@types/chai": "^4.3.1",
|
36
37
|
"@types/debug": "^4.1.7",
|
37
38
|
"@types/fs-extra": "^9.0.13",
|
38
|
-
"@types/jsforce": "^1.9.
|
39
|
-
"@types/marked": "^4.0.
|
39
|
+
"@types/jsforce": "^1.9.42",
|
40
|
+
"@types/marked": "^4.0.3",
|
40
41
|
"@types/marked-terminal": "^3.1.3",
|
41
|
-
"@types/mocha": "^9.
|
42
|
-
"@types/node": "^17.0.
|
42
|
+
"@types/mocha": "^9.1.1",
|
43
|
+
"@types/node": "^17.0.33",
|
43
44
|
"@types/semver": "^7.3.9",
|
44
|
-
"@types/sinon": "10.0.
|
45
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
46
|
-
"@typescript-eslint/parser": "^5.
|
47
|
-
"chai": "^4.3.
|
48
|
-
"eslint": "^8.
|
45
|
+
"@types/sinon": "10.0.11",
|
46
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
47
|
+
"@typescript-eslint/parser": "^5.23.0",
|
48
|
+
"chai": "^4.3.6",
|
49
|
+
"eslint": "^8.15.0",
|
49
50
|
"eslint-config-oclif": "^4.0",
|
50
|
-
"eslint-config-prettier": "^8.
|
51
|
+
"eslint-config-prettier": "^8.5.0",
|
51
52
|
"eslint-config-salesforce": "^0.1.6",
|
52
53
|
"eslint-config-salesforce-typescript": "^0.2.8",
|
53
54
|
"eslint-plugin-header": "^3.1.1",
|
54
|
-
"eslint-plugin-import": "2.
|
55
|
-
"eslint-plugin-jsdoc": "^
|
55
|
+
"eslint-plugin-import": "2.26.0",
|
56
|
+
"eslint-plugin-jsdoc": "^39.2.9",
|
56
57
|
"eslint-plugin-prettier": "^4.0.0",
|
57
|
-
"husky": "^
|
58
|
+
"husky": "^8.0.1",
|
58
59
|
"is-ci": "^3.0.1",
|
59
|
-
"mocha": "^
|
60
|
+
"mocha": "^10.0.0",
|
60
61
|
"nyc": "^15.1.0",
|
61
62
|
"patch-package": "^6.4.7",
|
62
|
-
"pinst": "^
|
63
|
-
"prettier": "^2.
|
63
|
+
"pinst": "^3.0.0",
|
64
|
+
"prettier": "^2.6.2",
|
64
65
|
"pretty-quick": "^3.1.3",
|
65
|
-
"
|
66
|
+
"shx": "^0.3.4",
|
67
|
+
"sinon": "14.0.0",
|
66
68
|
"source-map-support": "~0.5.21",
|
67
|
-
"ts-node": "^10.
|
68
|
-
"typescript": "^4.
|
69
|
+
"ts-node": "^10.7.0",
|
70
|
+
"typescript": "^4.6.4"
|
69
71
|
},
|
70
72
|
"engines": {
|
71
73
|
"node": ">=14.17.1"
|
@@ -73,9 +75,8 @@
|
|
73
75
|
"files": [
|
74
76
|
"/lib",
|
75
77
|
"/messages",
|
76
|
-
"/npm-shrinkwrap.json",
|
77
78
|
"/oclif.manifest.json",
|
78
|
-
"/
|
79
|
+
"/CHANGELOG.md"
|
79
80
|
],
|
80
81
|
"homepage": "https://github.com/jayree/sfdx-plugin-manifest",
|
81
82
|
"keywords": [
|
@@ -100,7 +101,8 @@
|
|
100
101
|
}
|
101
102
|
},
|
102
103
|
"devPlugins": [
|
103
|
-
"@oclif/plugin-help"
|
104
|
+
"@oclif/plugin-help",
|
105
|
+
"@oclif/plugin-command-snapshot"
|
104
106
|
]
|
105
107
|
},
|
106
108
|
"repository": "jayree/sfdx-plugin-manifest",
|
@@ -108,20 +110,23 @@
|
|
108
110
|
"build": "sf-build",
|
109
111
|
"clean": "sf-clean",
|
110
112
|
"clean-all": "sf-clean all",
|
113
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
111
114
|
"compile": "sf-compile",
|
112
115
|
"format": "sf-format",
|
113
116
|
"lint": "sf-lint",
|
114
117
|
"lint-fix": "sf-lint --fix",
|
115
|
-
"postcompile": "oclif-dev
|
116
|
-
"_postinstall": "
|
117
|
-
"postpack": "
|
118
|
+
"postcompile": "oclif-dev readme",
|
119
|
+
"_postinstall": "patch-package",
|
120
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
118
121
|
"postpublish": "pinst --enable",
|
122
|
+
"posttest": "yarn lint && yarn test:deprecation-policy",
|
119
123
|
"prepack": "sf-prepack",
|
120
|
-
"prepare": "is-ci ||
|
124
|
+
"prepare": "is-ci || husky install",
|
121
125
|
"prepublishOnly": "pinst --disable",
|
122
126
|
"pretest": "sf-compile-test",
|
123
127
|
"test": "sf-test",
|
124
|
-
"
|
128
|
+
"test:deprecation-policy": "./bin/run snapshot:compare",
|
129
|
+
"version": "oclif-dev readme"
|
125
130
|
},
|
126
131
|
"publishConfig": {
|
127
132
|
"access": "public"
|
package/bin/is-sfdx.js
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fullNames": [
|
3
|
-
"AccountContactMultiRoles",
|
4
|
-
"AccountContactRole",
|
5
|
-
"AccountOwnership",
|
6
|
-
"AccountRating",
|
7
|
-
"AccountType",
|
8
|
-
"AssetStatus",
|
9
|
-
"CampaignMemberStatus",
|
10
|
-
"CampaignStatus",
|
11
|
-
"CampaignType",
|
12
|
-
"CareItemStatus",
|
13
|
-
"CaseContactRole",
|
14
|
-
"CaseOrigin",
|
15
|
-
"CasePriority",
|
16
|
-
"CaseReason",
|
17
|
-
"CaseStatus",
|
18
|
-
"CaseType",
|
19
|
-
"ContactRole",
|
20
|
-
"ContractContactRole",
|
21
|
-
"ContractStatus",
|
22
|
-
"EntitlementType",
|
23
|
-
"EventSubject",
|
24
|
-
"EventType",
|
25
|
-
"FiscalYearPeriodName",
|
26
|
-
"FiscalYearPeriodPrefix",
|
27
|
-
"FiscalYearQuarterName",
|
28
|
-
"FiscalYearQuarterPrefix",
|
29
|
-
"FulfillmentStatus",
|
30
|
-
"FulfillmentType",
|
31
|
-
"IdeaCategory",
|
32
|
-
"IdeaMultiCategory",
|
33
|
-
"IdeaStatus",
|
34
|
-
"IdeaThemeStatus",
|
35
|
-
"Industry",
|
36
|
-
"LeadSource",
|
37
|
-
"LeadStatus",
|
38
|
-
"OpportunityCompetitor",
|
39
|
-
"OpportunityStage",
|
40
|
-
"OpportunityType",
|
41
|
-
"OrderItemSummaryChgRsn",
|
42
|
-
"OrderStatus",
|
43
|
-
"OrderSummaryRoutingSchdRsn",
|
44
|
-
"OrderSummaryStatus",
|
45
|
-
"OrderType",
|
46
|
-
"PartnerRole",
|
47
|
-
"Product2Family",
|
48
|
-
"QuantityUnitOfMeasure",
|
49
|
-
"ProcessExceptionCategory",
|
50
|
-
"ProcessExceptionPriority",
|
51
|
-
"ProcessExceptionSeverity",
|
52
|
-
"ProcessExceptionStatus",
|
53
|
-
"QuestionOrigin",
|
54
|
-
"QuickTextCategory",
|
55
|
-
"QuickTextChannel",
|
56
|
-
"QuoteStatus",
|
57
|
-
"RoleInTerritory2",
|
58
|
-
"ResourceAbsenceType",
|
59
|
-
"ReturnOrderLineItemProcessPlan",
|
60
|
-
"ReturnOrderLineItemReasonForRejection",
|
61
|
-
"ReturnOrderLineItemReasonForReturn",
|
62
|
-
"ReturnOrderLineItemRepaymentMethod",
|
63
|
-
"ReturnOrderShipmentType",
|
64
|
-
"ReturnOrderStatus",
|
65
|
-
"SalesTeamRole",
|
66
|
-
"Salutation",
|
67
|
-
"ServiceAppointmentStatus",
|
68
|
-
"ServiceContractApprovalStatus",
|
69
|
-
"ServTerrMemRoleType",
|
70
|
-
"SocialPostClassification",
|
71
|
-
"SocialPostEngagementLevel",
|
72
|
-
"SocialPostReviewedStatus",
|
73
|
-
"SolutionStatus",
|
74
|
-
"TaskPriority",
|
75
|
-
"TaskStatus",
|
76
|
-
"TaskSubject",
|
77
|
-
"TaskType",
|
78
|
-
"WorkOrderLineItemStatus",
|
79
|
-
"WorkOrderPriority",
|
80
|
-
"WorkOrderStatus",
|
81
|
-
"WorkTypeDefApptType",
|
82
|
-
"WorkTypeGroupAddInfo"
|
83
|
-
]
|
84
|
-
}
|