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",
|
"name": "timeclock-frontend",
|
||||||
"version": "3.0.0",
|
|
||||||
"description": "TimeClock v3 - Frontend für Zeiterfassung",
|
"description": "TimeClock v3 - Frontend für Zeiterfassung",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -20,5 +19,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -53,10 +53,9 @@ import { computed } from 'vue'
|
|||||||
import StatusBox from './components/StatusBox.vue'
|
import StatusBox from './components/StatusBox.vue'
|
||||||
import SideMenu from './components/SideMenu.vue'
|
import SideMenu from './components/SideMenu.vue'
|
||||||
import AppBrand from './components/AppBrand.vue'
|
import AppBrand from './components/AppBrand.vue'
|
||||||
import { APP_VERSION } from '@/config/version'
|
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const appVersion = APP_VERSION
|
const appVersion = __APP_VERSION__
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const route = useRoute()
|
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 { fileURLToPath, URL } from 'node:url'
|
||||||
|
import { readFileSync } from 'node:fs'
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
|
const { version } = JSON.parse(
|
||||||
|
readFileSync(new URL('../package.json', import.meta.url), 'utf-8')
|
||||||
|
)
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
define: {
|
||||||
|
__APP_VERSION__: JSON.stringify(version)
|
||||||
|
},
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
@@ -44,4 +52,3 @@ export default defineConfig({
|
|||||||
// Base-URL für Produktion
|
// Base-URL für Produktion
|
||||||
base: '/'
|
base: '/'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
5
package-lock.json
generated
5
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "timeclock",
|
"name": "timeclock",
|
||||||
"version": "3.0.0",
|
"version": "3.1.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "timeclock",
|
"name": "timeclock",
|
||||||
"version": "3.0.0",
|
"version": "3.1.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"backend",
|
"backend",
|
||||||
@@ -43,7 +43,6 @@
|
|||||||
},
|
},
|
||||||
"frontend": {
|
"frontend": {
|
||||||
"name": "timeclock-frontend",
|
"name": "timeclock-frontend",
|
||||||
"version": "3.0.0",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"vue": "^3.3.11",
|
"vue": "^3.3.11",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "timeclock",
|
"name": "timeclock",
|
||||||
"version": "3.0.0",
|
"version": "3.1.1",
|
||||||
"description": "TimeClock v3 - Full-Stack Zeiterfassungsanwendung",
|
"description": "TimeClock v3 - Full-Stack Zeiterfassungsanwendung",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|||||||
Reference in New Issue
Block a user