Skip to content

add server framework detection and overrides for tanstack#3

Draft
HomelessDinosaur wants to merge 1 commit into
mainfrom
NIT-1230
Draft

add server framework detection and overrides for tanstack#3
HomelessDinosaur wants to merge 1 commit into
mainfrom
NIT-1230

Conversation

@HomelessDinosaur

Copy link
Copy Markdown
Member

No description provided.

Comment thread detect.go
// so railpack serves the build output as a static SPA. Nitro emits a server
// at .output/server/index.mjs (same as Nuxt). @tanstack/start is the old name.
if c.pkg.hasAnyDependency("@tanstack/react-start", "@tanstack/solid-start", "@tanstack/start") {
return serverFramework{Name: "TanStack Start", StartCmd: "node .output/server/index.mjs"}, true

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.

Should this use the detected runtime? If the railpack output uses a bun base image for the runtime as an example this will fail as node will not be available

@HomelessDinosaur

Copy link
Copy Markdown
Member Author

When this PR gets merged this can be closed and have a different approach using the custom providers. railwayapp/railpack#588

@HomelessDinosaur HomelessDinosaur marked this pull request as draft June 15, 2026 03:25
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