@nuxt/schema
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "@nuxt/schema", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"repository": "nuxt/nuxt", | ||
@@ -16,20 +16,21 @@ "license": "MIT", | ||
"@types/semver": "^7.3.13", | ||
"@unhead/schema": "^1.0.21", | ||
"@unhead/schema": "^1.0.22", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"nitropack": "^2.2.1", | ||
"@vitejs/plugin-vue-jsx": "^3.0.0", | ||
"nitropack": "^2.2.2", | ||
"unbuild": "latest", | ||
"vite": "~4.1.1" | ||
"vite": "~4.1.2" | ||
}, | ||
"dependencies": { | ||
"c12": "^1.1.0", | ||
"c12": "^1.1.2", | ||
"create-require": "^1.1.1", | ||
"defu": "^6.1.2", | ||
"hookable": "^5.4.2", | ||
"jiti": "^1.17.0", | ||
"jiti": "^1.17.1", | ||
"pathe": "^1.1.0", | ||
"pkg-types": "^1.0.1", | ||
"pkg-types": "^1.0.2", | ||
"postcss-import-resolver": "^2.0.0", | ||
"scule": "^1.0.0", | ||
"std-env": "^3.3.2", | ||
"ufo": "^1.0.1", | ||
"ufo": "^1.1.0", | ||
"unimport": "^2.2.4", | ||
@@ -39,5 +40,5 @@ "untyped": "^1.2.2" | ||
"engines": { | ||
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" | ||
"node": "^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" | ||
}, | ||
"scripts": {} | ||
} |
@@ -446,3 +446,3 @@ import type { ComponentsOptions } from '../src/types/components' | ||
/** | ||
* Whether to enable rendering of HTML - either dynamically (in server mode) or at generate time. If set to `false` and combined with `static` target, generated pages will simply display a loading screen with no content. | ||
* Whether to enable rendering of HTML - either dynamically (in server mode) or at generate time. If set to `false` generated pages will have no content. | ||
* | ||
@@ -739,3 +739,3 @@ * @default true | ||
* | ||
* @default "localhost" | ||
* @default "" | ||
*/ | ||
@@ -745,4 +745,6 @@ host: string, | ||
/** | ||
* Listening dev server url | ||
* Listening dev server URL. | ||
* | ||
* This should not be set directly as it will always be overridden by the dev server with the full URL (for module and internal use). | ||
* | ||
* @default "http://localhost:3000" | ||
@@ -789,2 +791,13 @@ */ | ||
/** | ||
* Emit `app:chunkError` hook when there is an error loading vite/webpack chunks. | ||
* | ||
* You can set this to `reload` to perform a hard reload of the new route when a chunk fails to load when navigating to a new route. | ||
* | ||
* @default false | ||
* | ||
* @see https://github.com/nuxt/nuxt/pull/19038 | ||
*/ | ||
emitRouteChunkError: boolean | 'reload', | ||
/** | ||
* Use vite-node for on-demand server chunk loading | ||
@@ -791,0 +804,0 @@ * |
@@ -29,2 +29,3 @@ { | ||
}, | ||
"vueJsx": {}, | ||
"optimizeDeps": { | ||
@@ -182,3 +183,3 @@ "exclude": [ | ||
"port": 3000, | ||
"host": "localhost", | ||
"host": "", | ||
"url": "http://localhost:3000" | ||
@@ -191,2 +192,3 @@ }, | ||
"treeshakeClientOnly": true, | ||
"emitRouteChunkError": false, | ||
"viteNode": true, | ||
@@ -193,0 +195,0 @@ "viteServerDynamicImports": true, |
@@ -295,3 +295,3 @@ | ||
> Whether to enable rendering of HTML - either dynamically (in server mode) or at generate time. If set to `false` and combined with `static` target, generated pages will simply display a loading screen with no content. | ||
> Whether to enable rendering of HTML - either dynamically (in server mode) or at generate time. If set to `false` generated pages will have no content. | ||
@@ -453,3 +453,3 @@ | ||
- **Type**: `string` | ||
- **Default**: `"localhost"` | ||
- **Default**: `""` | ||
@@ -463,5 +463,8 @@ > Dev server listening host | ||
> Listening dev server url | ||
> Listening dev server URL. | ||
This should not be set directly as it will always be overridden by the dev server with the full URL (for module and internal use). | ||
# `experimental` | ||
@@ -497,2 +500,12 @@ | ||
## `emitRouteChunkError` | ||
- **Type**: `boolean | 'reload'` | ||
- **Default**: `false` | ||
> Emit `app:chunkError` hook when there is an error loading vite/webpack chunks. | ||
You can set this to `reload` to perform a hard reload of the new route when a chunk fails to load when navigating to a new route. | ||
## `viteNode` | ||
@@ -800,2 +813,4 @@ - **Type**: `boolean` | ||
## `vueJsx` | ||
## `optimizeDeps` | ||
@@ -802,0 +817,0 @@ |
Sorry, the diff of this file is not supported yet
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
333639
9592
8
Updatedc12@^1.1.2
Updatedjiti@^1.17.1
Updatedpkg-types@^1.0.2
Updatedufo@^1.1.0