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
All checks were successful
Deploy production / deploy (push) Successful in 1m1s
This commit is contained in:
@@ -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 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
/** Sichtbare Web-App-Version (synchron mit package.json). */
|
||||
export const APP_VERSION = '3.1.0'
|
||||
@@ -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
5
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "timeclock",
|
||||
"version": "3.0.0",
|
||||
"version": "3.1.1",
|
||||
"description": "TimeClock v3 - Full-Stack Zeiterfassungsanwendung",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
|
||||
Reference in New Issue
Block a user