Skip to content

chore: bump typescript to 6.0#36

Merged
justlevine merged 2 commits into
mainfrom
chore/ts6
Apr 21, 2026
Merged

chore: bump typescript to 6.0#36
justlevine merged 2 commits into
mainfrom
chore/ts6

Conversation

@justlevine
Copy link
Copy Markdown
Collaborator

@justlevine justlevine commented Apr 21, 2026

What

Bumps typescript to latest. Updates the configs accordingly.

Why

General maint

Related Issue(s):

How

Testing Instructions

Screenshots

Additional Info

Checklist

Open WordPress Playground Preview

Copilot AI review requested due to automatic review settings April 21, 2026 08:20
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

This PR upgrades the repository’s TypeScript toolchain to v6 and adjusts TypeScript configuration files to align with the new compiler defaults and project needs.

Changes:

  • Bump typescript to ^6.0.3 and refresh package-lock.json dependency resolutions.
  • Simplify/adjust TS compiler configuration in tsconfig.base.json and related project tsconfigs.
  • Add global ambient module declarations for importing *.scss / *.css from TypeScript.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Updates project TS config; adjusts path mapping and compiler options.
tsconfig.base.json Removes redundant/now-default strictness + interop compiler flags.
tests/js/tsconfig.json Simplifies test TS config compilerOptions.
src/global.d.ts Adds ambient declarations for stylesheet imports.
package.json Bumps typescript devDependency to ^6.0.3.
package-lock.json Updates lockfile to reflect the TS bump and transitive dependency updates.

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

Comment thread tests/js/tsconfig.json
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.20%. Comparing base (665fb9c) to head (f713fb4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #36      +/-   ##
============================================
- Coverage     94.94%   94.20%   -0.74%     
  Complexity      115      115              
============================================
  Files            21       21              
  Lines           475      518      +43     
============================================
+ Hits            451      488      +37     
- Misses           24       30       +6     
Flag Coverage Δ
unit 94.20% <ø> (-0.74%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@justlevine justlevine merged commit 49c92f3 into main Apr 21, 2026
35 of 36 checks passed
@justlevine justlevine deleted the chore/ts6 branch April 21, 2026 10:46
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