From ec881085002a58447461072a50e817850bdcbbcc Mon Sep 17 00:00:00 2001 From: Kirk Lin Date: Fri, 5 Jan 2024 17:24:05 +0800 Subject: [PATCH] style: update style --- .github/CODE_OF_CONDUCT.md | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 1 - README.md | 9 ++------- README.zh-CN.md | 8 ++------ apps/admin/src/pages/chat/index.vue | 2 +- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 00c616c2..7c14047a 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -55,7 +55,7 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team. +reported by contacting the project team. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 23fa5899..85468b02 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -27,7 +27,6 @@ _Put an `x` in the boxes that apply_ ## Linked Issues - ## Further comments diff --git a/README.md b/README.md index a87d4ec9..ab0cc406 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ Whether you're a seasoned developer or just starting out, Celeris Web offers a s Get started with celeris-web today and experience a highly streamlined front-end development process that harnesses the power of the latest technologies, including cutting-edge natural language processing capabilities. - ## Features - ⚡ [Lightning fast](https://github.com/kirklin/celeris-web#readme): Built with Vue 3, Vite, and pnpm 🔥 @@ -33,7 +32,6 @@ Get started with celeris-web today and experience a highly streamlined front-end - ☁️ [Netlify ready](https://www.netlify.com/): Zero-config deployment on Netlify ☁️ - 🤖 Integration with [OpenAI's ChatGPT API](https://openai.com/https://openai.com/): for natural language processing 🤖 - ### Coding Style - [@kirklin/eslint-config](https://github.com/kirklin/eslint-config) @@ -44,7 +42,6 @@ Get started with celeris-web today and experience a highly streamlined front-end - 💻 [VSCode](https://code.visualstudio.com/) - 💡 [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) - ### [packages](packages) dependency relationship ```mermaid @@ -88,8 +85,8 @@ Get started with celeris-web today and experience a highly streamlined front-end types types --> constants utils - utils --> types - + utils --> types + ``` To update the diagram above edit the README file and open a new PR with the changes. @@ -128,7 +125,6 @@ pnpm run build And you will see the generated file in `dist` that ready to be served. - ### Deploy on Netlify Go to [Netlify](https://app.netlify.com/start) and select your clone, `OK` along the way, and your App will be live in a minute. @@ -146,4 +142,3 @@ Run the image and specify port mapping with the `-p` flag. ```bash docker run --rm -it -p 8080:80 celeris-web:latest ``` - diff --git a/README.zh-CN.md b/README.zh-CN.md index 38be1bfc..e4c40e34 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -16,7 +16,6 @@ Celeris Admin的一个特色是它与OpenAI的ChatGPT API集成,提供了强 立即开始使用Celeris Admin,并体验高度简化的前端开发流程,利用最新技术,包括尖端自然语言处理功能。 - ## 特点 - ⚡ [闪电般快速](https://github.com/kirklin/celeris-web#readme):使用Vue 3,Vite和pnpm构建 🔥 @@ -33,7 +32,6 @@ Celeris Admin的一个特色是它与OpenAI的ChatGPT API集成,提供了强 - ☁️ [Netlify准备就绪](https://www.netlify.com/):在Netlify上零配置部署 ☁️ - 🤖 集成[OpenAI的ChatGPT API](https://openai.com/):用于自然语言处理 🤖 - ### 编码风格 - [@kirklin/eslint-config](https://github.com/kirklin/eslint-config) @@ -87,8 +85,8 @@ Celeris Admin的一个特色是它与OpenAI的ChatGPT API集成,提供了强 types types --> constants utils - utils --> types - + utils --> types + ``` 要更新上面的图表,请编辑README文件,并在修改后打开一个新的PR。 @@ -127,7 +125,6 @@ pnpm run build 然后你会看到用于发布的 `dist` 文件夹被生成。 - ### 部署到 Netlify 前往 [Netlify](https://app.netlify.com/start) 并选择你的仓库, 一路 `OK` 下去,稍等一下后,你的应用将被创建. @@ -145,4 +142,3 @@ docker buildx build . -t celeris-web:latest ```bash docker run --rm -it -p 8080:80 celeris-web:latest ``` - diff --git a/apps/admin/src/pages/chat/index.vue b/apps/admin/src/pages/chat/index.vue index 23c39ef4..1499d852 100644 --- a/apps/admin/src/pages/chat/index.vue +++ b/apps/admin/src/pages/chat/index.vue @@ -5,7 +5,7 @@ defineOptions({