vailabel/vailabel-studio

bug: App version is hardcoded to "0.0.0" instead of the real version

Open

#248 geöffnet am 19. Juni 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (22 Forks)auto 404
good first issuehacktoberfest

Repository-Metriken

Stars
 (62 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Summary APP_VERSION is hardcoded to "0.0.0" with a leftover TODO, so anywhere the app surfaces its version shows the wrong number. The real version is 2.2.0 (apps/studio/package.json).

Where

  • apps/studio/src/shared/lib/constants.ts:4
    export const APP_VERSION = "0.0.0" // TODO: Replace with actual version or inject at build time
    

Suggested fix Inject the version at build time from package.json rather than hardcoding. With Vite you can expose it via define in vite.config, e.g. __APP_VERSION__: JSON.stringify(pkg.version), or import the version from package.json and reference it in the constant.

Steps

  1. Branch: git checkout -b fix/app-version.
  2. Wire the real version into APP_VERSION (build-time inject or import from package.json).
  3. Verify the displayed version matches apps/studio/package.json.
  4. Run yarn lint and yarn typecheck; open a PR.

Acceptance criteria

  • APP_VERSION reflects the real package version, no hardcoded 0.0.0.
  • TODO removed.

Good first issue — comment here if you'd like to take it.

Contributor Guide