Skip to content

Commit cfc0f0f

Browse files
committed
chore(cli): add noop platform (#847)
1 parent 5e085fc commit cfc0f0f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/actor-core-cli/src/utils/platforms.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ const PLATFORMS = {
166166
enabled: true,
167167
},
168168
});
169-
files["src/index.ts"] = `import { createHandler } from "@actor-core/cloudflare-workers";
169+
files["src/index.ts"] =
170+
`import { createHandler } from "@actor-core/cloudflare-workers";
170171
import { app } from "../actors/app";
171172
172173
// Create handlers for Cloudflare Workers
@@ -259,6 +260,12 @@ serve(app);
259260
return { files };
260261
},
261262
},
263+
noop: {
264+
modify: ({ files }) => {
265+
// Do nothing
266+
return { files };
267+
},
268+
},
262269
} satisfies Record<string, PlatformConfig>;
263270

264271
const PACKAGE_MANAGERS = {
@@ -304,6 +311,7 @@ export const PLATFORM_NAMES = {
304311
"cloudflare-workers": "Cloudflare Workers",
305312
bun: "Bun",
306313
nodejs: "Node.js",
314+
noop: "None (Decide Later)",
307315
// supabase: "Supabase",
308316
// vercel: "Vercel",
309317
// deno: "Deno",

0 commit comments

Comments
 (0)