Skip to content

Commit 12fb881

Browse files
committed
chore: update dependencies and configuration files
1 parent 9983ad0 commit 12fb881

File tree

11 files changed

+7
-11
lines changed

11 files changed

+7
-11
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ RATE_LIMITING_REQUESTS_PER_SECOND=50
4747
#-----------------------------------------------------------------------------------------------
4848
# Umami Analytics
4949
#-----------------------------------------------------------------------------------------------
50-
UMAMI_WEBSITE_ID=255e127b-96e9-4ca3-8408-3b731ad6b63c
50+
UMAMI_WEBSITE_ID=

.husky/commit-msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
31

42
npx --no -- commitlint --edit ${1}

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
31

42
npx lint-staged

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
"^[@~]/.*$",
1717
"^[.]"
1818
],
19+
"experimentalTernaries": true,
1920
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
2021
}

dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 1. Install dependencies only when needed
2-
FROM oven/bun:1 AS deps
2+
FROM oven/bun:latest AS deps
33
WORKDIR /app
44

55
# Install dependencies based on the preferred package manager
@@ -37,7 +37,6 @@ COPY --from=builder /app/public ./public
3737
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
3838
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
3939

40-
4140
USER nextjs
4241

4342
ARG PORT=3000
@@ -46,4 +45,4 @@ EXPOSE $PORT
4645
ENV PORT $PORT
4746

4847
# CMD HOSTNAME=node server.js
49-
CMD ["node", "server.js"]
48+
CMD ["node", "server.js"]

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config = {
2525
},
2626
experimental: {
2727
ppr: true,
28-
reactCompiler: isProd,
28+
reactCompiler: isProd ? true : undefined,
2929
// ...
3030
},
3131
output: isDocker ? "standalone" : undefined,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "next build && next start",
1111
"lint": "next lint",
1212
"type-check": "tsc --noEmit",
13-
"fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache --experimental-ternaries",
13+
"fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache",
1414
"fmt:check": "prettier --check \"**/*.{ts,tsx,mdx,json}\" --cache",
1515
"db:generate": "drizzle-kit generate",
1616
"db:migrate": "bun src/lib/db/migrate.ts",
@@ -104,7 +104,7 @@
104104
},
105105
"lint-staged": {
106106
"*.{ts,tsx,md,mdx}": [
107-
"prettier --write \"**/*.{ts,tsx,mdx}\" --cache --experimental-ternaries"
107+
"prettier --write \"**/*.{ts,tsx,mdx}\" --cache"
108108
],
109109
"*.{ts,tsx,mdx}": [
110110
"eslint --fix ."

public/apple-icon.png

13.6 KB
Loading

public/favicon-16x16.png

513 Bytes
Loading

public/favicon-32x32.png

1.3 KB
Loading

0 commit comments

Comments
 (0)