Skip to content

fix: add jsx-dev-runtime as an alias for jsx-runtime#14631

Merged
florian-lefebvre merged 3 commits intowithastro:mainfrom
KurtGokhan:main
Oct 28, 2025
Merged

fix: add jsx-dev-runtime as an alias for jsx-runtime#14631
florian-lefebvre merged 3 commits intowithastro:mainfrom
KurtGokhan:main

Conversation

@KurtGokhan
Copy link
Copy Markdown
Contributor

Changes

This fixes the issue I reported at #14619. The change adds an export path for jsx-dev-runtime and makes it same as jsx-runtime.

Testing

Added unit tests which ensures both jsx-runtime and jsx-dev-runtime can be imported.

Docs

No docs updates are needed for this change. Using jsx-dev-runtime is unusual but can be helpful for advanced use cases. This PR just makes it work as expected at a first glance.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 28, 2025

🦋 Changeset detected

Latest commit: 8f6a310

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Oct 28, 2025
Copy link
Copy Markdown
Member

@florian-lefebvre florian-lefebvre left a comment

Choose a reason for hiding this comment

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

Can you add a patch changeset?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 28, 2025

📝 Changeset Validation Results

Changeset validation failed

Issues Found:

.changeset/tender-parts-drive.md

Issue with: 'Adds the astro/jsx-dev-runtime export as an alias for astro/jsx-runtime'

❌ The described change seems to introduce new capabilities, which aligns with the 'minor' change type instead of 'patch'.

💡 Update the changeset to specify the correct type 'minor' for the change: ```yaml

'astro': minor


**General Suggestions:**
- Ensure the change type specified accurately aligns with the scope and nature of the described change.

---
*📖 See [Astro's changeset guide](https://contribute.docs.astro.build/docs-for-code-changes/changesets/) for details.*

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Copy link
Copy Markdown
Member

@florian-lefebvre florian-lefebvre left a comment

Choose a reason for hiding this comment

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

Thank you, looks great!

@florian-lefebvre florian-lefebvre merged commit 3ad33f9 into withastro:main Oct 28, 2025
19 of 20 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants