Skip to content

Updated TypeScript target for new Node version - #992

Merged
EvanHahn merged 1 commit into
mainfrom
ts-es2025
Oct 14, 2026
Merged

EvanHahn merged 1 commit into
mainfrom
ts-es2025

Conversation

@EvanHahn

@EvanHahn EvanHahn commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

towards https://linear.app/ghost/issue/NY-1575

No user impact expected.

Now that we're on the latest Node, we can bump our TypeScript target from ES2022 to ES2025. See this compatibility table.

@EvanHahn
EvanHahn requested a review from cmraible as a code owner October 13, 2026 15:55
@EvanHahn
EvanHahn added this pull request to stack #994 October 13, 2026 15:55
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 2fea2c81-849d-45d1-aa24-b0d5df8fc45e
📥 Commits

Reviewing files that changed from the base of the PR and between 8a4feb7 and f594591.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: de440d32-7af8-4cf0-b112-285e383b79b1
📥 Commits

Reviewing files that changed from the base of the PR and between 0a692ea and de92100.

📒 Files selected for processing: 1
  • tsconfig.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

Walkthrough

The TypeScript compilation target changes from ES2022 to ES2025.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to de921

The project targets ES2025 while its documented and deployed runtime is Node 26. No concrete user-facing regression is established, so no actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description explains the ES2022-to-ES2025 TypeScript target change, its connection to the newer Node version, and the expected user impact.
Title check Passed The title clearly and concisely identifies the TypeScript target update and its reason.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

codecov-commenter commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@a84b2cd). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #992   +/-   ##
=======================================
  Coverage        ?   95.97%           
=======================================
  Files           ?       49           
  Lines           ?     1167           
  Branches        ?      201           
=======================================
  Hits            ?     1120           
  Misses          ?       47           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 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.

@EvanHahn
EvanHahn removed the request for review from cmraible October 13, 2026 15:59
Base automatically changed from node26 to main October 14, 2026 15:34
towards https://linear.app/ghost/issue/NY-1575

No user impact expected.

Now that we're on the latest Node, we can bump our TypeScript target from ES2022 to ES2025. See [this compatibility table](https://compat-table.github.io/compat-table/es2016plus/).
@github-actions

Copy link
Copy Markdown

✅ Deployed to staging (tree: 03876b24d572c2904b153b7f23c9e2bbe220d8a8)

@cmraible

Copy link
Copy Markdown
Collaborator

Did a quick smoke test on staging, all looks good. Merge when ready!

@EvanHahn
EvanHahn merged commit c6b7ec5 into main Oct 14, 2026
13 checks passed
@EvanHahn
EvanHahn deleted the ts-es2025 branch October 14, 2026 17:09
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