Skip to content

In C3 hide non-framework categories when --platform=pages is specified#14095

Open
dario-piotrowicz wants to merge 1 commit into
mainfrom
dario/DEVX-2432/c3-pages-frameworks
Open

In C3 hide non-framework categories when --platform=pages is specified#14095
dario-piotrowicz wants to merge 1 commit into
mainfrom
dario/DEVX-2432/c3-pages-frameworks

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

@dario-piotrowicz dario-piotrowicz commented May 28, 2026

Fixes https://jira.cfdata.org/browse/DEVX-2432

When running C3 with --platform=pages, the "Hello World example" and "Application Starter" categories are now hidden since they only produce Workers projects. The framework list is also filtered to only show frameworks that support the Pages platform. This makes it clear that C3 can only create Pages projects when using a framework.


A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

🦋 Changeset detected

Latest commit: 6f3707c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-cloudflare Minor

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

✅ All changesets look good

@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2432/c3-pages-frameworks branch from 5e2bed9 to 8880c12 Compare May 28, 2026 22:34
ask-bonk[bot]

This comment was marked as outdated.

@ask-bonk

This comment was marked as outdated.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 28, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@14095

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@14095

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@14095

miniflare

npm i https://pkg.pr.new/miniflare@14095

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@14095

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@14095

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@14095

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@14095

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@14095

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@14095

wrangler

npm i https://pkg.pr.new/wrangler@14095

commit: 6f3707c

@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2432/c3-pages-frameworks branch from 8880c12 to 1960130 Compare May 28, 2026 23:02
@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2432/c3-pages-frameworks branch from 14fcf96 to 6f3707c Compare May 29, 2026 00:02
@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review May 29, 2026 00:28
@workers-devprod workers-devprod requested review from a team and NuroDev and removed request for a team May 29, 2026 00:28
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented May 29, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

});

describe.skipIf(isExperimental)("platform filtering", () => {
test.skipIf(isWindows)(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reasoning for skipping on Windows here?

Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Approved

Development

Successfully merging this pull request may close these issues.

3 participants