Skip to content

docs(cloudflare): update package.json for 0.6 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2025
Merged
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
7 changes: 7 additions & 0 deletions pages/cloudflare/migrate-from-0.5-to-0.6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ The CLI was previsouly invoked as `opennextjs-cloudflare` and now takes a mandat
- `opennextjs-cloudflare populateCache local` is used to populate the `local` or `remote` cache
- `opennextjs-cloudflare preview` is used to populate the local cache and start a dev server
- `opennextjs-cloudflare deploy` is used to populate the remote cache and deploy

You will need to update the `scripts` in your `package.json`:

```json
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
"deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",
```