Repository navigation
Commit ba9623b
chore(deps-dev): bump @wordpress/scripts to 37 in core and the checklist (#187)
* chore(deps-dev): bump @wordpress/scripts to 37 in core and the checklist
Both packages move from ^31.7.0 to ^37.1.0 together. Peers rise only
where npm requires it: @wordpress/theme to ^3 (not 4, which moves the
PostCSS and stylelint plugin paths) and, in core,
@wordpress/e2e-test-utils-playwright to ^3.2, the version scripts' own
Playwright setup uses. Runtime @wordpress/* packages are unchanged.
ESLint 10 drops eslintrc, so .eslintrc.js becomes eslint.config.cjs on
top of the scripts flat config. The default now applies Vitest rules to
every test file; unit tests get Jest rules and e2e specs get Playwright
rules instead. The quality gate treats eslint.config.* as a rules file.
wp-scripts test-unit-js now runs Vitest, so the suite moves to
test-unit-jest with Jest 30 and a jest.config.js reproducing the
defaults scripts used to supply. quality.mjs runs each package's
test:unit:js script rather than calling test-unit-js itself. Same 123
suites and 1861 tests as before; one test now awaits its popover so the
positioning update no longer leaks into the next test.
The vendored design-token CSS is refreshed from @wordpress/theme 3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style: reformat for Prettier 3.9 and drop stale eslint-disable comments
Mechanical only. @wordpress/scripts 37 ships a newer Prettier, and
ESLint 10 reports disable comments that suppress nothing. Every removed
comment named a rule that was off (import/first, no-await-in-loop) or
already allowed the call (no-console on console.warn/error).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: clear the errors ESLint 10 adds
- Unused catch bindings become optional catch bindings; no-unused-vars
now checks caught errors by default.
- KanbanCard and KanbanColumn keep their named inner functions, which
React DevTools shows for the memoized components, with the new
no-shadow report disabled and the reason noted.
- The four best-effort networkidle waits before style audits keep their
behavior, with playwright/no-networkidle disabled and the reason noted.
- One Prettier fix in the checklist's PostCSS config.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(e2e): point test-playwright at the tests environment config
@wordpress/scripts 37 exports WP_BASE_URL from the wp-env config before
Playwright starts. Without a config path it reads the development
config, whose port is 8888, so login and storage state would target the
dev site. Passing --wp-env-config=../.wp-env.tests.json keeps the run on
the tests environment's 8889 locally and in CI.
The release packaging check now also refuses eslint.config.* and
jest.config.*, as it already did .eslintrc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(deps-dev): clear the remaining npm audit findings
Transitive packages with in-range fixes are updated in both lockfiles.
npm audit fix would also have moved runtime @wordpress/* packages and
the bundled date-fns, so only the vulnerable packages were updated;
direct dependencies are unchanged and the built JS is byte-identical.
The rest get scoped overrides, each kept only because the tool that
pulls it in still passes and the build output does not change:
- serialize-javascript under copy-webpack-plugin: the build still copies
the DataViews and design-token CSS.
- minimatch 10 under ESLint and typescript-eslint: lint covers the same
336 files with the same findings.
- glob 10 and 13 under Jest: the same 123 suites and 1861 tests run, and
coverage still works.
- js-yaml, smol-toml and katex under markdownlint-cli: lint-md-docs
still lints and reports.
- uuid 9 in the checklist, which does not bundle it.
Two advisories remain. deepmerge has no fixed release. In core, the
uuid override changed the built JS, so it is left for a runtime
dependency update rather than slipped into a toolchain change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(review): flag jest and vitest config edits as gate-rule changes
A narrowed jest.config.js can shrink the blocking unit gate, so editing
it now triggers the same "gate rules modified" warning as eslint.config.*.
vitest.config.* is included for when a package moves to Vitest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: record accepted audit advisories and the overrides
npm audit still reports deepmerge and, in core, uuid on purpose. The
new reference says why each is not reachable, what would let it go, and
which override clears every other advisory, with the check that kept it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: note the glob override applies to rimraf 5 only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(review): list the adm-zip override and the new gate-rule files
The dependency audit record now includes the root adm-zip override, and
the quality-gate README names jest.config.* and vitest.config.* among
the files that trigger the gate-rules warning.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style: format the claim and release tests for Prettier 3.9
They landed on main (#169) after the reformat, so they kept the old
continuation indent and three import/first directives ESLint 10 reports
as unused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 131c1f8 commit ba9623b
115 files changed
Lines changed: 16329 additions & 18272 deletions
File tree
- .loupe/tokens
- docs
- reference
- tools
- code-quality
- vip-workflows
- src
- admin
- components
- graph
- ideation
- cards
- pages
- common
- editor
- components
- tests
- e2e
- helpers
- unit-js
- workflow-tool-checklist
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
| 268 | + | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
462 | 464 | | |
463 | 465 | | |
464 | 466 | | |
| |||
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
480 | | - | |
| 482 | + | |
| 483 | + | |
481 | 484 | | |
482 | 485 | | |
483 | 486 | | |
| |||
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
491 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
492 | 501 | | |
493 | 502 | | |
494 | 503 | | |
| |||
527 | 536 | | |
528 | 537 | | |
529 | 538 | | |
530 | | - | |
| 539 | + | |
531 | 540 | | |
532 | 541 | | |
533 | 542 | | |
| |||
740 | 749 | | |
741 | 750 | | |
742 | 751 | | |
743 | | - | |
| 752 | + | |
744 | 753 | | |
745 | 754 | | |
746 | 755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments