diff --git a/package.json b/package.json index d166f91..c1e3c94 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "tanstack_start_ts", + "version": "0.1.0", "private": true, "sideEffects": false, "type": "module", diff --git a/src/routes/profilo.tsx b/src/routes/profilo.tsx index b95adda..8499f41 100644 --- a/src/routes/profilo.tsx +++ b/src/routes/profilo.tsx @@ -28,6 +28,7 @@ import { resetGiocatore } from "@/lib/user-store"; import { esci } from "@/lib/auth"; import { useIsAdmin } from "@/lib/ruoli"; import { Reveal } from "@/components/motion/Reveal"; +import { version as APP_VERSION } from "../../package.json"; const TAB_PROFILO = ["stagione", "badge", "documenti", "impostazioni"] as const; type TabProfilo = (typeof TAB_PROFILO)[number]; @@ -298,6 +299,7 @@ function Profilo() { +

CrAPP v{APP_VERSION}