Files
v2rayA/gui/package.json
T
Zakk 9e0f73ee7b build(gui): bump vite from 4.5.14 to 6.4.3, with the define it rejects replaced
Dependabot's bump fails the build: vite.config.js defined the global apiRoot
as a template literal evaluated on every read (the backend address lives in
localStorage and the address dialog changes it), and Vite 5+ only accepts a
literal in define. The global is a getter on window now, installed by a plugin
imported first in main.js, returning the same expression on every read; the
call sites are untouched.
2026-09-18 21:33:27 +10:00

48 lines
1.2 KiB
JSON

{
"name": "v2raya",
"version": "0.1.0",
"private": true,
"license": "GPL-3.0",
"scripts": {
"serve": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.vue src"
},
"dependencies": {
"@nuintun/qrcode": "^3.3.0",
"axios": "^0.33.0",
"buefy": "^0.9.22",
"bulma": "^0.9.4",
"clipboard": "^2.0.4",
"dayjs": "^1.10.6",
"js-base64": "^2.5.1",
"lucide-static": "^1.47.0",
"nanoid": "^3.3.18",
"normalize.css": "^8.0.1",
"pace-js": "^1.2.4",
"qrcode": "^1.4.2",
"vue": "^2.7.14",
"vue-i18n": "^8.15.3",
"vue-virtual-scroller": "^1.0.10",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.29.6",
"@babel/eslint-parser": "^7.12.16",
"@vitejs/plugin-vue2": "^2.3.3",
"@vitejs/plugin-vue2-jsx": "^1.1.1",
"@vue/eslint-config-prettier": "^5.0.0",
"autoprefixer": "^10.4.20",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"highlight.js": "^11.4.0",
"prettier": "^2.4.1",
"sass": "^1.19.0",
"subset-font": "2.7.0",
"urijs": "^1.19.11",
"vite": "^6.4.3"
}
}