Skip to content

Commit 957b009

Browse files
committed
PEER-234: Resolve build issues and add build script
Signed-off-by: SeeuSim <[email protected]>
1 parent c1e18da commit 957b009

File tree

4 files changed

+4
-71
lines changed

4 files changed

+4
-71
lines changed

frontend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ lerna-debug.log*
1010
node_modules
1111
dist
1212
dist-ssr
13+
build
1314
*.local
1415
*.tsbuildinfo
1516

frontend/src/components/blocks/questions/details.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import remarkGfm from 'remark-gfm';
44
import remarkMath from 'remark-math';
55

66
import { Badge } from '@/components/ui/badge';
7-
import { CardHeader, CardTitle, CardContent } from '@/components/ui/card';
7+
import { CardContent,CardHeader, CardTitle } from '@/components/ui/card';
88
import { ScrollArea } from '@/components/ui/scroll-area';
99
import { Separator } from '@/components/ui/separator';
10-
import type { IGetQuestionDetailsResponse } from '@/services/question-service';
10+
import type { IGetQuestionDetailsResponse } from '@/types/question-types';
1111

1212
export const QuestionDetails = ({
1313
questionDetails,

frontend/src/routes/questions/details/details-card.tsx

Lines changed: 0 additions & 69 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dev:question": "npm run dev -w question",
1010
"dev:collab": "npm run dev -w collaboration",
1111
"dev:match": "npm run dev -w matching",
12+
"build": "npm run build --workspaces --if-present",
1213
"fmt": "prettier --config .prettierrc \"./**/*.{ts,tsx}\" --write",
1314
"lint": "eslint --config .eslintrc.json \"./**/*.{ts,tsx}\" --fix",
1415
"prepare": "husky"

0 commit comments

Comments
 (0)