Skip to content

Comments

chore(typescript): upgrade node to 24 and enable typescript go experimental#236

Merged
sonikro merged 1 commit intomainfrom
migrate-to-ts-native
Dec 11, 2025
Merged

chore(typescript): upgrade node to 24 and enable typescript go experimental#236
sonikro merged 1 commit intomainfrom
migrate-to-ts-native

Conversation

@sonikro
Copy link
Owner

@sonikro sonikro commented Dec 11, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 11, 2025 04:55
Copy link
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 attempts to upgrade Node.js from version 22 to version 24 and adopts the experimental TypeScript native compiler (tsgo). The changes update the Node.js version across multiple configuration files and replace the standard TypeScript compiler with the @typescript/native-preview package. Additionally, the start script is updated to use tsx's native --env-file flag instead of the env-cmd package.

Key Changes:

  • Upgrade Node.js from version 22 to 24 across all configuration files
  • Replace the build command from "tsc" to "tsgo" (experimental TypeScript native compiler)
  • Switch from env-cmd to tsx's native --env-file flag for environment variable loading

Reviewed changes

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

Show a summary per file
File Description
package.json Updates Node.js-related scripts, adds @typescript/native-preview, removes env-cmd, changes TypeScript version to 5.9.3, switches build command to tsgo
package-lock.json Adds @typescript/native-preview and platform-specific packages, removes env-cmd, marks several packages as peer dependencies
Dockerfile Updates base images from node:22 to node:24 for both build and runtime stages
.nvmrc Changes Node.js version from v22 to v24
.vscode/settings.json Adds experimental tsgo setting for VS Code
.github/.devcontainer/devcontainer.json Updates devcontainer image to use Node.js 24
.devcontainer/devcontainer.json Adds TypeScript native-preview VS Code extension

Critical Issues Found:

  • Node.js version 24 does not exist yet (scheduled for April 2026)
  • Multiple packages incorrectly marked as peer dependencies in package-lock.json
  • TypeScript version appears to be downgraded from 5.8.2 to 5.9.3
  • Missing documentation about the experimental tsgo adoption

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

@sonikro sonikro merged commit 21eb334 into main Dec 11, 2025
15 checks passed
@sonikro sonikro deleted the migrate-to-ts-native branch December 11, 2025 05:07
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.

1 participant