Skip to content

Commit 671295a

Browse files
committedJul 15, 2024·
fix(types): generate
1 parent 250282c commit 671295a

File tree

5 files changed

+204
-236
lines changed

5 files changed

+204
-236
lines changed
 

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@
3030
"pre:release": "pnpm lint && release-it --preRelease"
3131
},
3232
"dependencies": {
33-
"@nuxt/kit": "^3.12.3",
3433
"@supabase/ssr": "^0.4.0",
35-
"@supabase/supabase-js": "^2.44.2",
34+
"@supabase/supabase-js": "^2.44.4",
3635
"defu": "^6.1.4",
3736
"pathe": "^1.1.2"
3837
},
3938
"devDependencies": {
4039
"@nuxt/eslint": "^0.3.13",
41-
"@nuxt/module-builder": "^0.8.1",
40+
"@nuxt/kit": "^3.12.3",
4241
"@nuxt/schema": "^3.12.3",
42+
"@nuxt/module-builder": "^0.8.1",
4343
"@release-it/conventional-changelog": "^8.0.1",
44-
"@types/node": "^20.14.9",
44+
"@types/node": "^20.14.10",
4545
"changelogen": "^0.5.5",
46-
"eslint": "^9.6.0",
46+
"eslint": "^9.7.0",
4747
"nuxt": "^3.12.3",
48-
"prettier": "^3.3.2",
49-
"release-it": "^17.4.1",
48+
"prettier": "^3.3.3",
49+
"release-it": "^17.6.0",
5050
"typescript": "^5.5.3"
5151
},
5252
"release-it": {

‎pnpm-lock.yaml

+194-223
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/runtime/plugins/auth-redirect.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { useSupabaseSession } from '../composables/useSupabaseSession'
21
import type { Ref } from '#imports'
3-
import { defineNuxtPlugin, addRouteMiddleware, defineNuxtRouteMiddleware, useCookie, useRuntimeConfig, navigateTo } from '#imports'
2+
import { defineNuxtPlugin, addRouteMiddleware, defineNuxtRouteMiddleware, useCookie, useRuntimeConfig, navigateTo, useSupabaseSession } from '#imports'
43
import type { RouteLocationNormalized } from '#vue-router'
54

65
export default defineNuxtPlugin({

‎src/runtime/plugins/supabase.client.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { createBrowserClient } from '@supabase/ssr'
22
import type { Session } from '@supabase/supabase-js'
3-
import { useSupabaseSession } from '../composables/useSupabaseSession'
4-
import { useSupabaseUser } from '../composables/useSupabaseUser'
5-
import { defineNuxtPlugin, useRuntimeConfig } from '#imports'
3+
import { defineNuxtPlugin, useRuntimeConfig, useSupabaseSession, useSupabaseUser } from '#imports'
64

75
export default defineNuxtPlugin({
86
name: 'supabase',

‎tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "./.nuxt/tsconfig.json",
33
"compilerOptions": {
44
"strictNullChecks": false,
5-
"declaration": false
5+
"baseUrl": "src"
66
}
77
}
88

0 commit comments

Comments
 (0)
Please sign in to comment.