Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore(deps): update @yeger/vue-masonry-wall to version 6.1.0 and refactor component registration

Timothy Yin77528e90c2f7
diff --git a/app/plugins/vue-masonry-wall.ts b/app/plugins/vue-masonry-wall.ts
index b594cc4f..d6ad7c1f 100644
--- a/app/plugins/vue-masonry-wall.ts
+++ b/app/plugins/vue-masonry-wall.ts
@@ -1,5 +1,5 @@
-import MasonryWall from '@yeger/vue-masonry-wall'
+import { MasonryWall } from '@yeger/vue-masonry-wall'
export default defineNuxtPlugin((nuxtApp) => {
- nuxtApp.vueApp.use(MasonryWall)
+ nuxtApp.vueApp.component('MasonryWall', MasonryWall)
})
diff --git a/package.json b/package.json
index fccedb12..f0f59888 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
"@unhead/vue": "^2.1.13",
"@vingle/bmp-js": "^0.2.5",
"@vueuse/nuxt": "14.2.1",
- "@yeger/vue-masonry-wall": "^5.1.5",
+ "@yeger/vue-masonry-wall": "^6.1.0",
"better-sqlite3": "^12.8.0",
"dayjs-nuxt": "2.1.11",
"drizzle-orm": "^0.45.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 97ecc580..0d2f5575 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25,25 +25,25 @@ importers:
'@nuxt/fonts':
specifier: 0.14.0
'@nuxt/icon':
specifier: 2.2.1
'@nuxt/image':
specifier: 1.11.0
'@nuxt/ui':
specifier: ^4.6.1
'@nuxthub/core':
specifier: 0.10.7
'@nuxtjs/i18n':
specifier: 10.2.4
'@pinia/nuxt':
specifier: ^0.11.3
'@tailwindcss/vite':
specifier: ^4.2.2
@@ -55,16 +55,16 @@ importers:
version: 0.2.5
'@vueuse/nuxt':
specifier: 14.2.1
- version: 14.2.1([email protected])([email protected](60aa6f558da747e1b135c692ceb917d5))([email protected]([email protected]))
+ version: 14.2.1([email protected])([email protected](bd5d5cd06c6fb6bc96820770350a40e4))([email protected]([email protected]))
'@yeger/vue-masonry-wall':
- specifier: ^5.1.5
+ specifier: ^6.1.0
better-sqlite3:
specifier: ^12.8.0
version: 12.8.0
dayjs-nuxt:
specifier: 2.1.11
- version: 2.1.11([email protected])
+ version: 2.1.11([email protected])
drizzle-orm:
specifier: ^0.45.2
version: 0.45.2(@cloudflare/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])
@@ -91,22 +91,22 @@ importers:
nuxt:
specifier: ^4.4.2
- version: 4.4.2(60aa6f558da747e1b135c692ceb917d5)
+ version: 4.4.2(bd5d5cd06c6fb6bc96820770350a40e4)
nuxt-auth-utils:
specifier: 0.5.29
- version: 0.5.29([email protected])
+ version: 0.5.29([email protected])
nuxt-gtag:
specifier: 4.1.0
- version: 4.1.0([email protected])
+ version: 4.1.0([email protected])
nuxt-mapbox:
specifier: 1.6.4
nuxt-maplibre:
specifier: ^1.2.2
nuxt-og-image:
specifier: 5.1.13
pinia:
specifier: ^3.0.4
@@ -179,7 +179,7 @@ importers:
version: 1.2.33
'@nuxt/test-utils':
specifier: 3.23.0
'@types/better-sqlite3':
specifier: ^7.6.13
version: 7.6.13
@@ -2535,14 +2535,12 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-5eax+FkxyCqAi3Rw0mrZFr7+KTt/XweFsbALR+B5ljWBLBl8nHe4ADrUnb1gLEfQCJLl+Ca5FIVD4xEt95AwIw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-58l8JaHxSGOmOMOG2CIrNsnkRJAj0YcHQCmvNACniOa/vd1iRHhlPajczegzS5jwMENlqgreyiTR9iNlke8qCw==}
@@ -4437,14 +4435,8 @@ packages:
resolution: {integrity: sha512-wz9ARkGnY25yToyaZaCz887aRxsIg96uI/waBLkV/Qfh9/VHP+C6uAFpOg8FPba0KMS2QYo2dhCOqPvCoDigyA==}
- '@yeger/[email protected]':
- resolution: {integrity: sha512-fxD0xY5dOy5G/c59gQ/IMbZl1MWw8tPK+moJu2WiUqpFrRQBz2U8bx95k0VSFMZqBCTEhXXomCi93C7FVRQB6A==}
-
- '@yeger/[email protected]':
- resolution: {integrity: sha512-mHiIQ/DeGUxhB3VKcvcv/lo1MLsJPjDA8RCQQl04mFtHerlNBPYHE0cBdzQOMSAdpOOO6QQ6vpSwQloYi8h6Mg==}
-
- '@yeger/[email protected]':
- resolution: {integrity: sha512-hxJBwg7fKLALKZuaHatBhbZtQu4FFPQkTSEPiSmhlHuAH2kUAsGEuQcsjvq3sc/xeF0CAwjz7T49QIxCgRBc1Q==}
+ '@yeger/[email protected]':
+ resolution: {integrity: sha512-7rDZyvCRPSIkR90v1lX0e611LjADrlQ5CqrbcJocw0NxBr36QbzNKz1naXE5EMbVpt6xJaN/CeOQUGXkwGIxng==}
peerDependencies:
vue: ^3.0.0
@@ -9630,10 +9622,10 @@ snapshots:
'@drizzle-team/[email protected]': {}
dependencies:
'@dxup/unimport': 0.1.2
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
chokidar: 5.0.0
pathe: 2.0.3
tinyglobby: 0.2.15
@@ -10454,11 +10446,11 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.19.1
dependencies:
'@bomb.sh/tab': 0.0.14([email protected])([email protected])
'@clack/prompts': 1.2.0
- c12: 3.3.4([email protected])
+ c12: 3.3.4([email protected])
citty: 0.2.2
confbox: 0.2.4
consola: 3.4.2
@@ -10502,6 +10494,14 @@ snapshots:
transitivePeerDependencies:
- magicast
+ dependencies:
+ '@nuxt/kit': 4.4.2([email protected])
+ execa: 8.0.1
+ transitivePeerDependencies:
+ - magicast
+
dependencies:
'@nuxt/kit': 4.4.2([email protected])
@@ -10604,7 +10604,7 @@ snapshots:
structured-clone-es: 2.0.0
tinyglobby: 0.2.15
which: 6.0.1
ws: 8.20.0
@@ -10614,10 +10614,10 @@ snapshots:
- utf-8-validate
- vue
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
consola: 3.4.2
defu: 6.1.4
@@ -10654,14 +10654,14 @@ snapshots:
- uploadthing
- vite
dependencies:
'@iconify/collections': 1.0.668
'@iconify/types': 2.0.0
'@iconify/utils': 3.1.0
'@iconify/vue': 5.0.0([email protected]([email protected]))
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
consola: 3.4.2
local-pkg: 1.1.2
mlly: 1.8.0
@@ -10675,9 +10675,9 @@ snapshots:
- vite
- vue
dependencies:
- '@nuxt/kit': 3.19.3([email protected])
+ '@nuxt/kit': 3.19.3([email protected])
consola: 3.4.2
defu: 6.1.4
h3: 1.15.4
@@ -10711,9 +10711,9 @@ snapshots:
- magicast
- uploadthing
dependencies:
- c12: 3.3.1([email protected])
+ c12: 3.3.1([email protected])
consola: 3.4.2
defu: 6.1.6
destr: 2.0.5
@@ -10765,40 +10765,41 @@ snapshots:
transitivePeerDependencies:
- magicast
dependencies:
- c12: 3.3.4([email protected])
+ c12: 3.3.1([email protected])
consola: 3.4.2
defu: 6.1.6
destr: 2.0.5
errx: 0.1.0
- exsolve: 1.0.8
+ exsolve: 1.0.7
ignore: 7.0.5
jiti: 2.6.1
klona: 2.0.6
- knitwork: 1.3.0
mlly: 1.8.2
ohash: 2.0.11
pathe: 2.0.3
pkg-types: 2.3.0
- rc9: 3.0.1
+ rc9: 2.1.2
scule: 1.3.0
semver: 7.7.4
+ std-env: 3.10.0
tinyglobby: 0.2.15
ufo: 1.6.3
- unctx: 2.5.0
+ unctx: 2.4.1
+ unimport: 5.5.0
untyped: 2.0.0
transitivePeerDependencies:
- magicast
dependencies:
- c12: 3.3.1([email protected])
+ c12: 3.3.4([email protected])
consola: 3.4.2
defu: 6.1.6
destr: 2.0.5
errx: 0.1.0
- exsolve: 1.0.7
+ exsolve: 1.0.8
ignore: 7.0.5
jiti: 2.6.1
klona: 2.0.6
@@ -10806,14 +10807,12 @@ snapshots:
ohash: 2.0.11
pathe: 2.0.3
pkg-types: 2.3.0
- rc9: 2.1.2
+ rc9: 3.0.1
scule: 1.3.0
semver: 7.7.4
- std-env: 3.10.0
tinyglobby: 0.2.15
ufo: 1.6.3
- unctx: 2.4.1
- unimport: 5.5.0
+ unctx: 2.5.0
untyped: 2.0.0
transitivePeerDependencies:
- magicast
@@ -10843,11 +10842,11 @@ snapshots:
transitivePeerDependencies:
- magicast
dependencies:
'@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])
'@nuxt/devalue': 2.0.2
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@unhead/vue': 2.1.13([email protected]([email protected]))
'@vue/shared': 3.5.31
consola: 3.4.2
@@ -10862,7 +10861,7 @@ snapshots:
klona: 2.0.6
mocked-exports: 0.1.1
- nuxt: 4.4.2(60aa6f558da747e1b135c692ceb917d5)
+ nuxt: 4.4.2(bd5d5cd06c6fb6bc96820770350a40e4)
nypm: 0.6.5
ohash: 2.0.11
pathe: 2.0.3
@@ -10919,20 +10918,20 @@ snapshots:
pkg-types: 2.3.0
std-env: 4.0.0
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
citty: 0.2.2
consola: 3.4.2
ofetch: 2.0.0-alpha.3
rc9: 3.0.1
std-env: 4.0.0
dependencies:
'@clack/prompts': 1.0.0-alpha.9
- '@nuxt/kit': 3.21.2([email protected])
- c12: 3.3.4([email protected])
+ '@nuxt/kit': 3.21.2([email protected])
+ c12: 3.3.4([email protected])
consola: 3.4.2
defu: 6.1.4
destr: 2.0.5
@@ -10956,7 +10955,7 @@ snapshots:
tinyexec: 1.0.4
ufo: 1.6.1
unplugin: 2.3.11
- vitest-environment-nuxt: 1.0.1([email protected])([email protected])([email protected])
+ vitest-environment-nuxt: 1.0.1([email protected])([email protected])([email protected])
vue: 3.5.32([email protected])
optionalDependencies:
playwright-core: 1.59.1
@@ -10965,17 +10964,17 @@ snapshots:
- magicast
- typescript
dependencies:
'@floating-ui/dom': 1.7.6
'@iconify/vue': 5.0.0([email protected]([email protected]))
'@internationalized/date': 3.12.0
'@internationalized/number': 3.6.5
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@nuxt/schema': 4.4.2
- '@nuxtjs/color-mode': 3.5.2([email protected])
+ '@nuxtjs/color-mode': 3.5.2([email protected])
'@standard-schema/spec': 1.1.0
'@tailwindcss/postcss': 4.2.2
@@ -11029,8 +11028,8 @@ snapshots:
typescript: 5.9.3
ufo: 1.6.3
unplugin: 3.0.0
vue-component-type-helpers: 3.2.6
optionalDependencies:
@@ -11079,9 +11078,9 @@ snapshots:
- vue
- yjs
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@rollup/plugin-replace': 6.0.3([email protected])
@@ -11097,7 +11096,7 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.2
mocked-exports: 0.1.1
- nuxt: 4.4.2(60aa6f558da747e1b135c692ceb917d5)
+ nuxt: 4.4.2(bd5d5cd06c6fb6bc96820770350a40e4)
nypm: 0.6.5
pathe: 2.0.3
pkg-types: 2.3.0
@@ -11140,12 +11139,12 @@ snapshots:
- vue-tsc
- yaml
dependencies:
'@cloudflare/workers-types': 4.20260402.1
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@uploadthing/mime-types': 0.3.6
- c12: 3.3.4([email protected])
+ c12: 3.3.4([email protected])
chokidar: 5.0.0
citty: 0.2.2
consola: 3.4.2
@@ -11202,16 +11201,16 @@ snapshots:
- uploadthing
- vue-tsc
dependencies:
- '@nuxt/kit': 3.21.2([email protected])
+ '@nuxt/kit': 3.21.2([email protected])
pathe: 1.1.2
pkg-types: 1.3.1
semver: 7.7.4
transitivePeerDependencies:
- magicast
dependencies:
'@intlify/core': 11.3.0
'@intlify/h3': 0.7.4
@@ -11219,7 +11218,7 @@ snapshots:
'@intlify/utils': 0.14.1
'@miyaneee/rollup-plugin-json5': 1.2.0([email protected])
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@rollup/plugin-yaml': 4.1.2([email protected])
'@vue/compiler-sfc': 3.5.22
defu: 6.1.4
@@ -11792,9 +11791,9 @@ snapshots:
'@photostructure/[email protected]': {}
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
transitivePeerDependencies:
- magicast
@@ -13439,13 +13438,13 @@ snapshots:
'@vueuse/[email protected]': {}
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@vueuse/core': 14.2.1([email protected]([email protected]))
'@vueuse/metadata': 14.2.1
local-pkg: 1.1.2
- nuxt: 4.4.2(60aa6f558da747e1b135c692ceb917d5)
+ nuxt: 4.4.2(bd5d5cd06c6fb6bc96820770350a40e4)
vue: 3.5.32([email protected])
transitivePeerDependencies:
- magicast
@@ -13467,16 +13466,9 @@ snapshots:
'@yeger/[email protected]': {}
- '@yeger/[email protected]': {}
-
- '@yeger/[email protected]':
dependencies:
'@yeger/debounce': 2.0.17
- '@yeger/vue-lib-adapter': 2.0.16
-
- dependencies:
- '@yeger/vue-masonry-wall-core': 5.0.22
vue: 3.5.32([email protected])
@@ -13714,7 +13706,7 @@ snapshots:
dependencies:
chokidar: 4.0.3
confbox: 0.2.2
@@ -13729,7 +13721,7 @@ snapshots:
pkg-types: 2.3.0
rc9: 2.1.2
optionalDependencies:
- magicast: 0.5.2
+ magicast: 0.3.5
dependencies:
@@ -14055,9 +14047,9 @@ snapshots:
dependencies:
- '@nuxt/kit': 3.19.3([email protected])
+ '@nuxt/kit': 3.19.3([email protected])
dayjs: 1.11.20
transitivePeerDependencies:
- magicast
@@ -15921,10 +15913,10 @@ snapshots:
dependencies:
boolbase: 1.0.0
dependencies:
'@adonisjs/hash': 9.1.1
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
defu: 6.1.4
h3: 1.15.4
hookable: 6.1.0
@@ -15941,20 +15933,20 @@ snapshots:
dependencies:
- '@nuxt/kit': 4.1.3([email protected])
+ '@nuxt/kit': 4.1.3([email protected])
defu: 6.1.4
pathe: 2.0.3
ufo: 1.6.1
transitivePeerDependencies:
- magicast
dependencies:
'@mapbox/mapbox-gl-geocoder': 5.1.2
- '@nuxt/kit': 4.1.3([email protected])
+ '@nuxt/kit': 4.1.3([email protected])
'@types/mapbox__mapbox-gl-geocoder': 5.1.0
'@vueuse/core': 13.9.0([email protected]([email protected]))
defu: 6.1.4
@@ -15975,10 +15967,10 @@ snapshots:
transitivePeerDependencies:
- vue
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@resvg/resvg-js': 2.6.2
'@resvg/resvg-wasm': 2.6.2
'@unhead/vue': 2.1.13([email protected]([email protected]))
@@ -15991,7 +15983,7 @@ snapshots:
image-size: 2.0.2
magic-string: 0.30.21
mocked-exports: 0.1.1
nypm: 0.6.5
ofetch: 1.5.1
ohash: 2.0.11
@@ -16016,9 +16008,9 @@ snapshots:
- vite
- vue
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
pkg-types: 2.3.0
site-config-stack: 3.2.11([email protected]([email protected]))
std-env: 3.10.0
@@ -16027,11 +16019,11 @@ snapshots:
- magicast
- vue
dependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
h3: 2.0.1-rc.20
- nuxt-site-config-kit: 3.2.11([email protected])([email protected]([email protected]))
+ nuxt-site-config-kit: 3.2.11([email protected])([email protected]([email protected]))
pathe: 2.0.3
pkg-types: 2.3.0
sirv: 3.0.2
@@ -16041,19 +16033,19 @@ snapshots:
- magicast
- vue
- [email protected](60aa6f558da747e1b135c692ceb917d5):
+ [email protected](bd5d5cd06c6fb6bc96820770350a40e4):
dependencies:
- '@dxup/nuxt': 0.4.0([email protected])([email protected])
+ '@dxup/nuxt': 0.4.0([email protected])([email protected])
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@nuxt/schema': 4.4.2
- '@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
+ '@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
'@unhead/vue': 2.1.13([email protected]([email protected]))
'@vue/shared': 3.5.31
- c12: 3.3.4([email protected])
+ c12: 3.3.4([email protected])
chokidar: 5.0.0
compatx: 0.2.0
consola: 3.4.2
@@ -17942,7 +17934,7 @@ snapshots:
dependencies:
local-pkg: 1.1.2
magic-string: 0.30.21
@@ -17951,7 +17943,7 @@ snapshots:
unplugin: 2.3.11
unplugin-utils: 0.3.1
optionalDependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
'@vueuse/core': 14.2.1([email protected]([email protected]))
@@ -17959,7 +17951,7 @@ snapshots:
pathe: 2.0.3
picomatch: 4.0.3
dependencies:
chokidar: 5.0.0
local-pkg: 1.1.2
@@ -17972,7 +17964,7 @@ snapshots:
unplugin-utils: 0.3.1
vue: 3.5.32([email protected])
optionalDependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
dependencies:
@@ -18164,7 +18156,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
ansis: 4.2.0
debug: 4.4.3
@@ -18177,7 +18169,7 @@ snapshots:
optionalDependencies:
- '@nuxt/kit': 4.4.2([email protected])
+ '@nuxt/kit': 4.4.2([email protected])
transitivePeerDependencies:
- supports-color
@@ -18288,9 +18280,9 @@ snapshots:
- universal-cookie
- yaml
dependencies:
transitivePeerDependencies:
- '@cucumber/cucumber'
- '@jest/globals'