Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: build using tsgo#12040

Open
gioboa wants to merge 2 commits intotypeorm:masterfrom
gioboa:chore/tsgo
Open

chore: build using tsgo#12040
gioboa wants to merge 2 commits intotypeorm:masterfrom
gioboa:chore/tsgo

Conversation

@gioboa
Copy link
Collaborator

@gioboa gioboa commented Feb 24, 2026

Description of change

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

@qodo-free-for-open-source-projects

User description

Description of change

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

PR Type

Enhancement


Description

  • Replace TypeScript compiler with tsgo for faster builds

  • Add @typescript/native-preview dependency for native compilation

  • Update build, typecheck, and watch scripts to use tsgo

  • Exclude gulpfile.ts from TypeScript compilation


Diagram Walkthrough

flowchart LR
  tsc["tsc compiler"] -->|replaced by| tsgo["tsgo compiler"]
  tsgo -->|uses| native["@typescript/native-preview"]
  scripts["Build scripts"] -->|updated| tsgo
  config["tsconfig.json"] -->|excludes| gulpfile["gulpfile.ts"]
Loading

File Walkthrough

Relevant files
Configuration changes
package.json
Update build scripts to use tsgo compiler                               

package.json

  • Replace tsc with tsgo in compile, typecheck, and watch scripts
  • Add @typescript/native-preview as latest dev dependency
  • Update TypeScript version to ^5.9.3
+4/-3     
package.json
Update playground build to use tsgo                                           

sample/playground/package.json

  • Replace tsc with tsgo in build script
  • Add @typescript/native-preview as latest dev dependency
  • Update TypeScript version to ^5.9.3
+3/-2     
tsconfig.json
Exclude gulpfile from TypeScript compilation                         

tsconfig.json

  • Add gulpfile.ts to exclude array for TypeScript compilation
  • Reformat exclude array with proper line breaks for readability
+8/-1     
Dependencies
pnpm-lock.yaml
Add native-preview platform-specific dependencies               

pnpm-lock.yaml

  • Add @typescript/native-preview version 7.0.0-dev.20260224.1 with
    platform-specific binaries
  • Include optional dependencies for darwin-arm64, darwin-x64, linux-arm,
    linux-arm64, linux-x64, win32-arm64, and win32-x64
  • Update lock file to reflect new dependency structure
+73/-0   

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 24, 2026

commit: 6460bb8

@gioboa gioboa force-pushed the chore/tsgo branch 2 times, most recently from d28bcce to cd8328a Compare February 24, 2026 10:51
@coveralls
Copy link

coveralls commented Feb 24, 2026

Coverage Status

coverage: 87.029% (+5.6%) from 81.419%
when pulling 6460bb8 on gioboa:chore/tsgo
into ded09bd on typeorm:master.

@qodo-free-for-open-source-projects

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

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