mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore(deps): update all non-major dependencies (main) (#26427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
22ada37b4f
commit
70a619f2ef
@ -75,7 +75,7 @@
|
|||||||
"nuxi": "3.11.1",
|
"nuxi": "3.11.1",
|
||||||
"nuxt": "workspace:*",
|
"nuxt": "workspace:*",
|
||||||
"nuxt-content-twoslash": "0.0.10",
|
"nuxt-content-twoslash": "0.0.10",
|
||||||
"ofetch": "1.3.3",
|
"ofetch": "1.3.4",
|
||||||
"pathe": "1.1.2",
|
"pathe": "1.1.2",
|
||||||
"playwright-core": "1.42.1",
|
"playwright-core": "1.42.1",
|
||||||
"rimraf": "5.0.5",
|
"rimraf": "5.0.5",
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
"nitropack": "^2.9.4",
|
"nitropack": "^2.9.4",
|
||||||
"nuxi": "^3.11.1",
|
"nuxi": "^3.11.1",
|
||||||
"nypm": "^0.3.8",
|
"nypm": "^0.3.8",
|
||||||
"ofetch": "^1.3.3",
|
"ofetch": "^1.3.4",
|
||||||
"ohash": "^1.1.3",
|
"ohash": "^1.1.3",
|
||||||
"pathe": "^1.1.2",
|
"pathe": "^1.1.2",
|
||||||
"perfect-debounce": "^1.0.0",
|
"perfect-debounce": "^1.0.0",
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
"h3": "1.11.1",
|
"h3": "1.11.1",
|
||||||
"ignore": "5.3.1",
|
"ignore": "5.3.1",
|
||||||
"nitropack": "2.9.4",
|
"nitropack": "2.9.4",
|
||||||
"ofetch": "1.3.3",
|
"ofetch": "1.3.4",
|
||||||
"unbuild": "latest",
|
"unbuild": "latest",
|
||||||
"unctx": "2.3.1",
|
"unctx": "2.3.1",
|
||||||
"unenv": "1.9.0",
|
"unenv": "1.9.0",
|
||||||
@ -58,7 +58,7 @@
|
|||||||
"vue-loader": "17.4.2",
|
"vue-loader": "17.4.2",
|
||||||
"vue-router": "4.3.0",
|
"vue-router": "4.3.0",
|
||||||
"webpack": "5.91.0",
|
"webpack": "5.91.0",
|
||||||
"webpack-dev-middleware": "7.1.0"
|
"webpack-dev-middleware": "7.1.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/ui-templates": "^1.3.1",
|
"@nuxt/ui-templates": "^1.3.1",
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
"vue-loader": "^17.4.2",
|
"vue-loader": "^17.4.2",
|
||||||
"webpack": "^5.91.0",
|
"webpack": "^5.91.0",
|
||||||
"webpack-bundle-analyzer": "^4.10.1",
|
"webpack-bundle-analyzer": "^4.10.1",
|
||||||
"webpack-dev-middleware": "^7.1.0",
|
"webpack-dev-middleware": "^7.1.1",
|
||||||
"webpack-hot-middleware": "^2.26.1",
|
"webpack-hot-middleware": "^2.26.1",
|
||||||
"webpack-virtual-modules": "^0.6.1",
|
"webpack-virtual-modules": "^0.6.1",
|
||||||
"webpackbar": "^6.0.1"
|
"webpackbar": "^6.0.1"
|
||||||
|
@ -2,7 +2,7 @@ import pify from 'pify'
|
|||||||
import webpack from 'webpack'
|
import webpack from 'webpack'
|
||||||
import type { NodeMiddleware } from 'h3'
|
import type { NodeMiddleware } from 'h3'
|
||||||
import { defineEventHandler, fromNodeMiddleware } from 'h3'
|
import { defineEventHandler, fromNodeMiddleware } from 'h3'
|
||||||
import type { OutputFileSystem } from 'webpack-dev-middleware'
|
import type { MultiWatching } from 'webpack-dev-middleware'
|
||||||
import webpackDevMiddleware from 'webpack-dev-middleware'
|
import webpackDevMiddleware from 'webpack-dev-middleware'
|
||||||
import webpackHotMiddleware from 'webpack-hot-middleware'
|
import webpackHotMiddleware from 'webpack-hot-middleware'
|
||||||
import type { Compiler, Stats, Watching } from 'webpack'
|
import type { Compiler, Stats, Watching } from 'webpack'
|
||||||
@ -61,7 +61,7 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
|
|||||||
|
|
||||||
// In dev, write files in memory FS
|
// In dev, write files in memory FS
|
||||||
if (nuxt.options.dev) {
|
if (nuxt.options.dev) {
|
||||||
compiler.outputFileSystem = mfs as unknown as OutputFileSystem
|
compiler.outputFileSystem = mfs! as unknown as Compiler['outputFileSystem']
|
||||||
}
|
}
|
||||||
|
|
||||||
return compiler
|
return compiler
|
||||||
@ -131,7 +131,7 @@ async function compile (compiler: Compiler) {
|
|||||||
|
|
||||||
// --- Dev Build ---
|
// --- Dev Build ---
|
||||||
if (nuxt.options.dev) {
|
if (nuxt.options.dev) {
|
||||||
const compilersWatching: Watching[] = []
|
const compilersWatching: Array<Watching | MultiWatching> = []
|
||||||
|
|
||||||
nuxt.hook('close', async () => {
|
nuxt.hook('close', async () => {
|
||||||
await Promise.all(compilersWatching.map(watching => pify(watching.close.bind(watching))()))
|
await Promise.all(compilersWatching.map(watching => pify(watching.close.bind(watching))()))
|
||||||
|
546
pnpm-lock.yaml
546
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -35,7 +35,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
|||||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"207k"')
|
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"207k"')
|
||||||
|
|
||||||
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
||||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1336k"')
|
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1337k"')
|
||||||
|
|
||||||
const packages = modules.files
|
const packages = modules.files
|
||||||
.filter(m => m.endsWith('package.json'))
|
.filter(m => m.endsWith('package.json'))
|
||||||
|
Loading…
Reference in New Issue
Block a user