Skip to content

Railpack frontend version is hardcoded #1778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Velka-DEV opened this issue Apr 26, 2025 · 0 comments
Open

Railpack frontend version is hardcoded #1778

Velka-DEV opened this issue Apr 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Velka-DEV
Copy link

Velka-DEV commented Apr 26, 2025

What problem will this feature address?

Problem

Currently, the railpack frontend version used in the server does not align with the version used by the CLI.
Reference: railpack.ts#L75

Additionally, all CLI versions are hardcoded directly in the setup server script, which makes maintenance error-prone and less scalable.

Describe the solution you'd like

Proposal

  • Ensure the server uses the same railpack version as the CLI to maintain consistency.
  • Introduce a centralized configuration for managing CLI and railpack versions instead of hardcoding them individually.
    (e.g., a versions.ts file or an environment-based setup.)

Benefits

  • Easier version management across the project.
  • Reduces the risk of version mismatch bugs.
  • Cleaner and more maintainable codebase.

Describe alternatives you've considered

N/A

Additional context

No response

Will you send a PR to implement it?

Yes (If i have time, so not sure)

@Velka-DEV Velka-DEV added the enhancement New feature or request label Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant