Skip to content

Commit 059b4d0

Browse files
authored
Merge pull request #43 from DKB0512/chore/prettier
chore(formatter): Added prettier as formatter
2 parents ea3f658 + f0cf19e commit 059b4d0

37 files changed

Lines changed: 5808 additions & 3245 deletions

‎backend/.prettierrc‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"singleQuote": false,
3+
"trailingComma": "all",
4+
"tabWidth": 4,
5+
"endOfLine": "auto",
6+
"semi": true,
7+
"bracketSpacing": true
8+
}

‎backend/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY package*.json ./
2121
# Install all dependencies (including devDependencies) using Bun
2222
# --frozen-lockfile ensures reproducible builds
2323
# --concurrent-scripts and --network-concurrency optimize install speed
24-
RUN bun install --frozen-lockfile --concurrent-scripts=10 --network-concurrency=96
24+
RUN bun install --concurrent-scripts=10 --network-concurrency=96
2525

2626
# Copy source code and build the application
2727
COPY src/ ./src/

‎backend/bun.lock‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎backend/package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
},
88
"scripts": {
99
"dev": "tsx src/server/index.ts",
10+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1011
"build": "tsc -p tsconfig.json",
1112
"start": "node dist/server/index.js",
1213
"migrate": "tsx src/migrate.ts"
@@ -25,6 +26,7 @@
2526
"devDependencies": {
2627
"@types/node": "^20.10.5",
2728
"@types/pg": "^8.15.5",
29+
"prettier": "^3.6.2",
2830
"tsx": "^4.19.2",
2931
"typescript": "^5.6.3"
3032
}

0 commit comments

Comments
 (0)