fix and update experimental Next.js template to work on @opennextjs/cloudflare@0.3.x#7638
Conversation
🦋 Changeset detectedLatest commit: ea5ba02 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-wrangler-7638You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7638/npm-package-wrangler-7638Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-wrangler-7638 dev path/to/script.jsAdditional artifacts:wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-workers-bindings-extension-7638 -O ./cloudflare-workers-bindings-extension.0.0.0-v4fda7eecd.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-v4fda7eecd.vsixnpx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-create-cloudflare-7638 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-kv-asset-handler-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-miniflare-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-pages-shared-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-unenv-preset-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-vitest-pool-workers-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-workers-editor-shared-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-workers-shared-7638npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12517765304/npm-package-cloudflare-workflows-shared-7638Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
37fecf2 to
e7f4eea
Compare
vicb
left a comment
There was a problem hiding this comment.
Thanks
Could you please also add a .dev.vars, using https://github.com/flarelabs-net/workers-next/blob/main/.dev.vars.example as a template
…js/cloudflare@0.3.x` fix incorrect main
…js/cloudflare@0.3.x` include `.dev.vars` template file
…js/cloudflare@0.3.x` update comment
…js/cloudflare@0.3.x` add missing newline
vicb
left a comment
There was a problem hiding this comment.
Thanks.
Maybe create an issue on https://github.com/opennextjs/docs to update the docs when this PR is released to c3
This is the Next.js guide that uses the open-next adapter: https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/ I don't think there's anything in the changes I'm making that needs updating there (otherwise I'd do open a PR right away and merge it after the C3 release) |
…js/cloudflare@0.3.x` skip bun and yarn experimental e2es
We need to update that which is repeated multiple times to use the c3 experimental template |
ah ok, sorry I thought we were talking about the Cloudflare docs 👍 (I missed that you were actually linking to the opennextjs docs 🤦) |
|
Merging this PR as the only failing tests are e2es (both experimental and not) running nuxt using yarn under ubuntu and:
I've opened a followup PR to address the Nuxt issue: #7648 |
Changes made in
@opennextjs/cloudflare@0.3.0haven't been updated in the C3 experimental template causing C3 to currently create broken open-next applications, this PR is addressing that plus some other small minor related updates.@opennextjs/cloudflare@0.3.xcloudflare-docs#18946