Use vite-plugin-version-mark to read project version
Change-Id: I0d46dc57df025538379a2f0786d3e972c56dd248
This commit is contained in:
committed by
Manuel Stahl
parent
2e2085cdfe
commit
f4ea63c8f4
@@ -26,7 +26,8 @@
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"prettier": "^3.2.5",
|
||||
"react-test-renderer": "^18.2.0",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.0",
|
||||
"vite-plugin-version-mark": "^0.0.13"
|
||||
},
|
||||
"dependencies": {
|
||||
"@haleos/ra-language-german": "^1.0.0",
|
||||
@@ -43,8 +44,8 @@
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "REACT_APP_VERSION=$(git describe --tags) vite serve",
|
||||
"build": "REACT_APP_VERSION=$(git describe --tags) vite build",
|
||||
"start": "vite serve",
|
||||
"build": "vite build",
|
||||
"fix:other": "yarn prettier --write",
|
||||
"fix:code": "yarn test:lint --fix",
|
||||
"fix": "yarn fix:code && yarn fix:other",
|
||||
|
||||
Reference in New Issue
Block a user