6753 Commits

Author SHA1 Message Date
Valentyne Stigloher
1a2db6b665 (vue) replace client-only created with mounted as it causes hydration errors when setting data and it also matches unmounted 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
54041531c6 (vue) use shallowRef to fix error when using the Shopify API 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
5d9a63bc14 (nuxt) migrate loading template when SSR is disabled 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
c555a8468b (nuxt) load apple private key directly where needed 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6825cf7821 (nuxt) replace @privyid/nuxt-csrf with nuxt-csurf 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
012d854474 (nuxt) replace @nuxtjs/pwa with @vite-pwa/nuxt 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
26688dd7e9 (nuxt) configure postcss to enable RTL stylings 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
9639d2204e (vue) use :slotted to apply scoped styles to slotted elements
https://vuejs.org/api/sfc-css-features.html#slotted-selectors
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
d7ca6fe741 (vue) fixes around falltrough classes and deep selectors 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
1f6a48900b (test) migrate from jest to vitest for keep them running and more integrated testing 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
b0a2973d76 (nuxt) migrate server/no-ssr.ts 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
d977d67c58 (nuxt) migrate middleware/atom.js 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
433de45bfb (nuxt) use middleware for internal redirects 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
38a307d76b (nuxt) replace @nuxtjs/sentry with plugins
https://www.lichter.io/articles/nuxt3-sentry-recipe/
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
04aaaaec9c (nuxt) replace vue-plausible with @nuxtjs/plausible 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
09655afe0f (profile) <PersonalEventListInput> fix typo in v.month 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
5137411736 (vue) configure whitespace to 'preserve' to have the same behavior as in Vue 2, until we properly migrate this 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
c8cd9a5dd9 (vue) replace type ignores by proper type assertions 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
50fff25dcf (nuxt) move asyncData loading markdown into setup 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
595cca9a5d (nuxt) replace globals.config with import as the global value is not registered early enough 2024-09-12 10:11:25 +02:00
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