feat(nuxt): add layer meta and env overrides to config types (#20329)

This commit is contained in:
Daniel Roe 2023-04-29 23:51:28 +01:00 committed by GitHub
parent b2a1f9f339
commit 24cce84e4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import type { NuxtConfig } from 'nuxt/schema'
import type { DefineConfig, InputConfig, UserInputConfig, ConfigLayerMeta } from 'c12'
export { NuxtConfig } from 'nuxt/schema'
export declare function defineNuxtConfig(config: NuxtConfig): NuxtConfig
export declare const defineNuxtConfig: DefineConfig<NuxtConfig, ConfigLayerMeta>

View File

@ -61,6 +61,7 @@
"@unhead/ssr": "^1.1.26",
"@unhead/vue": "^1.1.26",
"@vue/shared": "^3.2.47",
"c12": "^1.3.0",
"chokidar": "^3.5.3",
"cookie-es": "^0.5.0",
"defu": "^6.1.2",

View File

@ -587,6 +587,9 @@ importers:
'@vue/shared':
specifier: ^3.2.47
version: 3.2.47
c12:
specifier: ^1.3.0
version: 1.4.1
chokidar:
specifier: ^3.5.3
version: 3.5.3