diff --git a/.env.test b/.env.test index cc4088f..a978c66 100644 --- a/.env.test +++ b/.env.test @@ -1,3 +1,5 @@ DATABASE_URI=postgres://ptfapp:polaristaskforcedb@127.0.0.1:5432/ptf-app-stg PAYLOAD_SECRET=b5ac11acc77ea8427d10fcd0 -# Added by Payload \ No newline at end of file +# Added by Payload + +LAST_UPDATED= \ No newline at end of file diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index a69c6dc..7b90189 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "test": "pnpm run test:int && pnpm run test:e2e", "test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test", "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts", + "patch": "bun pm version patch --message \"chore: update to %s\"", "preversion": "bun run build", "postversion": "bash ./build/deploy.sh" }, diff --git a/src/components/static/VersionOverlay.tsx b/src/components/static/VersionOverlay.tsx index 97a9df0..03c4c24 100644 --- a/src/components/static/VersionOverlay.tsx +++ b/src/components/static/VersionOverlay.tsx @@ -1,11 +1,21 @@ const VersionOverlay = () => { const appVersion = process.env.version; + const appLastUpdated = process.env.LAST_UPDATED; return ( -