@nuxt/schema
Advanced tools
Comparing version 3.6.2 to 3.6.3
{ | ||
"name": "@nuxt/schema", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"repository": "nuxt/nuxt", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"vue-loader": "17.2.2", | ||
"vue-router": "4.2.3", | ||
"vue-router": "4.2.4", | ||
"webpack": "5.88.1", | ||
@@ -47,0 +47,0 @@ "webpack-dev-middleware": "6.1.1" |
@@ -8,3 +8,3 @@ import type { ComponentsOptions } from '../src/types/components' | ||
import type { PluginVisualizerOptions } from 'rollup-plugin-visualizer' | ||
import type { TransformerOptions } from 'unctx' | ||
import type { TransformerOptions } from 'unctx/transform' | ||
import type { NuxtModule } from '../src/types/module' | ||
@@ -14,3 +14,3 @@ import type { NuxtHooks } from '../src/types/hooks' | ||
import type { RouterConfigSerializable } from '../src/types/router' | ||
import type { readPackageJSON } from 'pkg-types' | ||
import type { TSConfig } from 'pkg-types' | ||
import type { PluginOptions } from 'mini-css-extract-plugin' | ||
@@ -1079,2 +1079,13 @@ import type { LoaderOptions } from 'esbuild-loader' | ||
/** | ||
* This enables 'Bundler' module resolution mode for TypeScript, which is the recommended setting for frameworks like Nuxt and Vite. | ||
* | ||
* It improves type support when using modern libraries with `exports`. | ||
* This is only not enabled by default because it could be a breaking change for some projects. | ||
* See https://github.com/microsoft/TypeScript/pull/51669 | ||
* | ||
* @default false | ||
*/ | ||
typescriptBundlerResolution: boolean, | ||
/** | ||
* Whether or not to add a compatibility layer for modules, plugins or user code relying on the old `@vueuse/head` API. | ||
@@ -1346,3 +1357,3 @@ * | ||
*/ | ||
tsConfig: readPackageJSON, | ||
tsConfig: TSConfig, | ||
@@ -1349,0 +1360,0 @@ /** |
@@ -101,2 +101,3 @@ { | ||
"configSchema": true, | ||
"typescriptBundlerResolution": false, | ||
"polyfillVueUseHead": false, | ||
@@ -306,2 +307,12 @@ "respectNoSSRHeader": false, | ||
}, | ||
"typescript": { | ||
"tsConfig": { | ||
"compilerOptions": {} | ||
}, | ||
"strict": true, | ||
"builder": null, | ||
"includeWorkspace": false, | ||
"typeCheck": false, | ||
"shim": true | ||
}, | ||
"generate": { | ||
@@ -341,10 +352,2 @@ "routes": [], | ||
}, | ||
"typescript": { | ||
"strict": true, | ||
"builder": null, | ||
"includeWorkspace": false, | ||
"typeCheck": false, | ||
"tsConfig": {}, | ||
"shim": true | ||
}, | ||
"webpack": { | ||
@@ -351,0 +354,0 @@ "analyze": false, |
@@ -724,2 +724,14 @@ | ||
## `typescriptBundlerResolution` | ||
- **Type**: `boolean` | ||
- **Default**: `false` | ||
> This enables 'Bundler' module resolution mode for TypeScript, which is the recommended setting for frameworks like Nuxt and Vite. | ||
It improves type support when using modern libraries with `exports`. | ||
This is only not enabled by default because it could be a breaking change for some projects. | ||
See https://github.com/microsoft/TypeScript/pull/51669 | ||
## `polyfillVueUseHead` | ||
@@ -957,8 +969,3 @@ - **Type**: `boolean` | ||
## `tsConfig` | ||
- **Type**: `PkgTypesReadPackageJSON` | ||
- **Default**: `{}` | ||
> You can extend generated `.nuxt/tsconfig.json` using this option. | ||
## `shim` | ||
@@ -965,0 +972,0 @@ - **Type**: `boolean` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
359861
9983