Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/express/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vercel
1 change: 1 addition & 0 deletions examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"dev": "tsx --watch src/server.ts",
"check-types": "tsc --noEmit"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/express/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ app.post("/increment/:name", async (req, res) => {
app.listen(8080, () => {
console.log("Listening at http://localhost:8080");
});

export default app;
9 changes: 3 additions & 6 deletions examples/express/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
"allowJs": true,
/* Enable error reporting in type-checked JavaScript files. */
"checkJs": false,

/* Disable emitting files from a compilation. */
"noEmit": true,

/* Ensure that each file can be safely transpiled without relying on other imports. */
"isolatedModules": true,
/* Allow 'import x from y' when a module doesn't have a default export. */
Expand All @@ -37,7 +33,8 @@
"strict": true,

/* Skip type checking all .d.ts files. */
"skipLibCheck": true
"skipLibCheck": true,
"outDir": "dist"
},
"include": ["src/**/*"]
"include": ["./src"]
}
7 changes: 6 additions & 1 deletion examples/express/turbo.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"]
"extends": ["//"],
"tasks": {
"build": {
"outputs": ["dist/**"]
}
}
}
Loading