Commit c483b98
authored
[WTF-2697]: Widget Bundler 11.11.0 does not copy (all) files on windows (#185)
Checklist
Contains unit tests ✅
Contains breaking changes ❌
Compatible with: MX 9️⃣ (11.x)
Did you update version and changelog? ✅ changelog / ❌ version
PR title properly formatted? ✅
This PR contains
Bug fix
What is the purpose of this PR?
Fix Windows builds producing an .mpk missing the widget's .xml files and
icon/tile PNGs.
Relevant changes
The copy step used absolute drive-letter globs that fast-glob returns
empty for on Windows, so the widget files were silently skipped;
switched both rollup configs to relative globs and added an assertion in
command-tests so an incomplete .mpk
What should be covered while testing?
Build on Windows and Linux; confirm the .mpk contains package.xml and
.xml (and PNGs when present in src).4 files changed
Lines changed: 27 additions & 23 deletions
File tree
- packages
- command-tests
- pluggable-widgets-tools
- configs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 221 | + | |
231 | 222 | | |
232 | 223 | | |
233 | 224 | | |
234 | 225 | | |
235 | 226 | | |
| 227 | + | |
| 228 | + | |
236 | 229 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
0 commit comments