Skip to content

typescript test#953

Open
remotecom wants to merge 1 commit intomainfrom
typescript-beta-tes
Open

typescript test#953
remotecom wants to merge 1 commit intomainfrom
typescript-beta-tes

Conversation

@remotecom
Copy link
Copy Markdown
Contributor

@remotecom remotecom commented Apr 22, 2026

Note

Medium Risk
Changes the compiler used for builds/type-checking to a preview toolchain (tsgo), which can alter CI/dev behavior and introduce environment-specific issues despite minimal runtime code changes.

Overview
Switches both the root package and the example app’s build/type-check scripts from tsc to tsgo by adding @typescript/native-preview as a dependency/devDependency.

Updates lockfiles accordingly (including new platform-specific optional @typescript/native-preview-* packages), bumps the example’s local @remoteoss/remote-flows reference to 1.27.0, and refreshes the locked typescript patch version to 6.0.3.

Reviewed by Cursor Bugbot for commit e411966. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 208.42 kB 208.42 kB 0 B (0%) 🟢
Total (raw) 558.14 kB 558.14 kB 0 B (0%) 🟢
CSS (gzip) 20.03 kB 20.03 kB 0 B (0%) 🟢
CSS (raw) 103.23 kB 103.23 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 208.42 kB / 250 kB (83.4%)
  • ✅ Total raw: 558.14 kB / 600 kB (93.0%)
  • ✅ CSS gzipped: 20.03 kB / 25 kB (80.1%)

Largest Files (Top 5)

  1. chunk-72RFYT5Y.js - 13.83 kB (0 B (0%))
  2. index.css - 10.01 kB (0 B (0%))
  3. styles.css - 10.01 kB (0 B (0%))
  4. index.js - 6.06 kB (0 B (0%))
  5. chunk-O5XQUEB5.js - 5.82 kB (0 B (0%))
View All Files (311 total)
File Size (gzip) Change
chunk-72RFYT5Y.js 13.83 kB 0 B (0%)
index.css 10.01 kB 0 B (0%)
styles.css 10.01 kB 0 B (0%)
index.js 6.06 kB 0 B (0%)
chunk-O5XQUEB5.js 5.82 kB 0 B (0%)
chunk-3DQ5RNLK.js 5.81 kB 0 B (0%)
chunk-6S566ZMF.js 4.5 kB 0 B (0%)
chunk-4Y2DWXQB.js 4.23 kB 0 B (0%)
chunk-5QHQT6DL.js 4.06 kB 0 B (0%)
chunk-MGVJ2TKE.js 3.46 kB 0 B (0%)

✅ Bundle size check passed

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e411966. Configure here.

Comment thread example/package.json
"react-syntax-highlighter": "16.1.1",
"typescript": "6.0.2"
"typescript": "6.0.2",
"@typescript/native-preview": "^7.0.0-dev.20260421.2"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dev tool placed in production dependencies

Low Severity

@typescript/native-preview is added to dependencies instead of devDependencies in example/package.json. This is a TypeScript compiler/build tool used only for build and type-check scripts, not a runtime dependency. The root package.json correctly places it in devDependencies, making this inconsistent.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e411966. Configure here.

@github-actions
Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 89.85% 89.85% 0%
Statements 89.52% 89.52% 0%
Functions 87.39% 87.39% 0%
Branches 79.89% 79.89% 0%

Detailed Breakdown

Lines Coverage
  • Covered: 3577 / 3981
  • Coverage: 89.85%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 3638 / 4064
  • Coverage: 89.52%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 977 / 1118
  • Coverage: 87.39%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 2213 / 2770
  • Coverage: 79.89%
  • Change: 0% (0 branches)

✅ Coverage check passed

@github-actions
Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-1uhppq11a-remotecom.vercel.app
Latest Commit:e411966
Inspect:View deployment

Deployed with vercel-action

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