Skip to content

Commit 5e085fc

Browse files
committed
chore(cli): update examples format (#846)
1 parent 6c58b60 commit 5e085fc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const PLATFORMS = {
167167
},
168168
});
169169
files["src/index.ts"] = `import { createHandler } from "@actor-core/cloudflare-workers";
170-
import { app } from "./app";
170+
import { app } from "../actors/app";
171171
172172
// Create handlers for Cloudflare Workers
173173
const { handler, ActorHandler } = createHandler(app);
@@ -224,7 +224,7 @@ export { handler as default, ActorHandler };
224224
});
225225

226226
files["src/index.ts"] = `import { serve } from "@actor-core/bun";
227-
import { app } from "./app";
227+
import { app } from "../actors/app";
228228
229229
// Start the server
230230
serve(app);
@@ -251,7 +251,7 @@ serve(app);
251251
});
252252

253253
files["src/index.ts"] = `import { serve } from "@actor-core/nodejs";
254-
import { app } from "./app";
254+
import { app } from "../actors/app";
255255
256256
// Start the server
257257
serve(app);

yarn.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ __metadata:
4949
ink-gradient: "npm:^3.0.0"
5050
ink-link: "npm:^4.1.0"
5151
ink-spinner: "npm:^5.0.0"
52-
joycon: "npm:^3.1.1"
5352
micromatch: "npm:^4.0.8"
5453
open: "npm:^10.1.0"
5554
pkg-types: "npm:^2.0.0"

0 commit comments

Comments
 (0)