Skip to content

chore: config cleanup - #398

Open
justlevine wants to merge 3 commits into
mainfrom
chore/cleanup
Open

justlevine wants to merge 3 commits into
mainfrom
chore/cleanup

Conversation

@justlevine

@justlevine justlevine commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What

This PR cleans up various repo config files to align with the current state of the branch and onedesign.

Why

Related Issue(s):

How

  • Drops the wp_enqueue_scripts hook and renames the selector, the way OneDesign already did, and fixes or drops the rest.
  • Bumps package.json and regenerates the lockfile.
  • The lint-staged rule lets exit 1 through instead of exit 3, and passes the staged files to sh -c as arguments the way OneDesign does.

AI Disclosure

Backported initially by Opus 5.5

Testing Instructions

Screenshots

Additional Info

Checklist

  • I have read the Contribution Guidelines.
  • I have read the Development Guidelines.
  • I have added necessary tests to cover my changes.
  • I have updated the project documentation as needed.
  • My code has detailed inline documentation.
  • My code is tested to the best of my abilities.
  • My code passes all lints, tests, and checks.
Open WordPress Playground Preview

@justlevine
justlevine marked this pull request as ready for review November 20, 2026 13:19
@codecov-commenter

codecov-commenter commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.78%. Comparing base (19f4d4d) to head (d5b31df).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #398      +/-   ##
============================================
- Coverage     90.78%   90.78%   -0.01%     
  Complexity      887      887              
============================================
  Files            51       51              
  Lines          3333     3331       -2     
  Branches        182      182              
============================================
- Hits           3026     3024       -2     
  Misses          255      255              
  Partials         52       52              
Flag Coverage Δ
unit 91.83% <100.00%> (-0.01%) ⬇️
vitest 86.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
inc/Autoloader.php 87.09% <100.00%> (-0.41%) ⬇️
inc/Main.php 100.00% <ø> (ø)
inc/Modules/Core/Assets.php 97.05% <ø> (-0.05%) ⬇️
inc/Modules/Rest/Abstract_REST_Controller.php 95.65% <ø> (ø)
inc/Modules/Rest/Remote_Client.php 87.50% <100.00%> (ø)
inc/Modules/Settings/Settings.php 86.28% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants