@nuxt/schema
Advanced tools
Comparing version 3.0.0-rc.9 to 3.0.0-rc.10
{ | ||
"name": "@nuxt/schema", | ||
"version": "3.0.0-rc.9", | ||
"version": "3.0.0-rc.10", | ||
"repository": "nuxt/framework", | ||
@@ -20,11 +20,12 @@ "license": "MIT", | ||
"unbuild": "latest", | ||
"untyped": "^0.4.7", | ||
"vite": "~3.0.9" | ||
"untyped": "^0.5.0", | ||
"vite": "~3.1.0" | ||
}, | ||
"dependencies": { | ||
"c12": "^0.2.10", | ||
"c12": "^0.2.12", | ||
"create-require": "^1.1.1", | ||
"defu": "^6.1.0", | ||
"jiti": "^1.14.0", | ||
"pathe": "^0.3.5", | ||
"jiti": "^1.15.0", | ||
"pathe": "^0.3.7", | ||
"pkg-types": "^0.3.5", | ||
"postcss-import-resolver": "^2.0.0", | ||
@@ -31,0 +32,0 @@ "scule": "^0.3.2", |
@@ -237,2 +237,3 @@ { | ||
"theme": null, | ||
"workspaceDir": "/<rootDir>", | ||
"test": false, | ||
@@ -329,17 +330,3 @@ "debug": false, | ||
"autoprefixer": {}, | ||
"cssnano": { | ||
"preset": [ | ||
"default", | ||
{ | ||
"minifyFontValues": { | ||
"$schema": { | ||
"title": "", | ||
"description": "", | ||
"tags": [] | ||
}, | ||
"removeQuotes": false | ||
} | ||
} | ||
] | ||
} | ||
"cssnano": true | ||
} | ||
@@ -355,3 +342,6 @@ }, | ||
"transpile": [], | ||
"cssSourceMap": true, | ||
"cssSourceMap": { | ||
"server": true, | ||
"client": false | ||
}, | ||
"extractCSS": false, | ||
@@ -365,3 +355,3 @@ "quiet": false, | ||
"standalone": false, | ||
"publicPath": "/_nuxt/", | ||
"publicPath": {}, | ||
"serverURLPolyfill": "url", | ||
@@ -460,17 +450,3 @@ "filenames": {}, | ||
"autoprefixer": {}, | ||
"cssnano": { | ||
"preset": [ | ||
"default", | ||
{ | ||
"minifyFontValues": { | ||
"$schema": { | ||
"title": "", | ||
"description": "", | ||
"tags": [] | ||
}, | ||
"removeQuotes": false | ||
} | ||
} | ||
] | ||
} | ||
"cssnano": true | ||
} | ||
@@ -602,17 +578,3 @@ }, | ||
"autoprefixer": {}, | ||
"cssnano": { | ||
"preset": [ | ||
"default", | ||
{ | ||
"minifyFontValues": { | ||
"$schema": { | ||
"title": "", | ||
"description": "", | ||
"tags": [] | ||
}, | ||
"removeQuotes": false | ||
} | ||
} | ||
] | ||
} | ||
"cssnano": true | ||
} | ||
@@ -629,3 +591,6 @@ }, | ||
}, | ||
"sourcemap": true, | ||
"sourcemap": { | ||
"server": true, | ||
"client": false | ||
}, | ||
"nitro": {}, | ||
@@ -638,5 +603,7 @@ "serverHandlers": [], | ||
"externalVue": true, | ||
"treeshakeClientOnly": false, | ||
"treeshakeClientOnly": true, | ||
"viteNode": true, | ||
"viteServerDynamicImports": true | ||
"viteServerDynamicImports": true, | ||
"inlineSSRStyles": true, | ||
"noScripts": false | ||
}, | ||
@@ -695,5 +662,5 @@ "builder": "@nuxt/vite-builder", | ||
"versionBase": "", | ||
"version": "1662201703" | ||
"version": "1663173094" | ||
} | ||
} | ||
} |
@@ -452,3 +452,3 @@ | ||
> Define the workspace directory of your application. | ||
> Define the root directory of your application. | ||
@@ -460,2 +460,13 @@ | ||
# `workspaceDir` | ||
- **Type**: `string` | ||
- **Default**: `"/<rootDir>"` | ||
> Define the workspace directory of your application. | ||
Often this is used when in a monorepo setup. Nuxt will attempt to detect your workspace directory automatically, but you can override it here. | ||
It is normally not needed to configure this option. | ||
# `srcDir` | ||
@@ -930,3 +941,6 @@ - **Type**: `string` | ||
### `cssnano` | ||
- **Type**: `boolean` | ||
- **Default**: `true` | ||
# `typescript` | ||
@@ -1466,2 +1480,5 @@ | ||
Each handler accepts the following options: - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of https://github.com/unjs/radix3. - method: The HTTP method of requests that should be handled. - middleware: Specifies whether it is a middleware handler. - lazy: Specifies whether to use lazy loading to import the handler. | ||
# `devServerHandlers` | ||
@@ -1499,3 +1516,3 @@ - **Type**: `NitropackNitroDevEventHandler[]` | ||
- **Type**: `boolean` | ||
- **Default**: `false` | ||
- **Default**: `true` | ||
@@ -1519,2 +1536,19 @@ > Tree shakes contents of client-only components from server bundle. | ||
## `inlineSSRStyles` | ||
- **Type**: `boolean | ((id?: string) => boolean)` | ||
- **Default**: `true` | ||
> Inline styles when rendering HTML (currently vite only). | ||
You can also pass a function that receives the path of a Vue component and returns a boolean indicating whether to inline the styles for that component. | ||
## `noScripts` | ||
- **Type**: `boolean` | ||
- **Default**: `false` | ||
> Turn off rendering of Nuxt scripts and JS resource hints. | ||
# `builder` | ||
@@ -1528,8 +1562,3 @@ - **Type**: `'vite' | 'webpack' | { bundle: (nuxt: SrcTypesNuxtNuxt) => Promise<void> }` | ||
# `sourcemap` | ||
- **Type**: `boolean` | ||
- **Default**: `true` | ||
> Whether to generate sourcemaps. | ||
# `build` | ||
@@ -1578,8 +1607,3 @@ | ||
## `cssSourceMap` | ||
- **Type**: `boolean` | ||
- **Default**: `true` | ||
> Enables CSS source map support (defaults to true in development) | ||
## `ssr` | ||
@@ -1617,4 +1641,4 @@ - **Type**: `any` | ||
## `publicPath` | ||
- **Type**: `string` | ||
- **Default**: `"/_nuxt/"` | ||
- **Type**: `any` | ||
- **Default**: `{}` | ||
@@ -2673,4 +2697,4 @@ > If you are uploading your dist files to a CDN, you can set the publicPath to your CDN. | ||
- **Type**: `string` | ||
- **Default**: `"1662201703"` | ||
- **Default**: `"1663173094"` | ||
> A unique string to uniquely identify payload versions (defaults to the current timestamp). |
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
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
503467
11
13886
+ Addedpkg-types@^0.3.5
Updatedc12@^0.2.12
Updatedjiti@^1.15.0
Updatedpathe@^0.3.7