fix: use named export from defu in all places (#18624)

This commit is contained in:
Daniel Roe 2023-01-30 04:09:48 -08:00 committed by GitHub
parent d83dc797af
commit 5037dd6876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
import { promises as fsp } from 'node:fs'
import { isAbsolute, join, relative, resolve } from 'pathe'
import type { Nuxt, TSReference } from '@nuxt/schema'
import defu from 'defu'
import { defu } from 'defu'
import type { TSConfig } from 'pkg-types'
import { getModulePaths, getNearestPackage } from './cjs'

View File

@ -1,6 +1,6 @@
import { promises as fsp } from 'node:fs'
import { dirname, resolve, join } from 'pathe'
import defu from 'defu'
import { defu } from 'defu'
import type { Nuxt, NuxtApp, NuxtPlugin, NuxtTemplate, ResolvedNuxtTemplate } from '@nuxt/schema'
import { findPath, resolveFiles, normalizePlugin, normalizeTemplate, compileTemplate, templateUtils, tryResolveModule, resolvePath, resolveAlias } from '@nuxt/kit'

View File

@ -5,7 +5,7 @@ import type { NitroConfig, Nitro } from 'nitropack'
import type { Nuxt } from '@nuxt/schema'
import { logger, resolvePath } from '@nuxt/kit'
import escapeRE from 'escape-string-regexp'
import defu from 'defu'
import { defu } from 'defu'
import fsExtra from 'fs-extra'
import { dynamicEventHandler } from 'h3'
import type { Plugin } from 'rollup'

View File

@ -1,5 +1,5 @@
import { defineUntypedSchema } from 'untyped'
import defu from 'defu'
import { defu } from 'defu'
import type { AppHeadMetaObject } from '../types/meta'
export default defineUntypedSchema({

View File

@ -1,5 +1,5 @@
import { defineUntypedSchema } from 'untyped'
import defu from 'defu'
import { defu } from 'defu'
import { join } from 'pathe'
export default defineUntypedSchema({

View File

@ -1,7 +1,7 @@
import { defineUntypedSchema } from 'untyped'
import { join, resolve } from 'pathe'
import { isDebug, isDevelopment } from 'std-env'
import defu from 'defu'
import { defu } from 'defu'
import { findWorkspaceDir } from 'pkg-types'
import type { RuntimeConfig } from '../types/config'

View File

@ -1,4 +1,4 @@
import defu from 'defu'
import { defu } from 'defu'
import createResolver from 'postcss-import-resolver'
import { defineUntypedSchema } from 'untyped'

View File

@ -1,5 +1,5 @@
import { resolve } from 'node:path'
import defu from 'defu'
import { defu } from 'defu'
import type { TestContext, TestOptions, TestRunner } from './types'
let currentContext: TestContext | undefined

View File

@ -7,7 +7,7 @@ import type { ServerOptions } from 'vite'
import { logger } from '@nuxt/kit'
import { getPort } from 'get-port-please'
import { joinURL, withoutLeadingSlash } from 'ufo'
import defu from 'defu'
import { defu } from 'defu'
import type { OutputOptions } from 'rollup'
import { defineEventHandler } from 'h3'
import { cacheDirPlugin } from './plugins/cache-dir'