Skip to content

Conversation

@Brayden
Copy link
Contributor

@Brayden Brayden commented Dec 30, 2025

Description

Introduces a new Cloudflare template for supporting vertical microfrontend applications. This deploys a net-new Worker that acts as a "router" and traffic passes through it, and it routes the traffic to various other Workers through Service Bindings based on the URL path.

For example, a path defined as /app1 can route traffic to Worker A and traffic with a path of /app2 can route traffic to Worker B.

Checklist

  • Template Metadata
    • template directory ends with -template
    • "cloudflare" section of package.json is populated
    • template preview image uploaded to Images
    • README is populated and uses <!-- dash-content-start --> and <!-- dash-content-end --> to designate the Dash readme preview
    • .gitignore file exists
    • package.json contains a deploy command
    • package.json contains private: true and no version field

Example package.json

"private": true,
"cloudflare": {
  "label": "Worker + D1 Database",
  "products": [
    "Workers",
    "D1"
  ],
  "categories": [
    "storage"
  ],
  "docs_url": "https://developers.cloudflare.com/d1/",
  "preview_image_url": "https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/cb7cb0a9-6102-4822-633c-b76b7bb25900/public"
}

@github-actions
Copy link
Contributor

template name version latestVersion isDevDependency
microfrontend-template wrangler ^4.47.0 4.54.0 true
microfrontend-template typescript 5.8.3 5.9.3 true
microfrontend-template @cloudflare/workers-types ^4.20251128.0 4.20251230.0 true

@github-actions
Copy link
Contributor

Dashboard preview link

- Add vitest integration tests with inline stub workers (10 tests)
- Add description field to package.json
- Add dash-content markers for dashboard display
- Move Deploy button to top of README
- Fix bug: intercept preload script before upstream fetch
- Add test dependencies (@cloudflare/vitest-pool-workers, vitest)
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

template name version latestVersion isDevDependency
microfrontend-template @cloudflare/vitest-pool-workers ^0.8.0 0.11.1 true
microfrontend-template @cloudflare/workers-types ^4.20251128.0 4.20260103.0 true
microfrontend-template typescript 5.8.3 5.9.3 true
microfrontend-template vitest ~3.0.0 4.0.16 true
microfrontend-template wrangler ^4.47.0 4.54.0 true

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Dashboard preview link

@deloreyj deloreyj merged commit 4fd1475 into main Jan 6, 2026
2 checks passed
@deloreyj deloreyj deleted the brayden/mfe branch January 6, 2026 20:05
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.

4 participants