Skip to content

Add Cloudflare Workers configuration - #1

Open
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
mainfrom
cloudflare/workers-autoconfig
Open

Add Cloudflare Workers configuration#1
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
mainfrom
cloudflare/workers-autoconfig

Conversation

@cloudflare-workers-and-pages

@cloudflare-workers-and-pages cloudflare-workers-and-pages Bot commented Jun 9, 2026

Copy link
Copy Markdown

This PR configures your project for Cloudflare Workers deployment using Wrangler autoconfig.

Merging this PR commits the configuration to your repository, enabling faster deployments and version controlled settings.

Detected settings:

  • Framework: vite
  • Build command: npm run build
  • Deploy command: npx wrangler deploy
  • Version (non-production deploy) command: npx wrangler versions upload

Note: For this PR, we used these detected settings to generate a working preview. When merged, we'll override your build and deploy commands if they don't match what's currently configured, ensuring successful deployments for your setup.

Next steps after merging:
Your Worker configuration lives in wrangler.jsonc. You can now:


View build details · Join the discussion for questions or feedback

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 9, 2026

Copy link
Copy Markdown
Author

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
claude-building-blocks a57092f Commit Preview URL

Branch Preview URL
Jun 17 2026, 03:44 AM

@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch 13 times, most recently from 9d1709d to c0d3653 Compare June 15, 2026 08:46
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch from c0d3653 to a8fe0cc Compare June 15, 2026 09:37
@vinsanitycoder
vinsanitycoder force-pushed the cloudflare/workers-autoconfig branch from a8fe0cc to 042aec4 Compare June 15, 2026 09:37
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch from 042aec4 to 6c8717c Compare June 15, 2026 09:52
vinsanitycoder added a commit that referenced this pull request Jun 15, 2026
…oximity + sizing)

Research-backed answer to "fields/boxes look randomly placed". Root cause: we had
the spacing SCALE but no GRAMMAR — no semantic roles and no proximity rule — so
every value was on-grid yet nothing read as intentional.

DESIGN_STANDARD.md
- New §21 "Spacing & sizing system — the prescriptive playbook":
  · §21.2 spacing ROLES (Inset / Inset-squish / Stack-tight/default/group/section /
    Inline) — a semantic tier over the scale so a value carries meaning.
  · §21.3 the PROXIMITY rule (the #1 designed-vs-random lever): spacing strictly
    increases as relationship weakens — label↔input < field↔field < group↔group <
    section↔section, ~1.5–2× per level, inner < outer always.
  · §21.4 control heights (sm32/md40/lg44) + the FIELD-WIDTH-matches-input rule
    (GOV.UK char widths: postcode ~5ch, year 4ch — never full-width for short fields).
  · §21.5 card sizing/padding + auto-fit grid; §21.6 table row heights;
    §21.7 containers/breakpoints/gutters; §21.8 section rhythm (responsive);
    §21.9 modal/drawer/popover sizing; §21.10 density; §21.11 fluid clamp/Utopia;
    §21.12 a pre-ship checklist.
- §3 now forward-points to §21; Appendix A token file gains the semantic + sizing tokens.

globals.css
- New semantic spacing-role tier (--inset-*, --stack-*, --inline-*) + sizing tokens
  (--control-*, --container-*, --dialog-*, --drawer-*, --popover-*).
- Functional density: [data-density="compact"|"spacious"] remap ONLY the semantic
  tier, so one attribute reflows the whole subtree (verified: card 24→16, btn 40→36).

components.css
- Wired .ds-btn / .ds-input / .ds-card to the role + sizing tokens (same computed
  values, zero visual change) so they're density-aware and self-documenting.
  Added .ds-card--compact.

SKILL.md
- Spacing rule expanded with the roles + proximity inequality + field-width rule so
  the audit applies it on every adoption.

Verified in the playground: identical render (light), tokens resolve correctly,
density toggle works end-to-end. tsc clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch 2 times, most recently from ea17a2a to 73cd6b5 Compare June 15, 2026 10:44
vinsanitycoder added a commit that referenced this pull request Jun 15, 2026
…pacious" preset

Research-backed answer to "our design feels cluttered". §21 was the spacing
MECHANICS; §22 is the GENEROSITY DIAL — how much air + what to remove. A layout
can be perfectly on-grid and still feel busy; "clean" is mostly active whitespace
+ ruthless removal.

DESIGN_STANDARD.md — new §22 "Whitespace & clean design":
- macro vs micro, active vs passive whitespace; whitespace = emphasis.
- WHY it works, honestly: lowers cognitive load, matches scan-reading (~20-28% of
  words read), decluttering raised recall 33%→65% (NN/g). Flags the "+20%/Lin 2004"
  claim as REFUTED folklore (Lin disavowed it) — do not cite.
- §22.1 SPACE BEFORE LINES (the #1 declutter move): separate with space → bg tint →
  shadow → border-last; delete dividers/card-borders/stripes, re-add only true boundaries.
- §22.2 clean moves by impact (top-of-scale, macro≫within ~3-4×, cap content width,
  line-height 1.5-1.6, one primary action, remove noise, progressive disclosure).
- §22.3 the squint test. §22.4 density-by-app-type (when spacious is WRONG; dense≠
  cluttered — Tufte data-ink for dashboards). §22.5 the saveable spacious preset table.

globals.css — upgraded [data-density="spacious"] to research-backed generosity:
card 24→32, field gap 24→32, group 32→48, SECTION 48→96, control padding 8/16→12/20,
control height 40→44. Macro ×~1.3-1.5; legibility roles unchanged.

playground — added a live Density switcher (default / spacious / compact) to the
Design standard demo so the preset is something you can FEEL; both demo panels wear
data-density. Verified: spacious bumps card padding 24→32 live, tsc clean.

SKILL.md — §22 rule added so the audit applies clean/whitespace + offers the presets.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch 8 times, most recently from 6e7c9c2 to 9ec3f25 Compare June 16, 2026 02:22
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch 8 times, most recently from 70f4aae to ff9ba88 Compare June 16, 2026 09:31
@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot force-pushed the cloudflare/workers-autoconfig branch from ff9ba88 to a57092f Compare June 17, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants