Aktualisiere die Version auf 3.1.1 und entferne die veraltete APP_VERSION-Konstante
All checks were successful
Deploy production / deploy (push) Successful in 1m1s

This commit is contained in:
Torsten Schulz (local)
2026-08-27 07:30:38 +02:00
parent 4787700cd0
commit c239ef19d1
6 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,5 @@
{
"name": "timeclock-frontend",
"version": "3.0.0",
"description": "TimeClock v3 - Frontend für Zeiterfassung",
"type": "module",
"scripts": {
@@ -20,5 +19,3 @@
}
}

View File

@@ -53,10 +53,9 @@ import { computed } from 'vue'
import StatusBox from './components/StatusBox.vue'
import SideMenu from './components/SideMenu.vue'
import AppBrand from './components/AppBrand.vue'
import { APP_VERSION } from '@/config/version'
const authStore = useAuthStore()
const appVersion = APP_VERSION
const appVersion = __APP_VERSION__
const router = useRouter()
const route = useRoute()

View File

@@ -1,2 +0,0 @@
/** Sichtbare Web-App-Version (synchron mit package.json). */
export const APP_VERSION = '3.1.0'

View File

@@ -1,8 +1,16 @@
import { fileURLToPath, URL } from 'node:url'
import { readFileSync } from 'node:fs'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const { version } = JSON.parse(
readFileSync(new URL('../package.json', import.meta.url), 'utf-8')
)
export default defineConfig({
define: {
__APP_VERSION__: JSON.stringify(version)
},
plugins: [vue()],
resolve: {
alias: {
@@ -44,4 +52,3 @@ export default defineConfig({
// Base-URL für Produktion
base: '/'
})

5
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "timeclock",
"version": "3.0.0",
"version": "3.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "timeclock",
"version": "3.0.0",
"version": "3.1.1",
"license": "ISC",
"workspaces": [
"backend",
@@ -43,7 +43,6 @@
},
"frontend": {
"name": "timeclock-frontend",
"version": "3.0.0",
"dependencies": {
"pinia": "^2.1.7",
"vue": "^3.3.11",

View File

@@ -1,6 +1,6 @@
{
"name": "timeclock",
"version": "3.0.0",
"version": "3.1.1",
"description": "TimeClock v3 - Full-Stack Zeiterfassungsanwendung",
"private": true,
"workspaces": [