Patch Changes
-
#15677
884990dThanks @L4XB! - Stop--langfrom hiding templates that have no language variants--langfiltered out every template that does not declarecopyFilesvariants, because such a template has a single set of files and so no variant key to match the language against. That hid templates whose files are written in the requested language.create-cloudflare --lang tsdroppedAPI starter (OpenAPI compliant)from the Application Starter list, and failed withUnknown application type provided: openapiwhen that template was named with--type. It also dropped 15 of the 18 framework starters, socreate-cloudflare --framework=hono --lang=tsfailed withUnsupported framework: hono.A template that ships a single set of files now declares the
--langvalues it can be created with. For a framework whose own CLI writes the project, that is what the CLI can produce, since--langis not passed to it: a framework that only scaffolds TypeScript, such as Qwik, Angular or Nuxt, is offered for--lang tsbut not for--lang js. Python filtering is unchanged: it is only ever offered through an explicitcopyFilesvariant, so a template without one is still left out of--lang python.