@nuxt/schema
Advanced tools
Comparing version 3.4.1 to 3.4.2
{ | ||
"name": "@nuxt/schema", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"repository": "nuxt/nuxt", | ||
@@ -21,22 +21,23 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/lodash.template": "^4.5.1", | ||
"@types/semver": "^7.3.13", | ||
"@unhead/schema": "^1.1.25", | ||
"@nuxt/telemetry": "^2.2.0", | ||
"@unhead/schema": "^1.1.26", | ||
"@vitejs/plugin-vue": "^4.1.0", | ||
"@vitejs/plugin-vue-jsx": "^3.0.1", | ||
"h3": "^1.6.4", | ||
"ignore": "^5.2.4", | ||
"nitropack": "^2.3.3", | ||
"unbuild": "latest", | ||
"unctx": "^2.2.0", | ||
"vite": "~4.2.1" | ||
"unctx": "^2.3.0", | ||
"vite": "~4.3.0", | ||
"vue": "3.2.47", | ||
"vue-bundle-renderer": "^1.0.3", | ||
"vue-router": "^4.1.6", | ||
"webpack": "^5.80.0" | ||
}, | ||
"dependencies": { | ||
"c12": "^1.2.0", | ||
"create-require": "^1.1.1", | ||
"defu": "^6.1.2", | ||
"hookable": "^5.5.3", | ||
"jiti": "^1.18.2", | ||
"pathe": "^1.1.0", | ||
"pkg-types": "^1.0.2", | ||
"postcss-import-resolver": "^2.0.0", | ||
"scule": "^1.0.0", | ||
"std-env": "^3.3.2", | ||
@@ -43,0 +44,0 @@ "ufo": "^1.1.1", |
import type { ComponentsOptions } from '../src/types/components' | ||
import type { ImportsOptions } from '../src/types/imports' | ||
import type { ModuleOptions } from '@nuxt/telemetry' | ||
import type { CompilerOptions } from '@vue/compiler-core' | ||
@@ -16,2 +17,3 @@ import type { NuxtAppConfig, RuntimeConfig, AppConfig, ViteConfig } from '../src/types/config' | ||
import type { Configuration, WebpackError } from 'webpack' | ||
import type { ProcessOptions } from 'postcss' | ||
import type { Options } from 'webpack-dev-middleware' | ||
@@ -51,3 +53,3 @@ import type { IncomingMessage, ServerResponse } from 'http' | ||
*/ | ||
telemetry: boolean, | ||
telemetry: ModuleOptions, | ||
@@ -688,3 +690,3 @@ /** | ||
* | ||
* @default ["**\/*.stories.{js,ts,jsx,tsx}","**\/*.{spec,test}.{js,ts,jsx,tsx}","**\/*.d.ts",".output","**\/-*.*"] | ||
* @default ["**\/*.stories.{js,ts,jsx,tsx}","**\/*.{spec,test}.{js,ts,jsx,tsx}","**\/*.d.ts",".output",".git","**\/-*.*"] | ||
*/ | ||
@@ -1008,2 +1010,17 @@ ignore: Array<string>, | ||
localLayerAliases: boolean, | ||
/** | ||
* Set an alternative watcher that will be used as the watching service for Nuxt. | ||
* | ||
* Nuxt uses 'chokidar' by default, but by setting this to `parcel` it will use `@parcel/watcher` instead. This may improve performance in large projects or on Windows platforms. | ||
* | ||
* @default "chokidar" | ||
* | ||
* @see https://github.com/paulmillr/chokidar | ||
* | ||
* @see https://github.com/parcel-bundler/watcher | ||
* | ||
* @default chokidar | ||
*/ | ||
watcher: 'chokidar' | 'parcel', | ||
}, | ||
@@ -1521,21 +1538,4 @@ | ||
*/ | ||
postcss: { | ||
execute: any, | ||
postcss: { execute?: boolean, postcssOptions: ProcessOptions, sourceMap?: boolean, implementation?: any }, | ||
postcssOptions: { | ||
config: any, | ||
plugins: { | ||
[key: string]: any | ||
}, | ||
}, | ||
sourceMap: any, | ||
implementation: any, | ||
/** @default "" */ | ||
order: string, | ||
}, | ||
/** | ||
@@ -1542,0 +1542,0 @@ * See [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) for available options. |
@@ -70,2 +70,3 @@ { | ||
}, | ||
"telemetry": {}, | ||
"devtools": false, | ||
@@ -233,2 +234,3 @@ "vue": { | ||
".output", | ||
".git", | ||
"**/-*.*" | ||
@@ -283,3 +285,4 @@ ], | ||
"respectNoSSRHeader": false, | ||
"localLayerAliases": true | ||
"localLayerAliases": true, | ||
"watcher": "chokidar" | ||
}, | ||
@@ -414,4 +417,3 @@ "generate": { | ||
} | ||
}, | ||
"order": "" | ||
} | ||
}, | ||
@@ -418,0 +420,0 @@ "devMiddleware": { |
@@ -27,4 +27,4 @@ | ||
# `telemetry` | ||
- **Type**: `boolean` | ||
- **Default**: `undefined` | ||
- **Type**: `@nuxtTelemetryModuleOptions` | ||
- **Default**: `{}` | ||
@@ -456,3 +456,3 @@ > Manually disable nuxt telemetry. | ||
- **Type**: `array` | ||
- **Default**: `["**/*.stories.{js,ts,jsx,tsx}","**/*.{spec,test}.{js,ts,jsx,tsx}","**/*.d.ts",".output","**/-*.*"]` | ||
- **Default**: `["**/*.stories.{js,ts,jsx,tsx}","**/*.{spec,test}.{js,ts,jsx,tsx}","**/*.d.ts",".output",".git","**/-*.*"]` | ||
@@ -714,2 +714,12 @@ > More customizable than `ignorePrefix`: all files matching glob patterns specified inside the `ignore` array will be ignored in building. | ||
## `watcher` | ||
- **Type**: `'chokidar' | 'parcel'` | ||
- **Default**: `"chokidar"` | ||
> Set an alternative watcher that will be used as the watching service for Nuxt. | ||
Nuxt uses 'chokidar' by default, but by setting this to `parcel` it will use `@parcel/watcher` instead. This may improve performance in large projects or on Windows platforms. | ||
# `generate` | ||
@@ -1328,7 +1338,2 @@ | ||
### `execute` | ||
- **Type**: `undefined` | ||
- **Default**: `undefined` | ||
### `postcssOptions` | ||
@@ -1343,17 +1348,2 @@ | ||
### `sourceMap` | ||
- **Type**: `undefined` | ||
- **Default**: `undefined` | ||
### `implementation` | ||
- **Type**: `undefined` | ||
- **Default**: `undefined` | ||
### `order` | ||
- **Type**: `string` | ||
- **Default**: `""` | ||
## `devMiddleware` | ||
@@ -1360,0 +1350,0 @@ |
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
326467
9
9158
14
- Removedc12@^1.2.0
- Removedcreate-require@^1.1.1
- Removedjiti@^1.18.2
- Removedscule@^1.0.0
- Removedanymatch@3.1.3(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedc12@1.11.2(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedchownr@2.0.0(transitive)
- Removedcitty@0.1.6(transitive)
- Removedconsola@3.2.3(transitive)
- Removedcreate-require@1.1.1(transitive)
- Removedcross-spawn@7.0.3(transitive)
- Removeddestr@2.0.3(transitive)
- Removeddotenv@16.4.5(transitive)
- Removedexeca@8.0.1(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedget-stream@8.0.1(transitive)
- Removedgiget@1.2.3(transitive)
- Removedhuman-signals@5.0.0(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-stream@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmimic-fn@4.0.0(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removednode-fetch-native@1.6.4(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removednpm-run-path@5.3.0(transitive)
- Removednypm@0.3.11(transitive)
- Removedohash@1.1.4(transitive)
- Removedonetime@6.0.0(transitive)
- Removedpath-key@3.1.14.0.0(transitive)
- Removedperfect-debounce@1.0.0(transitive)
- Removedrc9@2.1.2(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@4.1.0(transitive)
- Removedstrip-final-newline@3.0.0(transitive)
- Removedtar@6.2.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedyallist@4.0.0(transitive)