You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: add `migrate` command to set up OpenNext for Cloudflare adapter
6
+
7
+
This command helps users migrate existing Next.js applications to the OpenNext Cloudflare adapter by automatically setting up all necessary configuration files, dependencies, and scripts.
8
+
9
+
To use the command simply run: `npx opennextjs-cloudflare migrate`
* When the file does not exists, it is always created with the text content.
7
+
* When the file exists, the text is appended only when the predicate return `true`.
8
+
*
9
+
* @param filepath The path to the file.
10
+
* @param text The text to append to the file.
11
+
* @param condition A function that receives the current file content and returns `true` if the text should be appended to it, the condition is skipped when the file is being created.
0 commit comments