@ideasonpurpose/build-tools-wordpress 2.10.6 → 2.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +232 -50
- package/bin/format-php-prettier.js +122 -51
- package/bin/format-wp-block-pattern.js +62 -15
- package/bin/format-wp-php.js +83 -0
- package/bin/vscode-svgo.js +32 -0
- package/biome.json +43 -0
- package/package.json +6 -6
- package/CHANGELOG.md +0 -520
- /package/{boilerplate → config}/svgo.config.mjs +0 -0
package/CHANGELOG.md
DELETED
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
### Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
4
|
-
|
|
5
|
-
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
|
-
|
|
7
|
-
#### v2.10.5
|
|
8
|
-
|
|
9
|
-
> 22 July 2026
|
|
10
|
-
|
|
11
|
-
- logo, vscode settings
|
|
12
|
-
- output tweaks
|
|
13
|
-
|
|
14
|
-
#### v2.10.4
|
|
15
|
-
|
|
16
|
-
> 18 July 2026
|
|
17
|
-
|
|
18
|
-
- fix zip reporting and resolve typescript types
|
|
19
|
-
|
|
20
|
-
#### v2.10.3
|
|
21
|
-
|
|
22
|
-
> 17 July 2026
|
|
23
|
-
|
|
24
|
-
- More reporter tweaks
|
|
25
|
-
|
|
26
|
-
#### v2.10.2
|
|
27
|
-
|
|
28
|
-
> 16 July 2026
|
|
29
|
-
|
|
30
|
-
- tweak reporting
|
|
31
|
-
|
|
32
|
-
#### v2.10.1
|
|
33
|
-
|
|
34
|
-
> 15 July 2026
|
|
35
|
-
|
|
36
|
-
- remove infrastructureLogging
|
|
37
|
-
|
|
38
|
-
#### v2.10.0
|
|
39
|
-
|
|
40
|
-
> 15 July 2026
|
|
41
|
-
|
|
42
|
-
- bump deps, AGENTS
|
|
43
|
-
- update proxy, messing with output
|
|
44
|
-
- add discard-changes config to example composer.json
|
|
45
|
-
|
|
46
|
-
#### v2.9.1
|
|
47
|
-
|
|
48
|
-
> 26 June 2026
|
|
49
|
-
|
|
50
|
-
- bump deps, format action
|
|
51
|
-
|
|
52
|
-
#### v2.9.0
|
|
53
|
-
|
|
54
|
-
> 26 June 2026
|
|
55
|
-
|
|
56
|
-
- update AGENTS
|
|
57
|
-
- strip dimensions from React-imported SVGRs.
|
|
58
|
-
|
|
59
|
-
#### v2.8.5
|
|
60
|
-
|
|
61
|
-
> 23 June 2026
|
|
62
|
-
|
|
63
|
-
- simplify release workflow
|
|
64
|
-
- suppress GTID warnings from mysqldump
|
|
65
|
-
|
|
66
|
-
#### v2.8.4
|
|
67
|
-
|
|
68
|
-
> 23 June 2026
|
|
69
|
-
|
|
70
|
-
- bump deps
|
|
71
|
-
- update SVGO config plus custom plugins
|
|
72
|
-
- extend whitespace handling to paragraphs with attributes
|
|
73
|
-
|
|
74
|
-
#### v2.8.3
|
|
75
|
-
|
|
76
|
-
> 5 June 2026
|
|
77
|
-
|
|
78
|
-
- make formatting conditionals work with npx again
|
|
79
|
-
- add WP_ENVIRONMENT_TYPE to docker-compose environment
|
|
80
|
-
|
|
81
|
-
#### v2.8.2
|
|
82
|
-
|
|
83
|
-
> 3 June 2026
|
|
84
|
-
|
|
85
|
-
- update zip script to use ESM archiver
|
|
86
|
-
|
|
87
|
-
#### v2.8.1
|
|
88
|
-
|
|
89
|
-
> 3 June 2026
|
|
90
|
-
|
|
91
|
-
- fix db connection checks in docker-compose
|
|
92
|
-
|
|
93
|
-
#### v2.8.0
|
|
94
|
-
|
|
95
|
-
> 3 June 2026
|
|
96
|
-
|
|
97
|
-
- bump deps
|
|
98
|
-
- refactor format functions and improve tests
|
|
99
|
-
- boilerplate and README SVGo info
|
|
100
|
-
|
|
101
|
-
#### v2.7.0
|
|
102
|
-
|
|
103
|
-
> 6 May 2026
|
|
104
|
-
|
|
105
|
-
- bump deps, migrate some tooling
|
|
106
|
-
- feat: add AI Coding Assistant guidelines documentation
|
|
107
|
-
|
|
108
|
-
#### v2.6.6
|
|
109
|
-
|
|
110
|
-
> 27 April 2026
|
|
111
|
-
|
|
112
|
-
- bump deps
|
|
113
|
-
- feat: add nested list structure and formatting for WordPress block patterns
|
|
114
|
-
- feat: add experimental formatting helpers for HTML/PHP and WordPress block patterns
|
|
115
|
-
|
|
116
|
-
#### v2.6.5
|
|
117
|
-
|
|
118
|
-
> 5 April 2026
|
|
119
|
-
|
|
120
|
-
- fix: update setup-node action version to v6 for consistency
|
|
121
|
-
|
|
122
|
-
#### v2.6.4
|
|
123
|
-
|
|
124
|
-
> 5 April 2026
|
|
125
|
-
|
|
126
|
-
- chore: update actions versions in npm-publish workflow and bump version-everything dependency
|
|
127
|
-
- feat: add new formatting functions for handling list elements and normalize newlines
|
|
128
|
-
|
|
129
|
-
#### v2.6.3
|
|
130
|
-
|
|
131
|
-
> 4 April 2026
|
|
132
|
-
|
|
133
|
-
- bump deps
|
|
134
|
-
- feat: add formatter for WordPress block pattern PHP files and corresponding tests
|
|
135
|
-
|
|
136
|
-
#### v2.6.2
|
|
137
|
-
|
|
138
|
-
> 23 March 2026
|
|
139
|
-
|
|
140
|
-
- feat: add error handling for WebSocket proxy requests
|
|
141
|
-
|
|
142
|
-
#### v2.6.1
|
|
143
|
-
|
|
144
|
-
> 23 March 2026
|
|
145
|
-
|
|
146
|
-
- chore: update dependencies in package.json
|
|
147
|
-
|
|
148
|
-
#### v2.6.0
|
|
149
|
-
|
|
150
|
-
> 13 March 2026
|
|
151
|
-
|
|
152
|
-
- bump deps, remove debug logs, resulve from sass & styles
|
|
153
|
-
|
|
154
|
-
#### v2.5.1
|
|
155
|
-
|
|
156
|
-
> 8 March 2026
|
|
157
|
-
|
|
158
|
-
- add rimraf
|
|
159
|
-
- add SVG processing details to README
|
|
160
|
-
- add comment for runner images in release workflow
|
|
161
|
-
|
|
162
|
-
#### v2.5.0
|
|
163
|
-
|
|
164
|
-
> 7 March 2026
|
|
165
|
-
|
|
166
|
-
- bump deps
|
|
167
|
-
- beginning of typing, some cleanup
|
|
168
|
-
- inline SVGs in SCSS files by default
|
|
169
|
-
|
|
170
|
-
#### v2.4.2
|
|
171
|
-
|
|
172
|
-
> 22 December 2025
|
|
173
|
-
|
|
174
|
-
- Update npm publish command with options
|
|
175
|
-
|
|
176
|
-
#### v2.4.1
|
|
177
|
-
|
|
178
|
-
> 22 December 2025
|
|
179
|
-
|
|
180
|
-
- update workflow for trusted publishing
|
|
181
|
-
|
|
182
|
-
#### v2.4.0
|
|
183
|
-
|
|
184
|
-
> 21 December 2025
|
|
185
|
-
|
|
186
|
-
- bump deps
|
|
187
|
-
- Enable loading Sass files from node_modules
|
|
188
|
-
|
|
189
|
-
#### v2.3.2
|
|
190
|
-
|
|
191
|
-
> 3 November 2025
|
|
192
|
-
|
|
193
|
-
- bump deps
|
|
194
|
-
- watch tweaks, debugging, formatting and cleanup
|
|
195
|
-
|
|
196
|
-
#### v2.3.1
|
|
197
|
-
|
|
198
|
-
> 21 October 2025
|
|
199
|
-
|
|
200
|
-
- liveReload workaround for mini-css-extract-plugin HMR issues
|
|
201
|
-
- WIP updates
|
|
202
|
-
|
|
203
|
-
#### v2.3.0
|
|
204
|
-
|
|
205
|
-
> 19 October 2025
|
|
206
|
-
|
|
207
|
-
- Fixes and optimizations for multiple entry points
|
|
208
|
-
|
|
209
|
-
#### v2.2.6
|
|
210
|
-
|
|
211
|
-
> 18 October 2025
|
|
212
|
-
|
|
213
|
-
- bump deps
|
|
214
|
-
|
|
215
|
-
#### v2.2.5
|
|
216
|
-
|
|
217
|
-
> 6 October 2025
|
|
218
|
-
|
|
219
|
-
- bump deps
|
|
220
|
-
- update example docker-compose file with experimental WP Multisite envvars
|
|
221
|
-
|
|
222
|
-
#### v2.2.4
|
|
223
|
-
|
|
224
|
-
> 10 September 2025
|
|
225
|
-
|
|
226
|
-
- Make iop-format-prettier work globally
|
|
227
|
-
|
|
228
|
-
#### v2.2.3
|
|
229
|
-
|
|
230
|
-
> 9 September 2025
|
|
231
|
-
|
|
232
|
-
- trying explicit PHP plugin loading
|
|
233
|
-
|
|
234
|
-
#### v2.2.2
|
|
235
|
-
|
|
236
|
-
> 9 September 2025
|
|
237
|
-
|
|
238
|
-
- tweaking deps
|
|
239
|
-
|
|
240
|
-
#### v2.2.1
|
|
241
|
-
|
|
242
|
-
> 9 September 2025
|
|
243
|
-
|
|
244
|
-
- tweak format-php-prettier, bump deps
|
|
245
|
-
|
|
246
|
-
#### v2.2.0
|
|
247
|
-
|
|
248
|
-
> 7 September 2025
|
|
249
|
-
|
|
250
|
-
- bump deps
|
|
251
|
-
- Update websocket reload for v5, cleanup
|
|
252
|
-
- Testing some watch fixes
|
|
253
|
-
|
|
254
|
-
#### v2.1.11
|
|
255
|
-
|
|
256
|
-
> 3 September 2025
|
|
257
|
-
|
|
258
|
-
- bump deps
|
|
259
|
-
|
|
260
|
-
#### v2.1.10
|
|
261
|
-
|
|
262
|
-
> 3 September 2025
|
|
263
|
-
|
|
264
|
-
- tweak devserver hot setting
|
|
265
|
-
|
|
266
|
-
#### v2.1.9
|
|
267
|
-
|
|
268
|
-
> 24 August 2025
|
|
269
|
-
|
|
270
|
-
- bump deps
|
|
271
|
-
|
|
272
|
-
#### v2.1.8
|
|
273
|
-
|
|
274
|
-
> 29 May 2025
|
|
275
|
-
|
|
276
|
-
- Fix inline-whitespace wrapped php token bug
|
|
277
|
-
- typo
|
|
278
|
-
|
|
279
|
-
#### v2.1.7
|
|
280
|
-
|
|
281
|
-
> 28 May 2025
|
|
282
|
-
|
|
283
|
-
- bump deps
|
|
284
|
-
- enable sourcemaps on all CSS loaders
|
|
285
|
-
|
|
286
|
-
#### v2.1.6
|
|
287
|
-
|
|
288
|
-
> 1 May 2025
|
|
289
|
-
|
|
290
|
-
- refactor tokenizeHTML, bug fixes, tests
|
|
291
|
-
- typo
|
|
292
|
-
|
|
293
|
-
#### v2.1.5
|
|
294
|
-
|
|
295
|
-
> 17 April 2025
|
|
296
|
-
|
|
297
|
-
- escape capture group replacement strings when unTokenizing, plus tests
|
|
298
|
-
- change dev site reporter emoji
|
|
299
|
-
|
|
300
|
-
#### v2.1.4
|
|
301
|
-
|
|
302
|
-
> 16 April 2025
|
|
303
|
-
|
|
304
|
-
- use look-behind and look-forward to allow overlaps, simplify replacements
|
|
305
|
-
- fix README
|
|
306
|
-
|
|
307
|
-
#### v2.1.3
|
|
308
|
-
|
|
309
|
-
> 16 April 2025
|
|
310
|
-
|
|
311
|
-
- Use self-closing html tags as tokens. Closes #11
|
|
312
|
-
|
|
313
|
-
#### v2.1.2
|
|
314
|
-
|
|
315
|
-
> 14 April 2025
|
|
316
|
-
|
|
317
|
-
- bump deps
|
|
318
|
-
- experimental html & php formatter
|
|
319
|
-
|
|
320
|
-
#### v2.1.1
|
|
321
|
-
|
|
322
|
-
> 9 April 2025
|
|
323
|
-
|
|
324
|
-
- Clean up outputs a little
|
|
325
|
-
|
|
326
|
-
#### v2.1.0
|
|
327
|
-
|
|
328
|
-
> 1 April 2025
|
|
329
|
-
|
|
330
|
-
- bump deps
|
|
331
|
-
- Standardize on sass-embedded, clean up, bump deps
|
|
332
|
-
|
|
333
|
-
#### v2.0.6
|
|
334
|
-
|
|
335
|
-
> 20 March 2025
|
|
336
|
-
|
|
337
|
-
- try moving webpack-cli to peerDependencies
|
|
338
|
-
|
|
339
|
-
#### v2.0.5
|
|
340
|
-
|
|
341
|
-
> 20 March 2025
|
|
342
|
-
|
|
343
|
-
- add note about local development to readme
|
|
344
|
-
- resolve webpack loaders when running linked
|
|
345
|
-
- Fix for missing content-type header
|
|
346
|
-
|
|
347
|
-
#### v2.0.4
|
|
348
|
-
|
|
349
|
-
> 19 March 2025
|
|
350
|
-
|
|
351
|
-
- update GitHub Actions
|
|
352
|
-
|
|
353
|
-
#### v2.0.3
|
|
354
|
-
|
|
355
|
-
> 19 March 2025
|
|
356
|
-
|
|
357
|
-
- bump deps
|
|
358
|
-
- update example files
|
|
359
|
-
- update devserver-proxy tests
|
|
360
|
-
|
|
361
|
-
#### v2.0.2
|
|
362
|
-
|
|
363
|
-
> 13 January 2025
|
|
364
|
-
|
|
365
|
-
- bump deps
|
|
366
|
-
|
|
367
|
-
#### v2.0.1
|
|
368
|
-
|
|
369
|
-
> 19 October 2024
|
|
370
|
-
|
|
371
|
-
- another Sass bump
|
|
372
|
-
|
|
373
|
-
#### v2.0.0
|
|
374
|
-
|
|
375
|
-
> 19 October 2024
|
|
376
|
-
|
|
377
|
-
- bump deps
|
|
378
|
-
- update example webpack.config file
|
|
379
|
-
- bump deps
|
|
380
|
-
|
|
381
|
-
#### v1.2.1
|
|
382
|
-
|
|
383
|
-
> 19 September 2024
|
|
384
|
-
|
|
385
|
-
- plugins updates, config fixes
|
|
386
|
-
|
|
387
|
-
#### v1.2.0
|
|
388
|
-
|
|
389
|
-
> 19 September 2024
|
|
390
|
-
|
|
391
|
-
- deprecation free build! closes #5
|
|
392
|
-
- bump deps, remove some for deprecations. Ref #5
|
|
393
|
-
- bump deps, update examples and testing
|
|
394
|
-
- export webpackConfig
|
|
395
|
-
|
|
396
|
-
#### v1.1.14
|
|
397
|
-
|
|
398
|
-
> 6 May 2024
|
|
399
|
-
|
|
400
|
-
- minor bumps
|
|
401
|
-
|
|
402
|
-
#### v1.1.13
|
|
403
|
-
|
|
404
|
-
> 10 April 2024
|
|
405
|
-
|
|
406
|
-
- bump most all the deps
|
|
407
|
-
- add read-package-up, esTarget: es2020
|
|
408
|
-
- readme tweak
|
|
409
|
-
|
|
410
|
-
#### v1.1.12
|
|
411
|
-
|
|
412
|
-
> 4 March 2024
|
|
413
|
-
|
|
414
|
-
- readme badge links
|
|
415
|
-
- were all these problems just a missing shebang?
|
|
416
|
-
|
|
417
|
-
#### v1.1.11
|
|
418
|
-
|
|
419
|
-
> 4 March 2024
|
|
420
|
-
|
|
421
|
-
- Remove version from plugin builds WIP
|
|
422
|
-
|
|
423
|
-
#### v1.1.10
|
|
424
|
-
|
|
425
|
-
> 4 March 2024
|
|
426
|
-
|
|
427
|
-
- use process.stdout references (of course)
|
|
428
|
-
|
|
429
|
-
#### v1.1.9
|
|
430
|
-
|
|
431
|
-
> 4 March 2024
|
|
432
|
-
|
|
433
|
-
- update actions
|
|
434
|
-
- missed a couple readline calls
|
|
435
|
-
|
|
436
|
-
#### v1.1.8
|
|
437
|
-
|
|
438
|
-
> 4 March 2024
|
|
439
|
-
|
|
440
|
-
- quick remove readline function
|
|
441
|
-
|
|
442
|
-
#### v1.1.7
|
|
443
|
-
|
|
444
|
-
> 4 March 2024
|
|
445
|
-
|
|
446
|
-
- extracting the zip script, updated deps
|
|
447
|
-
- WIP example webpack.config.js file
|
|
448
|
-
- update readme
|
|
449
|
-
|
|
450
|
-
#### v1.1.6
|
|
451
|
-
|
|
452
|
-
> 30 January 2024
|
|
453
|
-
|
|
454
|
-
- test stuff and fixes
|
|
455
|
-
- misc fixes and first zip testing
|
|
456
|
-
|
|
457
|
-
#### v1.1.5
|
|
458
|
-
|
|
459
|
-
> 25 January 2024
|
|
460
|
-
|
|
461
|
-
- move the localPort stuff into devserver-proxy
|
|
462
|
-
|
|
463
|
-
#### v1.1.4
|
|
464
|
-
|
|
465
|
-
> 25 January 2024
|
|
466
|
-
|
|
467
|
-
- deps, formatting, debugging
|
|
468
|
-
|
|
469
|
-
#### v1.1.3
|
|
470
|
-
|
|
471
|
-
> 24 January 2024
|
|
472
|
-
|
|
473
|
-
- reconfigure imports, port-reporter to module, lots of deps
|
|
474
|
-
- add changelog, update readme (badges)
|
|
475
|
-
- fix path to port-reporter script
|
|
476
|
-
|
|
477
|
-
#### v1.1.2
|
|
478
|
-
|
|
479
|
-
> 23 January 2024
|
|
480
|
-
|
|
481
|
-
#### v1.1.1
|
|
482
|
-
|
|
483
|
-
> 23 January 2024
|
|
484
|
-
|
|
485
|
-
- versioning, github actions, bump deps, README
|
|
486
|
-
- update version in readme
|
|
487
|
-
|
|
488
|
-
#### v1.1.0
|
|
489
|
-
|
|
490
|
-
> 23 January 2024
|
|
491
|
-
|
|
492
|
-
- add packages
|
|
493
|
-
- name change, prepare for npm publish
|
|
494
|
-
- add port-reporter script, giving up on linking local pacakges
|
|
495
|
-
|
|
496
|
-
#### v1.0.4
|
|
497
|
-
|
|
498
|
-
> 16 January 2024
|
|
499
|
-
|
|
500
|
-
- embed default.config
|
|
501
|
-
|
|
502
|
-
#### v1.0.3
|
|
503
|
-
|
|
504
|
-
> 16 January 2024
|
|
505
|
-
|
|
506
|
-
- buildConfig
|
|
507
|
-
|
|
508
|
-
#### v1.0.2
|
|
509
|
-
|
|
510
|
-
> 16 January 2024
|
|
511
|
-
|
|
512
|
-
- add sass-embedded
|
|
513
|
-
|
|
514
|
-
#### v1.0.1
|
|
515
|
-
|
|
516
|
-
> 16 January 2024
|
|
517
|
-
|
|
518
|
-
- add modules
|
|
519
|
-
- add lib, temp exports
|
|
520
|
-
- Initial commit
|
|
File without changes
|