Skip to content

Commit 7e9835d

Browse files
committed
compute-e2e-happy: minimal Hono app (succeeds)
0 parents  commit 7e9835d

6 files changed

Lines changed: 42 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# compute-e2e-happy
2+
3+
Prisma Compute build-runner e2e fixture. Minimal [Hono](https://hono.dev) app
4+
serving on `:8080`. **Expected build outcome: `succeeded`.**

bun.lock

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Hono } from "hono";
2+
3+
const app = new Hono();
4+
5+
app.get("/", (c) => c.text("compute-e2e-happy: ok"));
6+
app.get("/health", (c) => c.json({ ok: true }));
7+
8+
export default {
9+
port: Number(process.env.PORT ?? 8080),
10+
fetch: app.fetch,
11+
};

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "compute-e2e-happy",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"module": "index.ts",
7+
"dependencies": {
8+
"hono": "^4.6.14"
9+
}
10+
}

prisma.app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "entry": "index.ts" }

0 commit comments

Comments
 (0)