mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-25 12:53:09 -04:00
[web] Update libraries
Libraries have been updated to use Vite version 4.
This commit is contained in:
parent
8fc97b1f2e
commit
20f9284ae4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1197
web-src/package-lock.json
generated
1197
web-src/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
|||||||
"name": "owntone-web",
|
"name": "owntone-web",
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vite",
|
"serve": "vite --port 3000",
|
||||||
"build": "vite build --base='./'",
|
"build": "vite build --base='./'",
|
||||||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
|
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"spotify-web-api-js": "^1.5.2",
|
"spotify-web-api-js": "^1.5.2",
|
||||||
"string-to-color": "^2.2.2",
|
"string-to-color": "^2.2.2",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-i18n": "^9.3.0-beta.19",
|
"vue-i18n": "^9.2.2",
|
||||||
"vue-router": "^4.2.2",
|
"vue-router": "^4.2.2",
|
||||||
"vue-scrollto": "^2.20.0",
|
"vue-scrollto": "^2.20.0",
|
||||||
"vue3-click-away": "^1.2.4",
|
"vue3-click-away": "^1.2.4",
|
||||||
@ -32,13 +32,13 @@
|
|||||||
"vuex": "^4.1.0"
|
"vuex": "^4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
|
"@intlify/unplugin-vue-i18n": "^0.12.0",
|
||||||
"@vitejs/plugin-vue": "^2.3.4",
|
"@vitejs/plugin-vue": "^4.2.3",
|
||||||
"eslint": "^8.42.0",
|
"eslint": "^8.42.0",
|
||||||
"eslint-config-prettier": "^8.8.0",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"eslint-plugin-vue": "^9.14.1",
|
"eslint-plugin-vue": "^9.14.1",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
"sass": "^1.63.6",
|
"sass": "^1.63.6",
|
||||||
"vite": "^2.9.16"
|
"vite": "^4.3.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import { createI18n } from 'vue-i18n'
|
|||||||
* All i18n resources specified in the plugin `include` option can be loaded
|
* All i18n resources specified in the plugin `include` option can be loaded
|
||||||
* at once using the import syntax.
|
* at once using the import syntax.
|
||||||
*/
|
*/
|
||||||
import messages from '@intlify/vite-plugin-vue-i18n/messages'
|
import messages from '@intlify/unplugin-vue-i18n/messages'
|
||||||
|
|
||||||
export default createI18n({
|
export default createI18n({
|
||||||
legacy: false,
|
legacy: false,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
import vueI18n from '@intlify/vite-plugin-vue-i18n'
|
import vueI18n from '@intlify/unplugin-vue-i18n/vite'
|
||||||
|
|
||||||
// Support for setting the OwnTone server URL as env var VITE_OWNTONE_URL
|
// Support for setting the OwnTone server URL as env var VITE_OWNTONE_URL
|
||||||
// in development mode.
|
// in development mode.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user