7383 Commits

Author SHA1 Message Date
Valentyne Stigloher
71a562bba9 (nuxt) do not use import.meta.url directly to reference other files as this breaks in Nitro, use current working directory as convention 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8213eb38c7 (nuxt) import dynamic components
https://nuxt.com/docs/guide/directory-structure/components#dynamic-components
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
3b79888d1b (nuxt) replace process.env.JSONS with dynamic import 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8b58541079 (nuxt) replace process.env replacement with runtimeConfig.public 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
736ee49a3a (vue) define explicit emits on components
https://v3-migration.vuejs.org/breaking-changes/emits-option.html
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6735f1f318 (vue) refactor DialogueBox interface to a composable and remove it from default.vue 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
4fff61d857 (vue) migrate v-model on custom components via model → modelValue and @input → @update:modelValue
https://v3-migration.vuejs.org/breaking-changes/v-model.html
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
3027ec8f11 (vue) upgrade vuedraggable 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
0915a72f1d (vue) replace vue-lazy-hydration with vue3-lazy-hydration 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
4e9cd69ff8 (vue) replace vuejs-datepicker with @vuepic/vue-datepicker 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
ec73f288dd (nuxt) replace $axios with useFetch, useAsyncData or $fetch
https://nuxt.com/docs/getting-started/data-fetching
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
f98fb55c4f (vue) replace $eventHub with state management
https://v3-migration.vuejs.org/breaking-changes/events-api.html
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
f34ce40549 (nuxt) replace $cookies with useCookie 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
084df0fdf1 (vue) replace process.env.LOGO with raw import 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
f8aa916f85 (refactor) replace createRequire with import assertions 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
ec11ef5285 (vue) use argument instead of this in prop default factories
https://v3-migration.vuejs.org/breaking-changes/props-default-this.html
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
30c27846ea (nuxt) move head information from nuxt.config.ts to app.vue to have better support for devtools displaying them 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
4d2d031bef (nuxt) replace head with useHead
https://nuxt.com/docs/migration/meta
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
8d1ac726f4 (nuxt) use <slot> instead of <Nuxt> in layouts
https://nuxt.com/docs/migration/pages-and-layouts
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
0aa67d76c3 (gitignore) add .output 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
d059994863 (vue) convert vue mixins to composables 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
1f953117fa (refactor) migrate from vuex to pinia 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
a99199f322 (nuxt) integrate express as server handler while preventing Nuxt from scanning server directory 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
346b55fa9e (pnpm) patch nepali-calendar-js as 1.0.4 defines variables globally which is not compatible with Vite 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
481a395f30 (nuxt) replace Webpack with Vite 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
6090078689 (nuxt) use useConfig composable instead of $config global as this can only be controlled via runtimeConfig and is better protected than in Nuxt 2 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
674a63caec (nuxt) enable devtools 2024-09-11 21:29:23 +02:00
Valentyne Stigloher
52895b9149 (vue) import h() instead of using it as parameter
https://v3-migration.vuejs.org/breaking-changes/render-function-api.html
2024-09-11 21:29:23 +02:00
Valentyne Stigloher
c1faf15117 (vue) call members of $slots
https://v3-migration.vuejs.org/breaking-changes/slots-unification.html
2024-09-11 21:29:23 +02:00
Valentyne Stigloher
c9103cdb45 (make)(pnpm)(ci) adjust script calls
as Nuxt builds a server bundle which does not read .env, run-wrapper.sh has a `start` subcommand to read from .env and start the bundle
2024-09-11 21:29:23 +02:00
Valentyne Stigloher
23cf4e51e0 (lint) improve rules 2024-09-11 21:29:23 +02:00
Valentyne Stigloher
f5a763391b (lint) use vue 3 rules 2024-09-11 21:29:23 +02:00
Valentyne Stigloher
75e76025eb (vue) migrate component from Vue.extend to defineComponent 2024-09-11 21:29:22 +02:00
Valentyne Stigloher
f7e4115f40 (vue) remove .native modifier
https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
2024-09-11 21:29:22 +02:00
Valentyne Stigloher
d7ead48168 (vue) rename destroyed to unmounted and beforeDestroy to beforeUnmount
https://v3-migration.vuejs.org/breaking-changes/#other-minor-changes
2024-09-11 21:29:22 +02:00
Valentyne Stigloher
348402b4a6 (nuxt) rename static directory to public 2024-09-11 21:29:22 +02:00
Valentyne Stigloher
82051afc2f (nuxt) migrate plugins 2024-09-11 21:29:21 +02:00
Valentyne Stigloher
e08e994d98 (ts) simplify tsconfig.json 2024-09-11 21:28:41 +02:00
Valentyne Stigloher
5db6b0fb26 (nuxt) upgrade nuxt.config.ts to nuxt 3
https://nuxt.com/docs/migration/configuration
2024-09-11 21:28:41 +02:00
Valentyne Stigloher
a5bd0e0d57 (nuxt) upgrade dependencies to nuxt 3 2024-09-11 21:28:41 +02:00
Andrea Vos
5bf053c8b2 fix types 2024-09-11 17:48:40 +02:00
Andrea Vos
5317425bd4 (ru)(trans) by @MixieL 2024-09-11 17:32:58 +02:00
Andrea Vos
f5dc93172a Merge remote-tracking branch 'origin/main' 2024-09-10 12:31:40 +02:00
Valentyne Stigloher
18f86997fb (profile) fix adding and removing to personal calendar (type error was hidden because Vue 2 does not support TypeScript inside <template>) 2024-09-09 19:34:02 +02:00
Andrea Vos
52b86eb385 (lint) 2024-09-09 13:21:21 +02:00
Andrea Vos
9598d1882a (bug) fix jumping ad 2024-09-09 09:37:27 +02:00
Andrea Vos
d63819c0cc (bug) fix jumping ad 2024-09-09 09:28:43 +02:00
Andrea Vos
8653e6cb7d Merge branch 'persistent-form' into 'main'
#309 save forms in localstorage in case server goes down / browser closes

See merge request PronounsPage/PronounsPage!512
2024-09-08 13:47:00 +00:00
Andrea Vos
c70f903996 #309 PR feedback 2024-09-08 15:34:41 +02:00
Andrea Vos
5d0a26c81c Merge branch 'refs/heads/regulaminy-osobatywy' 2024-09-08 15:26:52 +02:00