Skip to content

Commit 11b5e31

Browse files
committed
fix(routes): update health check module conditionals for improved clarity; add build command to local settings
1 parent 0255026 commit 11b5e31

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"Bash(then rm -rf test-standard)",
3333
"Bash(rm:*)",
3434
"Bash(mkdir:*)",
35-
"Bash(pnpm --filter create-tbk-app typecheck:*)"
35+
"Bash(pnpm --filter create-tbk-app typecheck:*)",
36+
"Bash(pnpm --filter create-tbk-app build:*)"
3637
],
3738
"deny": [],
3839
"ask": []

packages/create-tbk-app/templates/base/src/routes/routes.ts.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import express from 'express';
33
import authRouter, { AUTH_ROUTER_ROOT } from '../modules/auth/auth.router';
44
import userRouter, { USER_ROUTER_ROOT } from '../modules/user/user.router';
55
{{/if}}
6-
{{#if (MODULE_HEALTHCHECK)}}
6+
{{#if MODULE_HEALTHCHECK}}
77
import healthCheckRouter, {
88
HEALTH_ROUTER_ROOT,
99
} from '../modules/healthcheck/healthcheck.routes';
1010
{{/if}}
1111

1212
const router = express.Router();
1313

14-
{{#if (MODULE_HEALTHCHECK)}}
14+
{{#if MODULE_HEALTHCHECK}}
1515
router.use(HEALTH_ROUTER_ROOT, healthCheckRouter);
1616
{{/if}}
1717
{{#if AUTH}}

0 commit comments

Comments
 (0)