Skip to content

Commit

Permalink
chore: update dependencies and configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
rajput-hemant committed Aug 27, 2024
1 parent 9983ad0 commit 12fb881
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ RATE_LIMITING_REQUESTS_PER_SECOND=50
#-----------------------------------------------------------------------------------------------
# Umami Analytics
#-----------------------------------------------------------------------------------------------
UMAMI_WEBSITE_ID=255e127b-96e9-4ca3-8408-3b731ad6b63c
UMAMI_WEBSITE_ID=
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"^[@~]/.*$",
"^[.]"
],
"experimentalTernaries": true,
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
}
5 changes: 2 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -46,4 +45,4 @@ EXPOSE $PORT
ENV PORT $PORT

# CMD HOSTNAME=node server.js
CMD ["node", "server.js"]
CMD ["node", "server.js"]
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config = {
},
experimental: {
ppr: true,
reactCompiler: isProd,
reactCompiler: isProd ? true : undefined,
// ...
},
output: isDocker ? "standalone" : undefined,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 ."
Expand Down
Binary file added public/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.

1 comment on commit 12fb881

@vercel
Copy link

@vercel vercel bot commented on 12fb881 Aug 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.