create-cloudflare
Version:
A CLI for creating and deploying new applications to Cloudflare.
23 lines (20 loc) • 420 B
text/typescript
import type { TemplateConfig } from "../../src/templates";
const config: TemplateConfig = {
configVersion: 1,
id: "scheduled",
displayName: "Scheduled Worker (Cron Trigger)",
description:
"Create a Worker to be executed on a schedule for periodic (cron) jobs",
platform: "workers",
copyFiles: {
variants: {
js: {
path: "./js",
},
ts: {
path: "./ts",
},
},
},
};
export default config;