diff --git a/.env.example b/.env.example index 5477135..ad95adc 100644 --- a/.env.example +++ b/.env.example @@ -47,4 +47,4 @@ RATE_LIMITING_REQUESTS_PER_SECOND=50 #----------------------------------------------------------------------------------------------- # Umami Analytics #----------------------------------------------------------------------------------------------- -UMAMI_WEBSITE_ID=255e127b-96e9-4ca3-8408-3b731ad6b63c \ No newline at end of file +UMAMI_WEBSITE_ID= \ No newline at end of file diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a77..6ef9628 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,2 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx --no -- commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..6b636e2 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,2 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx lint-staged diff --git a/.prettierrc b/.prettierrc index 5a688cb..ad4ded9 100644 --- a/.prettierrc +++ b/.prettierrc @@ -16,5 +16,6 @@ "^[@~]/.*$", "^[.]" ], + "experimentalTernaries": true, "importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"] } diff --git a/dockerfile b/dockerfile index 338261d..0f0598f 100644 --- a/dockerfile +++ b/dockerfile @@ -1,5 +1,5 @@ # 1. Install dependencies only when needed -FROM oven/bun:1 AS deps +FROM oven/bun:latest AS deps WORKDIR /app # Install dependencies based on the preferred package manager @@ -37,7 +37,6 @@ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static - USER nextjs ARG PORT=3000 @@ -46,4 +45,4 @@ EXPOSE $PORT ENV PORT $PORT # CMD HOSTNAME=node server.js -CMD ["node", "server.js"] \ No newline at end of file +CMD ["node", "server.js"] diff --git a/next.config.mjs b/next.config.mjs index 537306e..b3ec7d2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -25,7 +25,7 @@ const config = { }, experimental: { ppr: true, - reactCompiler: isProd, + reactCompiler: isProd ? true : undefined, // ... }, output: isDocker ? "standalone" : undefined, diff --git a/package.json b/package.json index bc03691..15dccd2 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "preview": "next build && next start", "lint": "next lint", "type-check": "tsc --noEmit", - "fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache --experimental-ternaries", + "fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache", "fmt:check": "prettier --check \"**/*.{ts,tsx,mdx,json}\" --cache", "db:generate": "drizzle-kit generate", "db:migrate": "bun src/lib/db/migrate.ts", @@ -104,7 +104,7 @@ }, "lint-staged": { "*.{ts,tsx,md,mdx}": [ - "prettier --write \"**/*.{ts,tsx,mdx}\" --cache --experimental-ternaries" + "prettier --write \"**/*.{ts,tsx,mdx}\" --cache" ], "*.{ts,tsx,mdx}": [ "eslint --fix ." diff --git a/public/apple-icon.png b/public/apple-icon.png new file mode 100644 index 0000000..4ce3447 Binary files /dev/null and b/public/apple-icon.png differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..a1199cc Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..7709a6e Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index d46c4c5..a3abcf6 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ