Skip to content

chore: derive APP_VERSION from package.json at build time#14

Merged
saskim merged 1 commit into
mainfrom
feat/pwa-home-screen-icon
May 14, 2026
Merged

chore: derive APP_VERSION from package.json at build time#14
saskim merged 1 commit into
mainfrom
feat/pwa-home-screen-icon

Conversation

@saskim

@saskim saskim commented May 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Removes the hardcoded version string in app-version.ts and imports version directly from package.json
  • Enables resolveJsonModule in tsconfig.json to support the JSON import
  • package.json is now the single source of truth — no separate string to keep in sync

Test plan

  • CI passes (lint → build → tests)
  • Verify APP_VERSION reflects the correct version at runtime

Removes the manually-maintained version string in app-version.ts and
imports version directly from package.json, so there is a single source
of truth. Enables resolveJsonModule in tsconfig to support the import.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@saskim saskim merged commit 97d1196 into main May 14, 2026
1 check passed
@saskim saskim deleted the feat/pwa-home-screen-icon branch May 14, 2026 10:01
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.

1 participant