From 34b08b1f7553e0ee726c792904ac73d30a4df91b Mon Sep 17 00:00:00 2001
From: Harry Yep
Date: Wed, 3 Jul 2024 21:49:35 +0800
Subject: [PATCH 1/5] fix: missing docs (#332)
---
README.ja.md | 6 +++---
README.md | 6 +++---
README.zh_CN.md | 6 +++---
README.zh_HK.md | 6 +++---
components/layout/version-badge.tsx | 2 +-
5 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.ja.md b/README.ja.md
index e622bf75..7c5ac275 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -7,7 +7,7 @@
From d5541b8191a9afc71c73891ec448b9a1341aae5b Mon Sep 17 00:00:00 2001
From: Harry Yep
Date: Wed, 3 Jul 2024 22:27:10 +0800
Subject: [PATCH 2/5] fix: build issue (#333)
---
components/layout/search/block/answer.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/layout/search/block/answer.tsx b/components/layout/search/block/answer.tsx
index 94a61449..8b282353 100644
--- a/components/layout/search/block/answer.tsx
+++ b/components/layout/search/block/answer.tsx
@@ -12,7 +12,7 @@ import store from '@/hooks/store';
export const Answer = ({
content,
}: Readonly<{
- content: string | StreamableValue;
+ content: StreamableValue;
}>) => {
const t = useTranslations();
From 4edf511cfe4a94cbde5324e03a314757729cc512 Mon Sep 17 00:00:00 2001
From: Harry Yep
Date: Wed, 3 Jul 2024 22:27:35 +0800
Subject: [PATCH 3/5] bump: version
---
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index aa7cc95f..f7067023 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "chat-chat",
- "version": "0.1.6",
+ "version": "0.1.8",
"private": true,
"scripts": {
"dev": "next dev",
@@ -79,4 +79,4 @@
"typescript": "^5.4.5",
"webpack": "^5.91.0"
}
-}
\ No newline at end of file
+}
From e6604fd90386641b901a978b82a8883f7531287a Mon Sep 17 00:00:00 2001
From: Harry Yep
Date: Wed, 3 Jul 2024 22:47:21 +0800
Subject: [PATCH 4/5] fix: docker build (#334)
---
Dockerfile | 4 ++--
components/layout/search/block/answer.tsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 98b4dded..925b32f7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
-RUN npm i -g pnpm@8.15.7
+RUN npm i -g pnpm@latest
RUN pnpm install
COPY . .
@@ -21,7 +21,7 @@ COPY --from=base /app/public ./public
COPY --from=base /app/node_modules ./node_modules
COPY --from=base /app/next.config.mjs ./next.config.mjs
-RUN npm i -g pnpm@8.15.7
+RUN npm i -g pnpm@latest
EXPOSE 3000
diff --git a/components/layout/search/block/answer.tsx b/components/layout/search/block/answer.tsx
index 8b282353..94a61449 100644
--- a/components/layout/search/block/answer.tsx
+++ b/components/layout/search/block/answer.tsx
@@ -12,7 +12,7 @@ import store from '@/hooks/store';
export const Answer = ({
content,
}: Readonly<{
- content: StreamableValue;
+ content: string | StreamableValue;
}>) => {
const t = useTranslations();
From 12674287a96b32ee4f04194b1e44944cf733a084 Mon Sep 17 00:00:00 2001
From: Harry Yep
Date: Wed, 3 Jul 2024 22:47:51 +0800
Subject: [PATCH 5/5] bump: version
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index f7067023..fc844760 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "chat-chat",
- "version": "0.1.8",
+ "version": "0.1.9",
"private": true,
"scripts": {
"dev": "next dev",