Skip to content

chore: update NPM Deps#202

Merged
justlevine merged 3 commits intomainfrom
chore/update-deps
Apr 28, 2026
Merged

chore: update NPM Deps#202
justlevine merged 3 commits intomainfrom
chore/update-deps

Conversation

@justlevine
Copy link
Copy Markdown
Collaborator

@justlevine justlevine commented Apr 27, 2026

Description

Updates npm deps.

More specifically, bumps Eslint to v10 and typescript to v6

Technical Details

Proof of it working is the CI passes.

Open WordPress Playground Preview

Copilot AI review requested due to automatic review settings April 27, 2026 20:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s JS toolchain to newer @wordpress/* packages and modern ESLint configuration, aligning repo build/lint settings with updated @wordpress/scripts.

Changes:

  • Bump various WordPress JS tooling dependencies (notably @wordpress/scripts / @wordpress/eslint-plugin).
  • Migrate ESLint configuration from .eslintrc.js/.eslintignore to eslint.config.mjs (flat config).
  • Adjust build/typecheck configs (webpack exports, TS config types/excludes).

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
webpack.config.js Exports an additional WordPress-provided webpack config (defaultModuleConfig) alongside existing scripts/styles configs.
eslint.config.mjs Introduces ESLint v9+/v10-compatible flat config and ports prior rules/overrides.
.eslintrc.js Removes legacy ESLint config file.
.eslintignore Removes legacy ignore file (replaced by flat-config ignores).
tsconfig.json Adds global types and updates exclude list (incl. ESLint config).
tsconfig.base.json Simplifies TS strictness/options (removing redundant flags).
playwright.config.ts Removes inline ESLint suppression on the WP config require(...).
package.json Updates several dependency versions for the toolchain bump.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread webpack.config.js Outdated
Comment thread eslint.config.mjs
Comment thread package.json
@justlevine justlevine requested a review from Copilot April 27, 2026 21:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@justlevine justlevine merged commit 786308d into main Apr 28, 2026
22 checks passed
@justlevine justlevine deleted the chore/update-deps branch April 28, 2026 06:54
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.

3 participants