This commit is contained in:
Atridad Lahiji 2023-11-17 23:35:46 -07:00
parent 20eb4350fd
commit b0013558ca
No known key found for this signature in database
4 changed files with 249 additions and 281 deletions

View file

@ -1,8 +1,4 @@
import {
authMiddleware,
redirectToSignIn,
auth as authFunc,
} from "@clerk/nextjs";
import { authMiddleware, redirectToSignIn } from "@clerk/nextjs";
import { validateRequest } from "./app/_lib/unkey";
import { NextResponse } from "next/server";
import { Ratelimit } from "@upstash/ratelimit";

View file

@ -16,10 +16,10 @@
"dependencies": {
"@clerk/nextjs": "4.27.1",
"@clerk/themes": "1.7.9",
"@libsql/client": "0.3.6",
"@libsql/client": "0.4.0-pre.1",
"@paralleldrive/cuid2": "2.2.2",
"@t3-oss/env-nextjs": "0.7.1",
"@tanstack/react-query": "5.8.2",
"@tanstack/react-query": "5.8.4",
"@unkey/api": "0.12.0",
"@upstash/ratelimit": "0.4.4",
"@upstash/redis": "1.25.1",
@ -34,28 +34,26 @@
"postcss": "8.4.31",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "4.11.0",
"react-icons": "4.12.0",
"sharp": "0.32.6",
"svix": "1.13.0",
"svix": "1.14.0",
"zod": "3.22.4"
},
"devDependencies": {
"@flydotio/dockerfile": "^0.4.10",
"@tanstack/eslint-plugin-query": "5.6.0",
"@tanstack/eslint-plugin-query": "5.8.4",
"@types/eslint": "8.44.7",
"@types/node": "20.9.0",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"better-sqlite3": "9.1.1",
"bufferutil": "4.0.8",
"daisyui": "3.9.4",
"drizzle-kit": "0.20.1",
"eslint": "8.53.0",
"eslint-config-next": "14.0.2",
"daisyui": "4.4.2",
"drizzle-kit": "0.20.4",
"eslint": "8.54.0",
"eslint-config-next": "14.0.3",
"tailwindcss": "3.3.5",
"typescript": "5.2.2",
"utf-8-validate": "6.0.3"
"typescript": "5.2.2"
},
"dockerfile": {
"secrets": [

492
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2017",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"checkJs": true,
@ -10,7 +10,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",