Update dependencies
This commit is contained in:
parent
c368a0967c
commit
c35fae4489
4 changed files with 860 additions and 707 deletions
|
|
@ -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()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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: '**'
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
},
|
}
|
||||||
};
|
}
|
||||||
|
|
|
||||||
46
package.json
46
package.json
|
|
@ -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
1505
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue