Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore(nuxt): update nitropack to 0.5.x #7141

Merged
merged 3 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
"escape-string-regexp": "^5.0.0",
"fs-extra": "^10.1.0",
"globby": "^13.1.2",
"h3": "^0.7.17",
"h3": "^0.7.19",
"hash-sum": "^2.0.0",
"hookable": "^5.2.2",
"knitwork": "^0.1.2",
"magic-string": "^0.26.3",
"mlly": "^0.5.14",
"nitropack": "^0.4.24",
"nitropack": "^0.5.0",
"nuxi": "3.0.0-rc.8",
"ohash": "^0.1.5",
"ohmyfetch": "^0.4.18",
Expand Down
1 change: 1 addition & 0 deletions packages/nuxt/src/core/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export async function initNitro (nuxt: Nuxt) {

// Setup handlers
const devMiddlewareHandler = dynamicEventHandler()
// @ts-ignore fix handler type in nitro to accept event handler
nitro.options.devHandlers.unshift({ handler: devMiddlewareHandler })
nitro.options.devHandlers.push(...devHandlers)
nitro.options.handlers.unshift({
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"externality": "^0.2.2",
"fs-extra": "^10.1.0",
"get-port-please": "^2.6.1",
"h3": "^0.7.17",
"h3": "^0.7.19",
"knitwork": "^0.1.2",
"magic-string": "^0.26.3",
"mlly": "^0.5.14",
Expand Down
Loading