Merge pull request #26 from elfpie/feature/update-nuxt

Bump nuxt to RC9
This commit is contained in:
Robert Soriano
2022-09-08 08:11:24 -07:00
committed by GitHub
3 changed files with 624 additions and 503 deletions

View File

@@ -32,9 +32,9 @@
"prepare": "nuxi prepare playground"
},
"dependencies": {
"@nuxt/kit": "3.0.0-rc.8",
"@trpc/client": "^9.27.1",
"@trpc/server": "^9.27.1",
"@nuxt/kit": "3.0.0-rc.9",
"@trpc/client": "^9.27.2",
"@trpc/server": "^9.27.2",
"dedent": "^0.7.0",
"defu": "^6.0.0",
"h3": "^0.7.10",
@@ -49,7 +49,7 @@
"@types/dedent": "^0.7.0",
"bumpp": "^7.2.0",
"eslint": "^8.14.0",
"nuxt": "3.0.0-rc.8",
"nuxt": "3.0.0-rc.9",
"pnpm": "^7.5.0",
"trpc-nuxt": "workspace:*",
"zod": "^3.16.0"

1115
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ import { join, resolve } from 'pathe'
import { defu } from 'defu'
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 {
baseURL: string
@@ -32,7 +32,7 @@ export default defineNuxtModule<ModuleOptions>({
endpoint: options.endpoint,
})
addAutoImport([
addImports([
{ name: 'useClient', from: join(runtimeDir, 'client') },
{ name: 'useAsyncQuery', from: join(runtimeDir, 'client') },
{ name: 'useClientHeaders', from: join(runtimeDir, 'client') },