mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #637] fix(solid,core): support Windows path separators and improve native package diagnostics #678
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#678
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/637
Author: @RocketBoyMusic
Created: 2/7/2026
Status: 🔄 Open
Base:
main← Head:fix/windows-solid-plugin-paths📝 Commits (5)
8df56a9fix(solid,core): support windows paths and improve native package checks9da1d47fix(ci): make windows smoke import resolve in workflow8e9d890revert(ci): remove windows smoke gate from core workflow8a605d0chore(pr): keep windows path fix scoped to solid plugin8ed3572Merge branch 'main' into fix/windows-solid-plugin-paths📊 Changes
3 files changed (+53 additions, -4 deletions)
View changed files
➕
packages/solid/scripts/solid-plugin-paths.ts(+7 -0)📝
packages/solid/scripts/solid-plugin.ts(+10 -4)➕
packages/solid/tests/solid-plugin.test.ts(+36 -0)📄 Description
Summary
I was running into issues in a separate repo while using OpenTUI on Windows, and wanted to fix this here so other users don’t hit the same problems.
This PR makes two focused improvements:
@opentui/solidBun plugin path matching so Solid server runtime rewrites work with both Unix (/) and Windows (\\) separators.@opentui/corediagnostics when platform-native packages are missing, and adds a Windows CI smoke test to catch this earlier.Changes
onLoadserver-runtime filters to be path-separator agnostic ([\\/]).server.js -> solid.jsandserver.js -> store.js).packages/core/src/zig.tswhen native package import fails, including recovery commands.windows-smokejob inbuild-core.ymlthat runsbun -e "await import('@opentui/core')".Testing
bun test packages/solid/tests/solid-plugin.test.ts3 pass, 0 fail🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.