mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-28 02:40:33 +01:00
Merge pull request #26 from elfpie/feature/update-nuxt
Bump nuxt to RC9
This commit is contained in:
@@ -32,9 +32,9 @@
|
|||||||
"prepare": "nuxi prepare playground"
|
"prepare": "nuxi prepare playground"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/kit": "3.0.0-rc.8",
|
"@nuxt/kit": "3.0.0-rc.9",
|
||||||
"@trpc/client": "^9.27.1",
|
"@trpc/client": "^9.27.2",
|
||||||
"@trpc/server": "^9.27.1",
|
"@trpc/server": "^9.27.2",
|
||||||
"dedent": "^0.7.0",
|
"dedent": "^0.7.0",
|
||||||
"defu": "^6.0.0",
|
"defu": "^6.0.0",
|
||||||
"h3": "^0.7.10",
|
"h3": "^0.7.10",
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
"@types/dedent": "^0.7.0",
|
"@types/dedent": "^0.7.0",
|
||||||
"bumpp": "^7.2.0",
|
"bumpp": "^7.2.0",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.14.0",
|
||||||
"nuxt": "3.0.0-rc.8",
|
"nuxt": "3.0.0-rc.9",
|
||||||
"pnpm": "^7.5.0",
|
"pnpm": "^7.5.0",
|
||||||
"trpc-nuxt": "workspace:*",
|
"trpc-nuxt": "workspace:*",
|
||||||
"zod": "^3.16.0"
|
"zod": "^3.16.0"
|
||||||
|
|||||||
1115
pnpm-lock.yaml
generated
1115
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@ import { join, resolve } from 'pathe'
|
|||||||
import { defu } from 'defu'
|
import { defu } from 'defu'
|
||||||
import dedent from 'dedent'
|
import dedent from 'dedent'
|
||||||
|
|
||||||
import { addAutoImport, addPlugin, addServerHandler, addTemplate, defineNuxtModule } from '@nuxt/kit'
|
import { addImports, addPlugin, addServerHandler, addTemplate, defineNuxtModule } from '@nuxt/kit'
|
||||||
|
|
||||||
export interface ModuleOptions {
|
export interface ModuleOptions {
|
||||||
baseURL: string
|
baseURL: string
|
||||||
@@ -32,7 +32,7 @@ export default defineNuxtModule<ModuleOptions>({
|
|||||||
endpoint: options.endpoint,
|
endpoint: options.endpoint,
|
||||||
})
|
})
|
||||||
|
|
||||||
addAutoImport([
|
addImports([
|
||||||
{ name: 'useClient', from: join(runtimeDir, 'client') },
|
{ name: 'useClient', from: join(runtimeDir, 'client') },
|
||||||
{ name: 'useAsyncQuery', from: join(runtimeDir, 'client') },
|
{ name: 'useAsyncQuery', from: join(runtimeDir, 'client') },
|
||||||
{ name: 'useClientHeaders', from: join(runtimeDir, 'client') },
|
{ name: 'useClientHeaders', from: join(runtimeDir, 'client') },
|
||||||
|
|||||||
Reference in New Issue
Block a user