Repository navigation
DR1: the site on Workers - #2
Merged
Merged
Conversation
chapter-three/next-drupal examples/example-marketing (80a89f1, MIT) in apps/web, moved from Next 14 to 16.3.8 (React 19, next-drupal 2.0.1 with its own next overridden, TanStack Query 5, the current next/link and next/image), built by next build --webpack and @opennextjs/cloudflare 1.20.11 into one Worker with Static Assets: the R2 incremental cache (infra/terraform/cloudflare-r2, its name rendered into wrangler.jsonc from the wiring document), a memory queue and a WORKER_SELF_REFERENCE service binding, which res.revalidate goes through. DRUPAL_BASE_URL and DRUPAL_SITE_ID are optional build secrets; with no URL next-drupal's fetcher is lib/sample-drupal.mjs — the template's content model in JSON:API's shapes (landing pages from paragraphs, articles, a page, twelve listings, the properties view and its filters, two menus, English and Spanish) — under a 'No Drupal site is connected' notice. The OAuth consumer and the revalidation secret stay out of the build and are put on the Worker by the deploy; /api/revalidate refuses every call while its secret is unset (upstream let a call with no secret through). tests/web: the sample read through next-drupal, a connected Drupal over HTTP (tests/web/fake-drupal.mjs), the two routes Drupal calls, the seams. typecheck, lint, test and build are green; wrangler dev serves every route unconnected, and connected: cached pages, an edit shown after revalidation, a draft in preview. Co-Authored-By: Claude <noreply@anthropic.com> Orun-Task: DR-2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chapter-three/next-drupal examples/example-marketing (80a89f1, MIT) in apps/web, moved from Next 14 to 16.3.8 (React 19, next-drupal 2.0.1 with its own next overridden, TanStack Query 5, the current next/link and next/image), built by next build --webpack and @opennextjs/cloudflare 1.20.11 into one Worker with Static Assets: the R2 incremental cache (infra/terraform/cloudflare-r2, its name rendered into wrangler.jsonc from the wiring document), a memory queue and a WORKER_SELF_REFERENCE service binding, which res.revalidate goes through. DRUPAL_BASE_URL and DRUPAL_SITE_ID are optional build secrets; with no URL next-drupal's fetcher is lib/sample-drupal.mjs — the template's content model in JSON:API's shapes (landing pages from paragraphs, articles, a page, twelve listings, the properties view and its filters, two menus, English and Spanish) — under a 'No Drupal site is connected' notice. The OAuth consumer and the revalidation secret stay out of the build and are put on the Worker by the deploy; /api/revalidate refuses every call while its secret is unset (upstream let a call with no secret through). tests/web: the sample read through next-drupal, a connected Drupal over HTTP (tests/web/fake-drupal.mjs), the two routes Drupal calls, the seams. typecheck, lint, test and build are green; wrangler dev serves every route unconnected, and connected: cached pages, an edit shown after revalidation, a draft in preview.
🤖 Generated with Claude Code