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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
FROM node:24.21.0-bookworm-slim AS deps
RUN npm install -g pnpm@12.3.2
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile

# Stage 2 — Build TypeScript and prune dev dependencies
FROM node:24.21.0-bookworm-slim AS build
RUN npm install -g pnpm@12.3.2
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY package.json pnpm-lock.yaml tsconfig.json ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml tsconfig.json ./
COPY src/ ./src/
RUN pnpm run build
# Strip .map files (source maps + declaration maps) before the production
Expand Down
2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"watch": ["src"],
"ext": "ts,js,json",
"ignore": ["src/**/*.spec.ts", "dist"],
"exec": "ts-node ./src/index.ts"
"exec": "tsx ./src/index.ts"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"test:manual": "ts-node scripts/test-hints.ts",
"generate-api-key": "ts-node scripts/generate-api-key.ts"
"test:manual": "tsx scripts/test-hints.ts",
"generate-api-key": "tsx scripts/generate-api-key.ts"
},
"author": "",
"license": "BSD-3-Clause",
Expand All @@ -42,7 +42,7 @@
"nodemon": "^3.1.14",
"oxlint": "^1.81.0",
"prettier": "^3.9.6",
"ts-node": "^10.9.2",
"tsx": "^4.23.13",
"typescript": "^5.9.3",
"vitest": "^5.0.0"
}
Expand Down
Loading