From a70ec2d14627bfdd8d4b2d431f390440f7e8cf22 Mon Sep 17 00:00:00 2001 From: Steve Ayers Date: Tue, 6 Aug 2024 12:42:46 -0400 Subject: [PATCH] Pin Next also Signed-off-by: Steve Ayers --- docs/node/server-plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/node/server-plugins.md b/docs/node/server-plugins.md index e91d298..dc3980e 100644 --- a/docs/node/server-plugins.md +++ b/docs/node/server-plugins.md @@ -101,7 +101,7 @@ using the latest React features. With [@connectrpc/connect-next](https://www.npm you can serve your Connect RPCs via Next.js API Routes. ```bash -$ npm install next @connectrpc/connect@"^1.0.0" @connectrpc/connect-node@"^1.0.0" @connectrpc/connect-next@"^1.0.0" +$ npm install next@"^13.0.0" @connectrpc/connect@"^1.0.0" @connectrpc/connect-node@"^1.0.0" @connectrpc/connect-next@"^1.0.0" ``` To enable the server plugin, create the file `pages/api/[[...connect]].ts` in your project: