Skip to content
Merged
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
3 changes: 2 additions & 1 deletion examples/kitchen-sink/apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"start": "node dist/index.cjs",
"dev": "tsdown --watch --onSuccess \"node dist/index.cjs\"",
"dev": "tsx watch src/index.ts",
"build": "tsdown",
"check-types": "tsc --noEmit",
"lint": "eslint src/ --max-warnings 0",
Expand Down Expand Up @@ -36,6 +36,7 @@
"jest": "^30.2.0",
"supertest": "^7.1.0",
"tsdown": "0.12.0",
"tsx": "^4.19.4",
"typescript": "5.9.3"
}
}
4 changes: 3 additions & 1 deletion examples/kitchen-sink/apps/api/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { json, urlencoded } from "body-parser";
import bodyParser from "body-parser";
import express, { type Express } from "express";
import morgan from "morgan";
import cors from "cors";

const { json, urlencoded } = bodyParser;

export const createServer = (): Express => {
const app = express();
app
Expand Down
Loading
Loading