Skip to content

Commit 1628086

Browse files
authored
chore: update nuxt to version 4 (#3)
* chore: update nuxt to version 4 * chore: types moved to shared
1 parent 60b40a8 commit 1628086

37 files changed

Lines changed: 1709 additions & 1990 deletions

apps/geo-vault/nuxt.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
export default defineNuxtConfig({
22
modules: ['nuxt-auth-utils'],
3-
future: {
4-
compatibilityVersion: 4,
5-
},
63
devtools: {
74
componentInspector: false,
85
},
File renamed without changes.

apps/geo-vault/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
}

apps/web-app/app/components/Navigation.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ const menuItems = computed(() => [
7474
active: route.path.startsWith('/kitchen'),
7575
badge: kitchenStore.kitchens.length,
7676
},
77+
{
78+
label: t('app.menu.our-partners'),
79+
to: '/partner',
80+
icon: 'i-lucide-handshake',
81+
active: route.path.startsWith('/partner'),
82+
badge: partnerStore.partners.length,
83+
},
7784
{
7885
label: 'Отзывы клиентов',
7986
icon: 'i-lucide-star',
@@ -82,13 +89,6 @@ const menuItems = computed(() => [
8289
},
8390
badge: 'Нисушка себе!',
8491
},
85-
{
86-
label: t('app.menu.our-partners'),
87-
to: '/partner',
88-
icon: 'i-lucide-handshake',
89-
active: route.path.startsWith('/partner'),
90-
badge: partnerStore.partners.length,
91-
},
9292
{
9393
label: t('app.menu.products'),
9494
to: '/product',

apps/web-app/app/components/PostImage.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
<script setup lang="ts">
2525
import type { MediaItem } from '@roll-stack/database'
26-
import type { MediaWithItems } from '~~/types'
2726
2827
const { media, lazy = true, size = 'md' } = defineProps<{
2928
media?: MediaWithItems | null

apps/web-app/app/components/ProductImage.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
<script setup lang="ts">
2828
import type { MediaItem } from '@roll-stack/database'
29-
import type { MediaWithItems } from '~~/types'
3029
3130
const { media, lazy = true, size = 'sm' } = defineProps<{
3231
media?: MediaWithItems | null

apps/web-app/app/components/ProductVariantCard.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
</template>
4242

4343
<script setup lang="ts">
44-
import type { ProductVariantWithData } from '~~/types'
4544
import { UBadge } from '#components'
4645
4746
defineProps<{ variant: ProductVariantWithData }>()

apps/web-app/app/pages/kitchen/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
<script setup lang="ts">
141141
import type { DropdownMenuItem, TableColumn } from '@nuxt/ui'
142142
import type { Kitchen } from '@roll-stack/database'
143-
import type { KitchenWithData } from '~~/types'
144143
import { getPaginationRowModel } from '@tanstack/table-core'
145144
import { upperFirst } from 'scule'
146145

apps/web-app/app/pages/print/[printId]/index.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@
8686
<script setup lang="ts">
8787
const { params } = useRoute('print-printId')
8888
89-
// const overlay = useOverlay()
90-
// const modalUploadProductImage = overlay.create(ModalUploadProductImage)
91-
9289
const printStore = usePrintStore()
9390
const print = computed(() => printStore.prints.find((p) => p.id === params.printId))
9491
if (!print.value) {

apps/web-app/app/pages/print/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
<script setup lang="ts">
150150
import type { DropdownMenuItem, TableColumn } from '@nuxt/ui'
151151
import type { Print } from '@roll-stack/database'
152-
import type { PrintWithData } from '~~/types'
153152
import { ModalCreatePrint } from '#components'
154153
import { getPaginationRowModel } from '@tanstack/table-core'
155154
import { upperFirst } from 'scule'

0 commit comments

Comments
 (0)