Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ DATABASE_URL="file:./db.sqlite"
# https://next-auth.js.org/configuration/options#secret
# NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"

# Cloudflare R2 Storage
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_KEY_ID=
R2_BUCKET_NAME=
12 changes: 11 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ await import("./src/env.mjs")
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
swcMinify: true
swcMinify: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**.r2.cloudflarestorage.com",
port: "",
pathname: "/*/**"
}
]
}
}

export default config
48 changes: 30 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
Comment thread
dkast marked this conversation as resolved.
},
"dependencies": {
"@aws-sdk/client-s3": "^3.449.0",
"@aws-sdk/s3-request-presigner": "^3.449.0",
"@hookform/resolvers": "^3.3.2",
"@internationalized/date": "^3.5.0",
"@next-auth/prisma-adapter": "^1.0.7",
Expand Down Expand Up @@ -48,49 +50,59 @@
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/match-sorter-utils": "^8.8.4",
"@tanstack/react-table": "^8.10.7",
"@uppy/aws-s3": "^3.5.0",
"@uppy/core": "^3.7.0",
"@uppy/dashboard": "^3.7.0",
"@uppy/drag-drop": "^3.0.3",
"@uppy/file-input": "^3.0.4",
"@uppy/locales": "^3.4.0",
"@uppy/progress-bar": "^3.0.4",
"@uppy/react": "^3.2.0",
"@uppy/webcam": "^3.3.4",
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"date-fns": "^2.30.0",
"lucide-react": "^0.291.0",
"next": "^14.0.1",
"lucide-react": "^0.292.0",
"next": "^14.0.2",
"next-auth": "^4.24.4",
"next-safe-action": "^5.0.2",
"next-usequerystate": "^1.9.1",
"next-usequerystate": "^1.10.0",
"react": "18.2.0",
"react-aria": "^3.29.1",
"react-aria": "^3.30.0",
"react-day-picker": "^8.9.1",
"react-dom": "18.2.0",
"react-hook-form": "^7.47.0",
"react-hook-form": "^7.48.2",
"react-hot-toast": "^2.4.1",
"react-stately": "^3.27.1",
"react-medium-image-zoom": "^5.1.8",
"react-stately": "^3.28.0",
"tailwind-merge": "^2.0.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.7.7",
"vaul": "^0.7.8",
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@hookform/devtools": "^4.3.1",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@react-types/shared": "^3.21.0",
"@types/bcrypt": "^5.0.1",
"@types/eslint": "^8.44.6",
"@types/node": "^20.8.10",
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@react-types/shared": "^3.22.0",
"@types/bcrypt": "^5.0.2",
"@types/eslint": "^8.44.7",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.52.0",
"eslint-config-next": "^14.0.1",
"eslint": "^8.53.0",
"eslint-config-next": "^14.0.2",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"prettier-plugin-tailwindcss": "^0.5.7",
"prisma": "^5.5.2",
"tailwindcss": "^3.3.5",
"ts-node": "^10.9.1",
Expand Down
Loading