Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: update vinext (#33347)

Stephen Zhoub44b37518a2a
diff --git a/web/app/components/plugins/marketplace/hydration-server.tsx b/web/app/components/plugins/marketplace/hydration-server.tsx
index 2b1dea25cbd..ef5fca3fd5e 100644
--- a/web/app/components/plugins/marketplace/hydration-server.tsx
+++ b/web/app/components/plugins/marketplace/hydration-server.tsx
@@ -38,10 +38,6 @@ export async function HydrateQueryClient({
children: React.ReactNode
}) {
const dehydratedState = await getDehydratedState(searchParams)
- // TODO: vinext do not handle hydration boundary well for now.
- if (!dehydratedState) {
- return <>{children}</>
- }
return (
<HydrationBoundary state={dehydratedState}>
{children}
diff --git a/web/package.json b/web/package.json
index 5b844527ee0..c82e05a6bc7 100644
--- a/web/package.json
+++ b/web/package.json
@@ -237,7 +237,7 @@
"tsx": "4.21.0",
"typescript": "5.9.3",
"uglify-js": "3.19.3",
- "vinext": "0.0.27",
+ "vinext": "https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c",
"vite": "8.0.0-beta.18",
"vite-plugin-inspect": "11.3.3",
"vite-tsconfig-paths": "6.1.1",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 48caf3d8dc4..802396547eb 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -589,8 +589,8 @@ importers:
specifier: 3.19.3
version: 3.19.3
vinext:
- specifier: 0.0.27
+ specifier: https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c
vite:
specifier: 8.0.0-beta.18
@@ -7286,8 +7286,9 @@ packages:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
- resolution: {integrity: sha512-YhYx+0C9fDEyICIAIP9uxvlAmbKzHka6+YlWPXTLcESEM9wNItuyzAa12vO1gR1Cge0OKBtq/8maAh4SorNG9Q==}
+ vinext@https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c:
+ resolution: {integrity: sha512-Nh4JoTECpSqnXMeFh7QG/zzWwPxQ2dP10e5pZ8nqJ10rQr9Z5MQdsGKYqmH9IE6/aEW/9CVS1O9cquLpM3zFQw==, tarball: https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c}
+ version: 0.0.5
engines: {node: '>=22'}
hasBin: true
peerDependencies:
@@ -15326,7 +15327,7 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.3
dependencies:
'@vercel/og': 0.8.6
diff --git a/web/vite.config.ts b/web/vite.config.ts
index c199a7457b8..cd6491f5efc 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
...(!isTest && !isStorybook
? {
optimizeDeps: {
- exclude: ['nuqs'],
+ exclude: ['@tanstack/react-query'],
},
server: {
port: 3000,