Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 024b161

Browse files
dario-piotrowiczvicbjames-elicx
authored
Pin next and vercel packages and deprecate next-on-pages in favour of open-next (#986)
* pin `next` and `vercel` dependencies * add deprecation banner to main readme --------- Co-authored-by: Victor Berchet <[email protected]> Co-authored-by: James Anderson <[email protected]>
1 parent f47365e commit 024b161

File tree

4 files changed

+833
-47
lines changed

4 files changed

+833
-47
lines changed

.changeset/silver-jars-develop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudflare/next-on-pages': patch
3+
---
4+
5+
Deprecate package and pin `next` and `vercel` peer dependencies

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
> [!WARNING]
2+
>
3+
> > <p align="center">⚠️ 🚧 ⚠️</p>
4+
>
5+
> The next-on-pages package is deprecated, if you want to deploy a Next.js application on Cloudflare, please use the [OpenNext Cloudflare adapter](https://opennext.js.org/cloudflare) instead.
6+
> If you have a Next.js application that already uses next-on-pages the [OpenNext getting started guide for existing applications](https://opennext.js.org/cloudflare/get-started#existing-nextjs-apps) presents instructions on how to migrate to the OpenNext adapter.
7+
>
8+
> > <p align="center">⚠️ 🚧 ⚠️</p>
9+
110
<p align="center">
211
<h1 align="center">⚡▲ <code>@cloudflare/next-on-pages</code> ▲⚡</h1>
312

413
<p align="center">Build, develop, and deploy Next.js apps for Cloudflare Pages.</p>
514
</p>
615

7-
> [!NOTE]
16+
> [!NOTE]
817
> The best way to run Next.js apps on Cloudflare is to use [`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare). If you're coming from Vercel, you can migrate your Next.js app easily using [Diverce](https://github.com/ygwyg/diverce), which can also help you migrate from `@cloudflare/next-on-pages`
918
1019
`@cloudflare/next-on-pages` is a CLI tool that you can use to build and develop [Next.js](https://nextjs.org/) applications so that they can run on the [Cloudflare Pages](https://pages.cloudflare.com/) platform.

0 commit comments

Comments
 (0)