Add hybrid versioning scripts, version shown in app footer

This commit is contained in:
2026-01-16 16:55:13 +00:00
parent 966006db6a
commit 5bd9780ac0
8 changed files with 214 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "med-plan-assistant",
"version": "0.2.1",
"version": "0.2.2",
"private": true,
"dependencies": {
"@radix-ui/react-label": "^2.1.8",
@@ -25,6 +25,11 @@
},
"scripts": {
"start": "vite",
"prebuild": "node scripts/generate-version.js",
"version:bump": "node scripts/bump-version.js",
"version:patch": "node scripts/bump-version.js patch",
"version:minor": "node scripts/bump-version.js minor",
"version:major": "node scripts/bump-version.js major",
"start:wsl2": "HOST=0.0.0.0 vite",
"kill": "lsof -ti:3000 | xargs kill -9 2>/dev/null && echo 'Cleared port 3000' || echo 'Port 3000 was not in use'",
"build": "vite build",