Skip to content

Commit 51dee73

Browse files
authored
fix: zod (#4)
1 parent 1628086 commit 51dee73

4 files changed

Lines changed: 7 additions & 37 deletions

File tree

packages/ui/nuxt.config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,13 @@ function resolvePath(path: string) {
1010
export default defineNuxtConfig({
1111
modules: [
1212
'@nuxt/ui',
13-
'nuxt-zod-i18n', // must be before i18n
1413
'@nuxtjs/i18n',
1514
'@nuxt/image',
1615
'@vueuse/nuxt',
1716
],
1817
experimental: {
1918
typedPages: true,
2019
},
21-
zodI18n: {
22-
localeCodesMapping: {
23-
'en-GB': 'en',
24-
'en-US': 'en',
25-
'ru-RU': 'ru',
26-
},
27-
},
2820
i18n: {
2921
langDir: 'locales',
3022
defaultLocale: 'ru',

packages/ui/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"@vueuse/integrations": "catalog:",
1616
"@vueuse/nuxt": "catalog:",
1717
"arktype": "catalog:",
18-
"nuxt-zod-i18n": "catalog:",
1918
"sortablejs": "catalog:",
2019
"zod": "catalog:"
2120
},

packages/ui/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"references": [
3+
{ "path": "./.nuxt/tsconfig.app.json" },
4+
{ "path": "./.nuxt/tsconfig.server.json" },
5+
{ "path": "./.nuxt/tsconfig.shared.json" },
6+
{ "path": "./.nuxt/tsconfig.node.json" }
7+
],
8+
"files": []
39
}

pnpm-lock.yaml

Lines changed: 0 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)