update packages

This commit is contained in:
jb-alvarado 2024-07-10 09:25:47 +02:00
parent 18518dd53a
commit c0d6f02d73
3 changed files with 1407 additions and 1730 deletions

View File

@ -1,150 +1,154 @@
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
devServer: { devServer: {
port: 3000, // default: 3000 port: 3000, // default: 3000
host: '127.0.0.1', // default: localhost host: '127.0.0.1', // default: localhost
}, },
nitro: { nitro: {
devProxy: { devProxy: {
'/api': { target: 'http://127.0.0.1:8787/api' }, '/api': { target: 'http://127.0.0.1:8787/api' },
'/auth': { target: 'http://127.0.0.1:8787/auth' }, '/auth': { target: 'http://127.0.0.1:8787/auth' },
'/data': { target: 'http://127.0.0.1:8787/data' }, '/data': { target: 'http://127.0.0.1:8787/data' },
'/live': { target: 'http://127.0.0.1:8787/live' }, '/live': { target: 'http://127.0.0.1:8787/live' },
'/file': { target: 'http://127.0.0.1:8787/file' }, '/file': { target: 'http://127.0.0.1:8787/file' },
'/hls': { target: 'http://127.0.0.1:8787/hls' }, '/hls': { target: 'http://127.0.0.1:8787/hls' },
}, },
}, },
ignore: ['**/public/tv-media**', '**/public/Videos**', '**/public/live**', '**/public/home**'], ignore: ['**/public/tv-media**', '**/public/Videos**', '**/public/live**', '**/public/home**'],
ssr: false, ssr: false,
// debug: true,
app: { // debug: true,
head: {
title: 'ffplayout',
meta: [
{
charset: 'utf-8',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
hid: 'description',
name: 'description',
content: 'Frontend for ffplayout, the 24/7 Rust and playlist based streaming solution.',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
],
},
},
modules: [ app: {
'@nuxt/eslint', head: {
'@nuxtjs/color-mode', title: 'ffplayout',
'@nuxtjs/tailwindcss', meta: [
'@nuxtjs/i18n', {
'@pinia/nuxt', charset: 'utf-8',
'@vueuse/nuxt', },
], {
css: ['@/assets/scss/main.scss'], name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
hid: 'description',
name: 'description',
content: 'Frontend for ffplayout, the 24/7 Rust and playlist based streaming solution.',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
],
},
},
colorMode: { modules: [
preference: 'dark', // default value of $colorMode.preference '@nuxt/eslint',
fallback: 'system', // fallback value if not system preference found '@nuxtjs/color-mode',
hid: 'nuxt-color-mode-script', '@nuxtjs/tailwindcss',
globalName: '__NUXT_COLOR_MODE__', '@nuxtjs/i18n',
componentName: 'ColorScheme', '@pinia/nuxt',
classPrefix: '', '@vueuse/nuxt',
classSuffix: '', ],
dataValue: 'theme',
storageKey: 'theme',
},
i18n: { css: ['@/assets/scss/main.scss'],
locales: [
{
code: 'de',
name: 'Deutsch',
file: 'de-DE.js',
},
{
code: 'en',
name: 'English',
file: 'en-US.js',
},
{
code: 'pt-br',
name: 'Português (BR)',
file: 'pt-BR.js',
},
{
code: 'ru',
name: 'Русский язык (RU)',
file: 'ru-RU.js',
},
],
customRoutes: 'config',
pages: {
player: {
de: '/wiedergabe',
en: '/player',
'pt-br': '/player',
ru: '/player',
},
media: {
de: '/medien',
en: '/media',
'pt-br': '/armazenamento',
ru: '/media',
},
message: {
de: '/nachrichten',
en: '/message',
'pt-br': '/legenda',
ru: '/message',
},
logging: {
de: '/protokollierung',
en: '/logging',
'pt-br': '/registro',
ru: '/logging',
},
configure: {
de: '/einstellungen',
en: '/configure',
'pt-br': '/configurar',
ru: '/configure',
},
},
detectBrowserLanguage: {
useCookie: true,
alwaysRedirect: true,
},
// debug: true,
langDir: 'lang',
defaultLocale: 'en',
compilation: { colorMode: {
strictMessage: false, preference: 'dark', // default value of $colorMode.preference
}, fallback: 'system', // fallback value if not system preference found
}, hid: 'nuxt-color-mode-script',
globalName: '__NUXT_COLOR_MODE__',
componentName: 'ColorScheme',
classPrefix: '',
classSuffix: '',
dataValue: 'theme',
storageKey: 'theme',
},
vite: { i18n: {
build: { locales: [
chunkSizeWarningLimit: 800000, {
}, code: 'de',
}, name: 'Deutsch',
file: 'de-DE.js',
},
{
code: 'en',
name: 'English',
file: 'en-US.js',
},
{
code: 'pt-br',
name: 'Português (BR)',
file: 'pt-BR.js',
},
{
code: 'ru',
name: 'Русский язык (RU)',
file: 'ru-RU.js',
},
],
customRoutes: 'config',
pages: {
player: {
de: '/wiedergabe',
en: '/player',
'pt-br': '/player',
ru: '/player',
},
media: {
de: '/medien',
en: '/media',
'pt-br': '/armazenamento',
ru: '/media',
},
message: {
de: '/nachrichten',
en: '/message',
'pt-br': '/legenda',
ru: '/message',
},
logging: {
de: '/protokollierung',
en: '/logging',
'pt-br': '/registro',
ru: '/logging',
},
configure: {
de: '/einstellungen',
en: '/configure',
'pt-br': '/configurar',
ru: '/configure',
},
},
detectBrowserLanguage: {
useCookie: true,
alwaysRedirect: true,
},
// debug: true,
langDir: 'lang',
defaultLocale: 'en',
experimental: { compilation: {
payloadExtraction: false, strictMessage: false,
}, },
}) },
vite: {
build: {
chunkSizeWarningLimit: 800000,
},
},
experimental: {
payloadExtraction: false,
},
compatibilityDate: '2024-07-10',
})

2847
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "ffplayout-frontend", "name": "ffplayout-frontend",
"version": "0.11.0", "version": "0.11.1",
"description": "Web GUI for ffplayout", "description": "Web GUI for ffplayout",
"author": "Jonathan Baecker", "author": "Jonathan Baecker",
"private": true, "private": true,
@ -23,11 +23,11 @@
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mpegts.js": "^1.7.3", "mpegts.js": "^1.7.3",
"nuxt": "3.12.2", "nuxt": "3.12.3",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"sortablejs-vue3": "^1.2.11", "sortablejs-vue3": "^1.2.11",
"splitpanes": "^3.1.5", "splitpanes": "^3.1.5",
"video.js": "^8.12.0" "video.js": "^8.16.1"
}, },
"devDependencies": { "devDependencies": {
"@nuxt/eslint": "^0.3.13", "@nuxt/eslint": "^0.3.13",
@ -39,7 +39,7 @@
"mini-svg-data-uri": "^1.4.4", "mini-svg-data-uri": "^1.4.4",
"postcss": "^8.4.39", "postcss": "^8.4.39",
"postcss-loader": "^8.1.1", "postcss-loader": "^8.1.1",
"sass": "^1.77.6", "sass": "^1.77.7",
"sass-loader": "^14.2.1", "sass-loader": "^14.2.1",
"vue": "^3.4.31", "vue": "^3.4.31",
"vue-router": "^4.4.0" "vue-router": "^4.4.0"