Skip to content

chore: adopt typescript-native-bridge - #3088

Merged
ghostdevv merged 2 commits into
npmx-dev:mainfrom
KazariAI:feat/typescript-native-bridge
Aug 2, 2026
Merged

chore: adopt typescript-native-bridge#3088
ghostdevv merged 2 commits into
npmx-dev:mainfrom
KazariAI:feat/typescript-native-bridge

Conversation

@KazariAI

Copy link
Copy Markdown
Contributor

Adjusts the Nuxt app config augmentation and cached fetch wrapper to avoid two tsgo diagnostic differences exposed by the migration.


This pull request was created with assistance from a code agent.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview Aug 2, 2026 2:58pm
npmx.dev Ready Ready Preview Aug 2, 2026 2:58pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Aug 2, 2026 2:58pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d3c9fe15-86e5-484e-8563-ec617864e1db

📥 Commits

Reviewing files that changed from the base of the PR and between 2d43538 and e4a3657.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • pnpm-workspace.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • pnpm-workspace.yaml

📝 Walkthrough

Summary by CodeRabbit

  • Bug Fixes

    • Improved cached data fetching so requests consistently use the application’s configured fetch behaviour.
    • Preserved existing cache results and freshness information while improving request handling.
  • Chores

    • Updated TypeScript tooling configuration for improved compatibility.
    • Refined internal configuration typing without changing available app configuration properties.

Walkthrough

The changes rename the Nuxt app-config augmentation interface, route cached fetches through fetchWrapper, and add a workspace TypeScript override.

Changes

App-config typing

Layer / File(s) Summary
Rename app-config interface
modules/build-env.ts
The Nuxt app-config augmentation is renamed from AppConfig to CustomAppConfig. The env and buildInfo properties remain unchanged.

Cached fetch delegation

Layer / File(s) Summary
Delegate cached fetch requests
modules/runtime/server/cache.ts
event.context.cachedFetch now retrieves data through fetchWrapper instead of globalThis.$fetch.

TypeScript workspace override

Layer / File(s) Summary
Add TypeScript override
pnpm-workspace.yaml
The workspace adds a TypeScript override targeting typescript-native-bridge@6.0.3-bridge.7.tsgo.7.0.2.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adopting typescript-native-bridge.
Description check ✅ Passed The description directly explains the TypeScript augmentation and cached fetch changes related to the migration.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

📊 Dependency Size Changes

Warning

This PR adds 12.4 MB of new dependencies, which exceeds the threshold of 200 kB.

📦 Package 📏 Size
typescript-native-bridge@6.0.3-bridge.7.tsgo.7.0.2 36.5 MB
typescript@6.0.3 -24.3 MB
@typescript-native-bridge/linux-x64@6.0.3-bridge.7.tsgo.7.0.2 23.9 MB
typescript@5.9.3 -23.6 MB
typescript@typescript-native-bridge@6.0.3-bridge.7.tsgo.7.0.2 Unknown
vue-component-type-helpers@3.3.8 → vue-component-type-helpers@3.3.9 0 B

Total size change: 12.4 MB

@ghostdevv ghostdevv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you give some more context around this issue?

@KazariEX

Copy link
Copy Markdown
Contributor

typescript-native-bridge makes it possible to integrate TS7 type checking into projects built on the TS6 API. This PR primarily aims to speed up CI and the agent development cycle. It also helps bring TNB into real-world use, where broader adoption can uncover more issues and generate valuable feedback.

Comment thread modules/runtime/server/cache.ts
Comment thread modules/build-env.ts
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtypescript-native-bridge@​6.0.3-bridge.7.tsgo.7.0.28210010093100

View full report

@ghostdevv
ghostdevv enabled auto-merge August 2, 2026 14:59
@ghostdevv
ghostdevv added this pull request to the merge queue Aug 2, 2026
Merged via the queue into npmx-dev:main with commit 0a6de95 Aug 2, 2026
25 checks passed
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