Update dependencies (#216)
This commit is contained in:
commit
9d878bf5bd
4 changed files with 860 additions and 707 deletions
|
|
@ -52,8 +52,7 @@ export function Chat({ id, initialMessages, className }: ChatProps) {
|
|||
},
|
||||
onFinish() {
|
||||
if (!path.includes('chat')) {
|
||||
router.push(`/chat/${id}`, { shallow: true, scroll: false })
|
||||
router.refresh()
|
||||
window.history.pushState({}, '', `/chat/${id}`)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
module.exports = {
|
||||
experimental: {
|
||||
windowHistorySupport: true
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'avatars.githubusercontent.com',
|
||||
port: '',
|
||||
pathname: '**',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
pathname: '**'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
46
package.json
46
package.json
|
|
@ -22,19 +22,19 @@
|
|||
"@radix-ui/react-switch": "^1.0.3",
|
||||
"@radix-ui/react-tooltip": "^1.0.7",
|
||||
"@vercel/analytics": "^1.1.1",
|
||||
"@vercel/kv": "^1.0.0",
|
||||
"@vercel/og": "^0.5.20",
|
||||
"ai": "^2.2.25",
|
||||
"@vercel/kv": "^1.0.1",
|
||||
"@vercel/og": "^0.6.2",
|
||||
"ai": "^2.2.31",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"clsx": "^2.0.0",
|
||||
"clsx": "^2.1.0",
|
||||
"focus-trap-react": "^10.2.3",
|
||||
"framer-motion": "^10.16.12",
|
||||
"geist": "^1.1.0",
|
||||
"nanoid": "^5.0.3",
|
||||
"next": "14.0.4-canary.17",
|
||||
"next-auth": "5.0.0-beta.3",
|
||||
"geist": "^1.2.0",
|
||||
"nanoid": "^5.0.4",
|
||||
"next": "14.0.5-canary.38",
|
||||
"next-auth": "5.0.0-beta.4",
|
||||
"next-themes": "^0.2.1",
|
||||
"openai": "^4.20.0",
|
||||
"openai": "^4.24.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-hot-toast": "^2.4.1",
|
||||
|
|
@ -47,22 +47,22 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@types/node": "^20.10.0",
|
||||
"@types/react": "^18.2.38",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@types/react-syntax-highlighter": "^15.5.10",
|
||||
"@typescript-eslint/parser": "^6.12.0",
|
||||
"@types/node": "^20.10.6",
|
||||
"@types/react": "^18.2.46",
|
||||
"@types/react-dom": "^18.2.18",
|
||||
"@types/react-syntax-highlighter": "^15.5.11",
|
||||
"@typescript-eslint/parser": "^6.17.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-config-next": "14.0.3",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-plugin-tailwindcss": "^3.13.0",
|
||||
"postcss": "^8.4.31",
|
||||
"prettier": "^3.1.0",
|
||||
"tailwind-merge": "^2.0.0",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-next": "14.0.4",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-tailwindcss": "^3.13.1",
|
||||
"postcss": "^8.4.32",
|
||||
"prettier": "^3.1.1",
|
||||
"tailwind-merge": "^2.2.0",
|
||||
"tailwindcss": "^3.4.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.3.2"
|
||||
"typescript": "^5.3.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