Skip to content

fix(app-tools): skip ts runtime setup when ts-node is absent#8502

Merged
GiveMe-A-Name merged 2 commits intomainfrom
fix/skip-ts-runtime-without-ts-node
Apr 1, 2026
Merged

fix(app-tools): skip ts runtime setup when ts-node is absent#8502
GiveMe-A-Name merged 2 commits intomainfrom
fix/skip-ts-runtime-without-ts-node

Conversation

@GiveMe-A-Name
Copy link
Copy Markdown
Member

Summary

Previously setupTsRuntime would throw an error when ts-node was not available. Now it gracefully skips runtime setup instead.

Changes

  • src/utils/register.ts: Modified setupTsRuntime to return early when ts-node is absent
  • tests/utils/register.test.ts: Updated and added tests for the new behavior

Testing

All existing tests pass with the new behavior.

Closes #8503

Previously setupTsRuntime would throw an error when ts-node was not
available. Now it gracefully skips runtime setup instead.

Closes #8503
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

⚠️ No Changeset found

Latest commit: 5c279f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit 5c279f2
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/69cccc2798b623000815e558
😎 Deploy Preview https://deploy-preview-8502--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 98 (🟢 up 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
bundle-diff 2.9 MB 0

Generated by Rsdoctor GitHub Action

@GiveMe-A-Name GiveMe-A-Name merged commit df18dc8 into main Apr 1, 2026
10 checks passed
@GiveMe-A-Name GiveMe-A-Name deleted the fix/skip-ts-runtime-without-ts-node branch April 1, 2026 08:53
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