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 @@

- + ドキュメント

@@ -29,7 +29,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 ## 使用方法 -[ドキュメント](https://docs.okis.dev/chat/intro) +[ドキュメント](https://docs.okis.dev/docs/chat) ## デプロイメント @@ -37,7 +37,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 [![Railwayでデプロイ](https://railway.app/button.svg)](https://railway.app/template/-WWW5r) -詳細なデプロイ方法は[ドキュメント](https://docs.okis.dev/chat/intro)にて +詳細なデプロイ方法は[ドキュメント](https://docs.okis.dev/docs/chat)にて ## ライセンス diff --git a/README.md b/README.md index 51aa5cf5..46b95e80 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

- + Documentation

@@ -29,7 +29,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 ## Usage -[docs](https://docs.okis.dev/chat/intro) +[docs](https://docs.okis.dev/docs/chat) ## Deployment @@ -37,7 +37,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/-WWW5r) -more deployment methods in [docs](https://docs.okis.dev/chat/intro) +more deployment methods in [docs](https://docs.okis.dev/docs/chat) ## LICENSE diff --git a/README.zh_CN.md b/README.zh_CN.md index 56403ccf..10e316ef 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -7,7 +7,7 @@

- + 文档

@@ -29,7 +29,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 ## 使用方式 -[文档](https://docs.okis.dev/chat/intro) +[文档](https://docs.okis.dev/docs/chat) ## 部署 @@ -37,7 +37,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 [![在Railway上部署](https://railway.app/button.svg)](https://railway.app/template/-WWW5r) -更多部署方法见[文档](https://docs.okis.dev/chat/intro) +更多部署方法见[文档](https://docs.okis.dev/docs/chat) ## 许可证 diff --git a/README.zh_HK.md b/README.zh_HK.md index cd09f577..a6f6ddaf 100644 --- a/README.zh_HK.md +++ b/README.zh_HK.md @@ -7,7 +7,7 @@

- + 文件

@@ -29,7 +29,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 ## 使用方式 -[文件](https://docs.okis.dev/chat/intro) +[文件](https://docs.okis.dev/docs/chat) ## 部署 @@ -37,7 +37,7 @@ https://github.com/okisdev/ChatChat/assets/66008528/f8d943d5-77c9-479b-9d5f-1e77 [![在 Railway 上部署](https://railway.app/button.svg)](https://railway.app/template/-WWW5r) -更多部署方法在[文件](https://docs.okis.dev/chat/intro) +更多部署方法在[文件](https://docs.okis.dev/docs/chat) ## 許可證 diff --git a/components/layout/version-badge.tsx b/components/layout/version-badge.tsx index d4b0540d..e770a897 100644 --- a/components/layout/version-badge.tsx +++ b/components/layout/version-badge.tsx @@ -49,7 +49,7 @@ export const VersionBadge = () => {
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",