Update dependencies (#216)

This commit is contained in:
Lee Robinson 2024-01-06 17:40:20 -06:00 committed by GitHub
commit 9d878bf5bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 860 additions and 707 deletions

View file

@ -52,8 +52,7 @@ export function Chat({ id, initialMessages, className }: ChatProps) {
}, },
onFinish() { onFinish() {
if (!path.includes('chat')) { if (!path.includes('chat')) {
router.push(`/chat/${id}`, { shallow: true, scroll: false }) window.history.pushState({}, '', `/chat/${id}`)
router.refresh()
} }
} }
}) })

View file

@ -1,13 +1,16 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
module.exports = { module.exports = {
experimental: {
windowHistorySupport: true
},
images: { images: {
remotePatterns: [ remotePatterns: [
{ {
protocol: 'https', protocol: 'https',
hostname: 'avatars.githubusercontent.com', hostname: 'avatars.githubusercontent.com',
port: '', port: '',
pathname: '**', pathname: '**'
}, }
], ]
}, }
}; }

View file

@ -22,19 +22,19 @@
"@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.7", "@radix-ui/react-tooltip": "^1.0.7",
"@vercel/analytics": "^1.1.1", "@vercel/analytics": "^1.1.1",
"@vercel/kv": "^1.0.0", "@vercel/kv": "^1.0.1",
"@vercel/og": "^0.5.20", "@vercel/og": "^0.6.2",
"ai": "^2.2.25", "ai": "^2.2.31",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.0.0", "clsx": "^2.1.0",
"focus-trap-react": "^10.2.3", "focus-trap-react": "^10.2.3",
"framer-motion": "^10.16.12", "framer-motion": "^10.16.12",
"geist": "^1.1.0", "geist": "^1.2.0",
"nanoid": "^5.0.3", "nanoid": "^5.0.4",
"next": "14.0.4-canary.17", "next": "14.0.5-canary.38",
"next-auth": "5.0.0-beta.3", "next-auth": "5.0.0-beta.4",
"next-themes": "^0.2.1", "next-themes": "^0.2.1",
"openai": "^4.20.0", "openai": "^4.24.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1", "react-hot-toast": "^2.4.1",
@ -47,22 +47,22 @@
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.10.0", "@types/node": "^20.10.6",
"@types/react": "^18.2.38", "@types/react": "^18.2.46",
"@types/react-dom": "^18.2.17", "@types/react-dom": "^18.2.18",
"@types/react-syntax-highlighter": "^15.5.10", "@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/parser": "^6.12.0", "@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"eslint": "^8.54.0", "eslint": "^8.56.0",
"eslint-config-next": "14.0.3", "eslint-config-next": "14.0.4",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-tailwindcss": "^3.13.0", "eslint-plugin-tailwindcss": "^3.13.1",
"postcss": "^8.4.31", "postcss": "^8.4.32",
"prettier": "^3.1.0", "prettier": "^3.1.1",
"tailwind-merge": "^2.0.0", "tailwind-merge": "^2.2.0",
"tailwindcss": "^3.3.5", "tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"typescript": "^5.3.2" "typescript": "^5.3.3"
}, },
"packageManager": "pnpm@8.6.3" "packageManager": "pnpm@8.6.3"
} }

1505
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff