Skip to content

Open source personal finance application

fix(docs): add zod for @nuxt/content 3.14 collection schemas

Ilya Komichev8a32050a5d96
diff --git a/docs/package.json b/docs/package.json
index 5d946234..64f36a44 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -11,6 +11,8 @@
"@nuxt/icon": "2.2.1",
"better-sqlite3": "^12.5.0",
"docus": "latest",
- "nuxt": "^4.4.6"
+ "nuxt": "^4.4.6",
+ "zod": "^4.4.3",
+ "zod-to-json-schema": "^3.25.2"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 632e1a32..da4c3741 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -142,7 +142,7 @@ importers:
'@vueuse/nuxt':
specifier: ^14.2.1
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -163,7 +163,7 @@ importers:
version: 20.9.0
nuxt:
specifier: ^4.4.6
tailwind-merge:
specifier: ^3.5.0
version: 3.5.0
@@ -208,10 +208,16 @@ importers:
version: 12.9.0
docus:
specifier: latest
- version: 5.12.1(21d0cd13b545ac6d2d8fb9703105d939)
+ version: 5.12.1(41ef9c289f2f9287b1a4093a9ca29203)
nuxt:
specifier: ^4.4.6
+ zod:
+ specifier: ^4.4.3
+ version: 4.4.3
+ zod-to-json-schema:
+ specifier: ^3.25.2
+ version: 3.25.2([email protected])
packages:
@@ -10720,7 +10726,7 @@ snapshots:
dependencies:
'@babel/template': 7.28.6
'@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
transitivePeerDependencies:
- supports-color
@@ -10987,7 +10993,7 @@ snapshots:
'@babel/core': 7.29.0
'@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
'@babel/helper-plugin-utils': 7.28.6
- '@babel/helper-validator-identifier': 7.28.5
+ '@babel/helper-validator-identifier': 7.29.7
'@babel/traverse': 7.29.0
transitivePeerDependencies:
- supports-color
@@ -11239,7 +11245,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@babel/helper-plugin-utils': 7.28.6
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
esutils: 2.0.3
'@babel/[email protected]': {}
@@ -12669,7 +12675,7 @@ snapshots:
- vite
- vue
dependencies:
'@nuxt/kit': 4.4.6([email protected])
consola: 3.4.2
@@ -12682,7 +12688,7 @@ snapshots:
std-env: 3.10.0
ufo: 1.6.4
optionalDependencies:
transitivePeerDependencies:
- '@azure/app-configuration'
- '@azure/cosmos'
@@ -12833,7 +12839,7 @@ snapshots:
transitivePeerDependencies:
- magicast
dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/kit': 4.4.6([email protected])
@@ -12850,8 +12856,8 @@ snapshots:
impound: 1.1.5
klona: 2.0.6
mocked-exports: 0.1.1
nypm: 0.6.6
ohash: 2.0.11
pathe: 2.0.3
@@ -12903,7 +12909,7 @@ snapshots:
- uploadthing
- xml2js
dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/kit': 4.4.6([email protected])
@@ -12920,8 +12926,8 @@ snapshots:
impound: 1.1.5
klona: 2.0.6
mocked-exports: 0.1.1
nypm: 0.6.6
ohash: 2.0.11
pathe: 2.0.3
@@ -13234,7 +13240,7 @@ snapshots:
- vue
- yjs
- '@nuxt/[email protected](740892673408b0c7a3ac663dd1ebd591)':
dependencies:
'@nuxt/kit': 4.4.6([email protected])
'@rollup/plugin-replace': 6.0.3([email protected])
@@ -13252,7 +13258,7 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.2
mocked-exports: 0.1.1
nypm: 0.6.6
pathe: 2.0.3
pkg-types: 2.3.1
@@ -13268,7 +13274,6 @@ snapshots:
vue-bundle-renderer: 2.2.0
optionalDependencies:
'@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])
- rolldown: 1.0.0-rc.17
rollup-plugin-visualizer: 7.0.1([email protected])([email protected])
transitivePeerDependencies:
- '@biomejs/biome'
@@ -13295,7 +13300,7 @@ snapshots:
- vue-tsc
- yaml
+ '@nuxt/[email protected](c1c99901370bdc04e63895330140745e)':
dependencies:
'@nuxt/kit': 4.4.6([email protected])
'@rollup/plugin-replace': 6.0.3([email protected])
@@ -13313,7 +13318,7 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.2
mocked-exports: 0.1.1
nypm: 0.6.6
pathe: 2.0.3
pkg-types: 2.3.1
@@ -13329,6 +13334,7 @@ snapshots:
vue-bundle-renderer: 2.2.0
optionalDependencies:
'@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])
+ rolldown: 1.0.0-rc.17
rollup-plugin-visualizer: 7.0.1([email protected])([email protected])
transitivePeerDependencies:
- '@biomejs/biome'
@@ -13555,15 +13561,15 @@ snapshots:
- magicast
- supports-color
dependencies:
'@fingerprintjs/botd': 2.0.0
'@nuxt/kit': 4.4.6([email protected])
consola: 3.4.2
defu: 6.1.7
h3: 1.15.11
- nuxtseo-shared: 5.1.3(2cd25557be96e259b731c1a14e0c1808)
+ nuxtseo-shared: 5.1.3(9c9732b29f383723d9be0040658521fd)
pathe: 2.0.3
pkg-types: 2.3.1
ufo: 1.6.4
@@ -15736,7 +15742,7 @@ snapshots:
obug: 2.1.1
std-env: 4.1.0
tinyrainbow: 3.1.0
dependencies:
@@ -15774,7 +15780,6 @@ snapshots:
magic-string: 0.30.21
optionalDependencies:
- optional: true
'@vitest/[email protected]':
dependencies:
@@ -16110,13 +16115,13 @@ snapshots:
'@vueuse/[email protected]': {}
dependencies:
'@nuxt/kit': 4.4.4([email protected])
'@vueuse/core': 14.3.0([email protected]([email protected]))
'@vueuse/metadata': 14.3.0
local-pkg: 1.1.2
vue: 3.5.33([email protected])
transitivePeerDependencies:
- magicast
@@ -16835,7 +16840,7 @@ snapshots:
- [email protected](21d0cd13b545ac6d2d8fb9703105d939):
+ [email protected](41ef9c289f2f9287b1a4093a9ca29203):
dependencies:
'@ai-sdk/gateway': 3.0.127([email protected])
'@ai-sdk/mcp': 1.0.47([email protected])
@@ -16845,13 +16850,13 @@ snapshots:
'@iconify-json/simple-icons': 1.2.86
'@iconify-json/vscode-icons': 1.2.56
'@nuxt/content': 3.14.0([email protected])([email protected])
'@nuxt/kit': 4.4.8([email protected])
'@nuxtjs/mdc': 0.22.0([email protected])
'@shikijs/core': 4.2.0
'@shikijs/engine-javascript': 4.2.0
'@shikijs/langs': 4.2.0
@@ -16865,9 +16870,9 @@ snapshots:
exsolve: 1.0.8
git-url-parse: 16.1.0
nuxt-llms: 0.2.0([email protected])
- nuxt-og-image: 6.5.3(da3b79dd59c2f9395cb42edbdba8b890)
+ nuxt-og-image: 6.5.3(315edad5483a22e7d3ac74eee98eda96)
pathe: 2.0.3
pkg-types: 2.3.1
scule: 1.3.0
@@ -18557,7 +18562,7 @@ snapshots:
dependencies:
'@fastify/accept-negotiator': 2.0.1
citty: 0.1.6
@@ -19578,7 +19583,7 @@ snapshots:
dependencies:
'@cloudflare/kv-asset-handler': 0.4.2
'@rollup/plugin-alias': 6.0.0([email protected])
@@ -19683,7 +19688,7 @@ snapshots:
- supports-color
- uploadthing
dependencies:
'@cloudflare/kv-asset-handler': 0.4.2
'@rollup/plugin-alias': 6.0.0([email protected])
@@ -19788,112 +19793,6 @@ snapshots:
- supports-color
- uploadthing
- dependencies:
- '@cloudflare/kv-asset-handler': 0.4.2
- '@rollup/plugin-alias': 6.0.0([email protected])
- '@rollup/plugin-commonjs': 29.0.2([email protected])
- '@rollup/plugin-inject': 5.0.5([email protected])
- '@rollup/plugin-json': 6.1.0([email protected])
- '@rollup/plugin-node-resolve': 16.0.3([email protected])
- '@rollup/plugin-replace': 6.0.3([email protected])
- '@rollup/plugin-terser': 1.0.0([email protected])
- '@vercel/nft': 1.5.0([email protected])
- archiver: 7.0.1
- c12: 3.3.4([email protected])
- chokidar: 5.0.0
- citty: 0.2.2
- compatx: 0.2.0
- confbox: 0.2.4
- consola: 3.4.2
- cookie-es: 2.0.1
- croner: 10.0.1
- crossws: 0.3.5
- db0: 0.3.4([email protected])
- defu: 6.1.7
- destr: 2.0.5
- dot-prop: 10.1.0
- esbuild: 0.28.0
- escape-string-regexp: 5.0.0
- etag: 1.8.1
- exsolve: 1.0.8
- globby: 16.2.0
- gzip-size: 7.0.0
- h3: 1.15.11
- hookable: 5.5.3
- httpxy: 0.5.1
- ioredis: 5.10.1
- jiti: 2.7.0
- klona: 2.0.6
- knitwork: 1.3.0
- listhen: 1.10.0([email protected])
- magic-string: 0.30.21
- magicast: 0.5.3
- mime: 4.1.0
- mlly: 1.8.2
- node-fetch-native: 1.6.7
- node-mock-http: 1.0.4
- ofetch: 1.5.1
- ohash: 2.0.11
- pathe: 2.0.3
- perfect-debounce: 2.1.0
- pkg-types: 2.3.1
- pretty-bytes: 7.1.0
- radix3: 1.1.2
- rollup: 4.60.4
- rollup-plugin-visualizer: 7.0.1([email protected])([email protected])
- scule: 1.3.0
- semver: 7.8.0
- serve-placeholder: 2.0.2
- serve-static: 2.2.1
- source-map: 0.7.6
- std-env: 4.1.0
- ufo: 1.6.4
- ultrahtml: 1.6.0
- uncrypto: 0.1.3
- unctx: 2.5.0
- unenv: 2.0.0-rc.24
- unimport: 6.3.0([email protected])
- unplugin-utils: 0.3.1
- untyped: 2.0.0
- unwasm: 0.5.3
- youch: 4.1.1
- youch-core: 0.3.3
- transitivePeerDependencies:
- - '@azure/app-configuration'
- - '@azure/cosmos'
- - '@azure/data-tables'
- - '@azure/identity'
- - '@azure/keyvault-secrets'
- - '@azure/storage-blob'
- - '@capacitor/preferences'
- - '@deno/kv'
- - '@electric-sql/pglite'
- - '@libsql/client'
- - '@netlify/blobs'
- - '@planetscale/database'
- - '@upstash/redis'
- - '@vercel/blob'
- - '@vercel/functions'
- - '@vercel/kv'
- - aws4fetch
- - bare-abort-controller
- - bare-buffer
- - better-sqlite3
- - drizzle-orm
- - encoding
- - idb-keyval
- - mysql2
- - oxc-parser
- - react-native-b4a
- - rolldown
- - sqlite3
- - srvx
- - supports-color
- - uploadthing
- optional: true
-
dependencies:
semver: 7.8.1
@@ -19961,7 +19860,7 @@ snapshots:
transitivePeerDependencies:
- magicast
- [email protected](da3b79dd59c2f9395cb42edbdba8b890):
+ [email protected](315edad5483a22e7d3ac74eee98eda96):
dependencies:
'@clack/prompts': 1.5.1
'@nuxt/kit': 4.4.8([email protected])
@@ -19979,8 +19878,8 @@ snapshots:
magic-string: 0.30.21
magicast: 0.5.3
mocked-exports: 0.1.1
- nuxtseo-shared: 5.1.3(2cd25557be96e259b731c1a14e0c1808)
+ nuxtseo-shared: 5.1.3(9c9732b29f383723d9be0040658521fd)
nypm: 0.6.6
ofetch: 1.5.1
ohash: 2.0.11
@@ -20000,7 +19899,7 @@ snapshots:
optionalDependencies:
'@takumi-rs/core': 1.8.1
playwright-core: 1.59.1
sharp: 0.34.5
tailwindcss: 4.3.0
@@ -20024,12 +19923,12 @@ snapshots:
- magicast
- vue
dependencies:
'@nuxt/kit': 4.4.6([email protected])
h3: 1.15.11
- nuxtseo-shared: 5.1.3(2cd25557be96e259b731c1a14e0c1808)
+ nuxtseo-shared: 5.1.3(9c9732b29f383723d9be0040658521fd)
pathe: 2.0.3
pkg-types: 2.3.1
site-config-stack: 4.0.8([email protected]([email protected]))
@@ -20042,16 +19941,16 @@ snapshots:
- vue
- zod
dependencies:
'@dxup/nuxt': 0.4.1([email protected])([email protected])
'@nuxt/kit': 4.4.6([email protected])
'@nuxt/schema': 4.4.6
'@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
- '@nuxt/vite-builder': 4.4.6(740892673408b0c7a3ac663dd1ebd591)
+ '@nuxt/vite-builder': 4.4.6(c1c99901370bdc04e63895330140745e)
'@unhead/vue': 2.1.15([email protected]([email protected]))
'@vue/shared': 3.5.34
chokidar: 5.0.0
@@ -20172,16 +20071,16 @@ snapshots:
- xml2js
- yaml
dependencies:
'@dxup/nuxt': 0.4.1([email protected])([email protected])
'@nuxt/kit': 4.4.6([email protected])
'@nuxt/schema': 4.4.6
'@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
'@unhead/vue': 2.1.15([email protected]([email protected]))
'@vue/shared': 3.5.34
chokidar: 5.0.0
@@ -20302,7 +20201,7 @@ snapshots:
- xml2js
- yaml
- [email protected](2cd25557be96e259b731c1a14e0c1808):
+ [email protected](9c9732b29f383723d9be0040658521fd):
dependencies:
'@clack/prompts': 1.4.0
@@ -20311,7 +20210,7 @@ snapshots:
birpc: 4.0.0
consola: 3.4.2
defu: 6.1.7
ofetch: 1.5.1
pathe: 2.0.3
pkg-types: 2.3.1
@@ -20321,7 +20220,7 @@ snapshots:
ufo: 1.6.4
vue: 3.5.34([email protected])
optionalDependencies:
zod: 4.4.3
transitivePeerDependencies:
- magicast
@@ -22310,26 +22209,6 @@ snapshots:
oxc-parser: 0.131.0
rolldown: 1.0.0-rc.17
- dependencies:
- acorn: 8.16.0
- escape-string-regexp: 5.0.0
- estree-walker: 3.0.3
- local-pkg: 1.1.2
- magic-string: 0.30.21
- mlly: 1.8.2
- pathe: 2.0.3
- picomatch: 4.0.4
- pkg-types: 2.3.1
- scule: 1.3.0
- strip-literal: 3.1.0
- tinyglobby: 0.2.16
- unplugin: 3.0.0
- unplugin-utils: 0.3.1
- optionalDependencies:
- oxc-parser: 0.134.0
- optional: true
-
dependencies:
crypto-random-string: 2.0.0
@@ -22792,7 +22671,6 @@ snapshots:
happy-dom: 20.9.0
transitivePeerDependencies:
- msw
- optional: true