Skip to content

Commit

Permalink
chore(deps): bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerzl committed Sep 14, 2024
1 parent 156cbbc commit 2334eec
Show file tree
Hide file tree
Showing 4 changed files with 1,309 additions and 1,304 deletions.
8 changes: 5 additions & 3 deletions components/custom/Nav/user/User.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { useClerk, useUser } from 'vue-clerk'
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
import { Button } from '@/components/ui/button'
import {
Expand All @@ -11,6 +10,7 @@ import {
DropdownMenuSeparator,
DropdownMenuTrigger,
} from '@/components/ui/dropdown-menu'
import { useClerk, useUser } from 'vue-clerk'
const { user } = useUser()
Expand All @@ -31,8 +31,10 @@ function signOutHandler() {
<DropdownMenuTrigger as-child>
<Button class="relative h-8 w-8 rounded-full" variant="ghost">
<Avatar class="h-8 w-8">
<AvatarImage :src="String(user?.imageUrl!)" />
<AvatarFallback>C</AvatarFallback>
<AvatarImage v-if="user?.imageUrl" :src="String(user.imageUrl)" />
<AvatarFallback>
<Icon name="material-symbols:person-outline" size="1.5em" />
</AvatarFallback>
</Avatar>
</Button>
</DropdownMenuTrigger>
Expand Down
4 changes: 2 additions & 2 deletions middleware/auth.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useClerk, useClerkProvide } from 'vue-clerk'
import { until } from '@vueuse/core'
import { useClerk, useClerkProvider } from 'vue-clerk'

export default defineNuxtRouteMiddleware(async () => {
const nuxtApp = useNuxtApp()
const clerk = useClerk()
const { isClerkLoaded } = useClerkProvide()
const { isClerkLoaded } = useClerkProvider()

// On server, check if the user isn't authenticated
// and redirect to /sign-in.
Expand Down
61 changes: 30 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,62 +17,61 @@
},
"dependencies": {
"@changesets/cli": "^2.27.8",
"@clerk/clerk-sdk-node": "^5.0.26",
"@clerk/themes": "^2.1.19",
"@clerk/clerk-sdk-node": "^5.0.38",
"@clerk/themes": "^2.1.29",
"@nuxt/content": "^2.13.2",
"@radix-icons/vue": "^1.0.0",
"@sentry/nuxt": "^8.25.0",
"@tanstack/vue-table": "^8.20.4",
"@unovis/ts": "^1.4.3",
"@unovis/vue": "^1.4.3",
"@sentry/nuxt": "^8.30.0",
"@tanstack/vue-table": "^8.20.5",
"@unovis/ts": "^1.4.4",
"@unovis/vue": "^1.4.4",
"@vee-validate/zod": "^4.13.2",
"@vite-pwa/nuxt": "^0.8.1",
"@vueuse/core": "^10.11.1",
"@vite-pwa/nuxt": "^0.10.5",
"@vueuse/core": "^11.0.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"h3": "^1.12.0",
"h3-clerk": "^0.4.11",
"h3-clerk": "^0.4.12",
"iron-webcrypto": "^1.2.1",
"lucide-vue-next": "^0.395.0",
"radix-vue": "^1.9.3",
"sentry": "^0.1.2",
"tailwind-merge": "^2.4.0",
"lucide-vue-next": "^0.441.0",
"radix-vue": "^1.9.5",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"uncrypto": "^0.1.3",
"unstorage": "^1.10.2",
"unstorage": "^1.12.0",
"uuid": "^10.0.0",
"v-calendar": "^3.1.2",
"vaul-vue": "^0.2.0",
"vee-validate": "^4.13.2",
"vue-clerk": "^0.4.17",
"vue-clerk": "^0.6.9",
"zod": "^3.23.8"
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.0",
"@antfu/eslint-config": "^3.6.0",
"@changesets/changelog-github": "^0.5.0",
"@nuxt/fonts": "^0.7.1",
"@nuxt/image": "^1.7.0",
"@nuxt/fonts": "^0.8.0",
"@nuxt/image": "^1.8.0",
"@nuxtjs/google-fonts": "^3.2.0",
"@nuxtjs/tailwindcss": "^6.12.1",
"@prisma/client": "5.11.0",
"@prisma/client": "5.19.1",
"@rollup/plugin-wasm": "^6.2.2",
"@tailwindcss/typography": "^0.5.14",
"@tailwindcss/typography": "^0.5.15",
"@types/node-fetch": "^2.6.11",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.12",
"dayjs-nuxt": "^2.1.11",
"eslint": "^9.9.0",
"nuxt": "^3.12.4",
"nuxt-icon": "^0.6.10",
"nuxt-svgo": "^4.0.3",
"prisma": "5.11.0",
"eslint": "^9.10.0",
"nuxt": "^3.13.1",
"nuxt-icon": "1.0.0-beta.7",
"nuxt-svgo": "^4.0.5",
"prisma": "5.19.1",
"shadcn-nuxt": "^0.10.4",
"ts-node": "^10.9.2",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"vue": "^3.4.37",
"vue-router": "4.4.0",
"vue-tsc": "^2.0.29"
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vue": "^3.5.5",
"vue-router": "4.4.5",
"vue-tsc": "^2.1.6"
},
"overrides": {
"nitropack": "2.9.5"
Expand Down
Loading

0 comments on commit 2334eec

Please sign in to comment.