Fixed typo
Some checks reported warnings
Build and Deploy / Deploy (push) Has been cancelled

This commit is contained in:
Xeovalyte 2023-09-09 11:32:43 +02:00
parent 9de6ab88e4
commit 5589049fbf
5 changed files with 7 additions and 140 deletions

View File

@ -9,13 +9,8 @@ export default defineNuxtConfig({
'nuxt-icon', 'nuxt-icon',
'@vueuse/nuxt', '@vueuse/nuxt',
'@nuxtjs/robots', '@nuxtjs/robots',
'@nuxtjs/plausible',
[ '@pinia/nuxt', { autoImports: [ 'defineStore' ]} ], [ '@pinia/nuxt', { autoImports: [ 'defineStore' ]} ],
], ],
plausible: {
domain: 'app.reddingsbrigadewaddinxveen.nl',
apiHost: 'https://plausible.xeovalyte.dev',
},
build: { build: {
transpile: ['vue-toastification'], transpile: ['vue-toastification'],
}, },
@ -31,7 +26,11 @@ export default defineNuxtConfig({
link: [ link: [
{ rel: 'manifest', href: '/manifest.json' }, { rel: 'manifest', href: '/manifest.json' },
{ rel: 'icon', href: '/favicon.ico', type: 'image/x-icon' } { rel: 'icon', href: '/favicon.ico', type: 'image/x-icon' }
] ],
script: [
{ src: 'https://umami.xeovalyte.dev/script.js', async: true, 'data-website-id': '59577dd0-b790-488c-af69-7f8d2cce0537' },
],
} }
}, },
runtimeConfig: { runtimeConfig: {

View File

@ -4,7 +4,6 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "frontend",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@capacitor/core": "^4.7.1", "@capacitor/core": "^4.7.1",
@ -24,7 +23,6 @@
}, },
"devDependencies": { "devDependencies": {
"@capacitor/cli": "^4.7.1", "@capacitor/cli": "^4.7.1",
"@nuxtjs/plausible": "^0.2.0",
"@nuxtjs/tailwindcss": "^6.6.0", "@nuxtjs/tailwindcss": "^6.6.0",
"@tailwindcss/forms": "^0.5.3", "@tailwindcss/forms": "^0.5.3",
"@vueuse/core": "^9.13.0", "@vueuse/core": "^9.13.0",
@ -2627,68 +2625,6 @@
"unplugin": "^1.3.1" "unplugin": "^1.3.1"
} }
}, },
"node_modules/@nuxtjs/plausible": {
"version": "0.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@nuxt/kit": "^3.0.0",
"defu": "^6.1.1",
"pathe": "^1.0.0",
"plausible-tracker": "^0.3.8"
}
},
"node_modules/@nuxtjs/plausible/node_modules/@nuxt/kit": {
"version": "3.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@nuxt/schema": "3.2.0",
"c12": "^1.1.0",
"consola": "^2.15.3",
"defu": "^6.1.2",
"globby": "^13.1.3",
"hash-sum": "^2.0.0",
"ignore": "^5.2.4",
"jiti": "^1.17.0",
"knitwork": "^1.0.0",
"lodash.template": "^4.5.0",
"mlly": "^1.1.0",
"pathe": "^1.1.0",
"pkg-types": "^1.0.1",
"scule": "^1.0.0",
"semver": "^7.3.8",
"unctx": "^2.1.1",
"unimport": "^2.2.4",
"untyped": "^1.2.2"
},
"engines": {
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@nuxtjs/plausible/node_modules/@nuxt/schema": {
"version": "3.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
"c12": "^1.1.0",
"create-require": "^1.1.1",
"defu": "^6.1.2",
"hookable": "^5.4.2",
"jiti": "^1.17.0",
"pathe": "^1.1.0",
"pkg-types": "^1.0.1",
"postcss-import-resolver": "^2.0.0",
"scule": "^1.0.0",
"std-env": "^3.3.2",
"ufo": "^1.0.1",
"unimport": "^2.2.4",
"untyped": "^1.2.2"
},
"engines": {
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@nuxtjs/robots": { "node_modules/@nuxtjs/robots": {
"version": "3.0.0", "version": "3.0.0",
"license": "MIT", "license": "MIT",
@ -9648,14 +9584,6 @@
"pathe": "^1.1.0" "pathe": "^1.1.0"
} }
}, },
"node_modules/plausible-tracker": {
"version": "0.3.8",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
}
},
"node_modules/plist": { "node_modules/plist": {
"version": "3.0.6", "version": "3.0.6",
"dev": true, "dev": true,
@ -14848,61 +14776,6 @@
} }
} }
}, },
"@nuxtjs/plausible": {
"version": "0.2.0",
"dev": true,
"requires": {
"@nuxt/kit": "^3.0.0",
"defu": "^6.1.1",
"pathe": "^1.0.0",
"plausible-tracker": "^0.3.8"
},
"dependencies": {
"@nuxt/kit": {
"version": "3.2.0",
"dev": true,
"requires": {
"@nuxt/schema": "3.2.0",
"c12": "^1.1.0",
"consola": "^2.15.3",
"defu": "^6.1.2",
"globby": "^13.1.3",
"hash-sum": "^2.0.0",
"ignore": "^5.2.4",
"jiti": "^1.17.0",
"knitwork": "^1.0.0",
"lodash.template": "^4.5.0",
"mlly": "^1.1.0",
"pathe": "^1.1.0",
"pkg-types": "^1.0.1",
"scule": "^1.0.0",
"semver": "^7.3.8",
"unctx": "^2.1.1",
"unimport": "^2.2.4",
"untyped": "^1.2.2"
}
},
"@nuxt/schema": {
"version": "3.2.0",
"dev": true,
"requires": {
"c12": "^1.1.0",
"create-require": "^1.1.1",
"defu": "^6.1.2",
"hookable": "^5.4.2",
"jiti": "^1.17.0",
"pathe": "^1.1.0",
"pkg-types": "^1.0.1",
"postcss-import-resolver": "^2.0.0",
"scule": "^1.0.0",
"std-env": "^3.3.2",
"ufo": "^1.0.1",
"unimport": "^2.2.4",
"untyped": "^1.2.2"
}
}
}
},
"@nuxtjs/robots": { "@nuxtjs/robots": {
"version": "3.0.0", "version": "3.0.0",
"requires": { "requires": {
@ -19906,10 +19779,6 @@
"pathe": "^1.1.0" "pathe": "^1.1.0"
} }
}, },
"plausible-tracker": {
"version": "0.3.8",
"dev": true
},
"plist": { "plist": {
"version": "3.0.6", "version": "3.0.6",
"dev": true, "dev": true,

View File

@ -12,7 +12,6 @@
}, },
"devDependencies": { "devDependencies": {
"@capacitor/cli": "^4.7.1", "@capacitor/cli": "^4.7.1",
"@nuxtjs/plausible": "^0.2.0",
"@nuxtjs/tailwindcss": "^6.6.0", "@nuxtjs/tailwindcss": "^6.6.0",
"@tailwindcss/forms": "^0.5.3", "@tailwindcss/forms": "^0.5.3",
"@vueuse/core": "^9.13.0", "@vueuse/core": "^9.13.0",

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="flex flex-col justify-center items-center px-2 overflow-hidden"> <div class="flex flex-col justify-center items-center px-2 overflow-hidden">
<h1 class="font-bold text-3xl text-center mt-6 mb-3">Reddingsbrigade Waddinxveen</h1> <h1 class="font-bold text-3xl text-center mt-6 mb-3">Reddingsbrigade Waddinxveen</h1>
<h2 class="text-xl text-center mb-12">{{ userStore.userPersons.map(a => a.fullName).join(', ')}}</h2> <h2 class="text-xl text-center mb-12">{{ userStore.userPersons.map(a => a.fullName).join(', ')}} {{ userStore.userPerons }}</h2>
<div class="container w-full max-w-md"> <div class="container w-full max-w-md">
<NuxtLink to="/news" class="rounded-t item-hover py-2 flex items-center"> <NuxtLink to="/news" class="rounded-t item-hover py-2 flex items-center">
<span>Nieuws</span> <span>Nieuws</span>

View File

@ -237,7 +237,7 @@ const updateUsers = async () => {
const batch = writeBatch(db); const batch = writeBatch(db);
usersStore.users.forEach(user => { usersStore.users.forEach(user => {
const lid = usersStore.ledenlijst.value.filter(a => a.email.includes(user.email)) const lid = usersStore.ledenlijst.filter(a => a.email.includes(user.email))
const newRelatiecodes = lid.map(a => a.relatiecode) const newRelatiecodes = lid.map(a => a.relatiecode)
user.allRelatiecodes = newRelatiecodes user.allRelatiecodes = newRelatiecodes