From 8ce9731f56256d3edcbcdb36f85a6fccfe32c3d5 Mon Sep 17 00:00:00 2001 From: rtritto Date: Sun, 19 Jan 2025 02:58:09 +0100 Subject: [PATCH] feat: move @universal-middleware/compress and @universal-middleware/core from deps to peer deps --- packages/vike-node/package.json | 6 ++++-- pnpm-lock.yaml | 12 ++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/vike-node/package.json b/packages/vike-node/package.json index 10955a1..391f776 100644 --- a/packages/vike-node/package.json +++ b/packages/vike-node/package.json @@ -79,8 +79,6 @@ "dependencies": { "@brillout/picocolors": "^1.0.14", "@nitedani/shrink-ray-current": "^4.3.0", - "@universal-middleware/core": "^0.3.3", - "@universal-middleware/compress": "^0.2.8", "@vercel/nft": "^0.26.5", "esbuild": "^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0", "resolve-from": "^5.0.0", @@ -88,12 +86,16 @@ "unenv-nightly": "2.0.0-20241015-162228-03257ee" }, "peerDependencies": { + "@universal-middleware/compress": "^0.2.8", + "@universal-middleware/core": "^0.3.3", "vike": "^0.4.213", "vite": ">=5.0.10" }, "devDependencies": { "@brillout/release-me": "^0.4.0", "@types/node": "^20.14.15", + "@universal-middleware/compress": "^0.2.8", + "@universal-middleware/core": "^0.3.3", "elysia": "^1.1.6", "fastify": "^4.28.1", "h3": "^1.12.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c1653f..fd15de7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -169,12 +169,6 @@ importers: '@nitedani/shrink-ray-current': specifier: ^4.3.0 version: 4.3.0 - '@universal-middleware/compress': - specifier: ^0.2.8 - version: 0.2.8 - '@universal-middleware/core': - specifier: ^0.3.3 - version: 0.3.3(elysia@1.2.0(@sinclair/typebox@0.34.13)(typescript@5.7.2))(fastify@4.29.0)(h3@1.13.0)(hono@4.6.14) '@vercel/nft': specifier: ^0.26.5 version: 0.26.5 @@ -197,6 +191,12 @@ importers: '@types/node': specifier: ^20.14.15 version: 20.17.10 + '@universal-middleware/compress': + specifier: ^0.2.8 + version: 0.2.8 + '@universal-middleware/core': + specifier: ^0.3.3 + version: 0.3.3(elysia@1.2.0(@sinclair/typebox@0.34.13)(typescript@5.7.2))(fastify@4.29.0)(h3@1.13.0)(hono@4.6.14) elysia: specifier: ^1.1.6 version: 1.2.0(@sinclair/typebox@0.34.13)(typescript@5.7.2)