Skip to content

Commit 4e522a6

Browse files
🔧 chore: Update setting
This commit introduces new components, modules, and features related to chat, sessions, and settings. It includes modifications to configuration files, updates to dependencies, adjustments to styles and layouts, and additions of new components and modules. The changes also involve updates to functions, interfaces, selectors, actions, and reducers. Additionally, there are modifications to TypeScript interfaces and types, as well as changes to parameters and functions in certain files.
1 parent 30da537 commit 4e522a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+618
-434
lines changed

.changelogrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').changelog;

.commitlintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').commitlint;

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[Makefile]
16+
indent_style = tab

.eslintignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Eslintignore for LobeHub
2+
################################################################
3+
4+
# dependencies
5+
node_modules
6+
7+
# ci
8+
coverage
9+
.coverage
10+
11+
# test
12+
jest*
13+
_test_
14+
__test__
15+
*.test.ts
16+
17+
# umi
18+
.umi
19+
.umi-production
20+
.umi-test
21+
.dumi/tmp*
22+
!.dumirc.ts
23+
24+
# production
25+
dist
26+
es
27+
lib
28+
logs
29+
30+
# misc
31+
# add other ignore file below
32+
.next

.eslintrc.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,4 @@ const config = require('@lobehub/lint').eslint;
33
config.extends.push('plugin:@next/next/recommended');
44
//config.extends.push('plugin:@next/next/core-web-vitals');
55

6-
module.exports = {
7-
...config,
8-
rules: {
9-
...config.rules,
10-
'react/jsx-sort-props': 'off',
11-
'sort-keys-fix/sort-keys-fix': 'off',
12-
'typescript-sort-keys/interface': 'off',
13-
'unicorn/switch-case-braces': 'off',
14-
},
15-
};
6+
module.exports = config;
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "🐛 反馈缺陷 Bug Report"
2-
description: "反馈一个问题缺陷 | Report an bug"
3-
title: "[Bug] "
4-
labels: "🐛 Bug"
1+
name: '🐛 反馈缺陷 Bug Report'
2+
description: '反馈一个问题缺陷 | Report an bug'
3+
title: '[Bug] '
4+
labels: '🐛 Bug'
55
body:
66
- type: dropdown
77
attributes:
8-
label: "💻 系统环境 | Operating System"
8+
label: '💻 系统环境 | Operating System'
99
options:
1010
- Windows
1111
- macOS
@@ -16,7 +16,7 @@ body:
1616
required: true
1717
- type: dropdown
1818
attributes:
19-
label: "🌐 浏览器 | Browser"
19+
label: '🌐 浏览器 | Browser'
2020
options:
2121
- Chrome
2222
- Edge
@@ -27,19 +27,19 @@ body:
2727
required: true
2828
- type: textarea
2929
attributes:
30-
label: "🐛 问题描述 | Bug Description"
30+
label: '🐛 问题描述 | Bug Description'
3131
description: A clear and concise description of the bug.
3232
validations:
3333
required: true
3434
- type: textarea
3535
attributes:
36-
label: "🚦 期望结果 | Expected Behavior"
36+
label: '🚦 期望结果 | Expected Behavior'
3737
description: A clear and concise description of what you expected to happen.
3838
- type: textarea
3939
attributes:
40-
label: "📷 复现步骤 | Recurrence Steps"
40+
label: '📷 复现步骤 | Recurrence Steps'
4141
description: A clear and concise description of how to recurrence.
4242
- type: textarea
4343
attributes:
44-
label: "📝 补充信息 | Additional Information"
44+
label: '📝 补充信息 | Additional Information'
4545
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: "🌠 功能需求 Feature Request"
2-
description: "需求或建议 | Suggest an idea"
3-
title: "[Request] "
4-
labels: "🌠 Feature Request"
1+
name: '🌠 功能需求 Feature Request'
2+
description: '需求或建议 | Suggest an idea'
3+
title: '[Request] '
4+
labels: '🌠 Feature Request'
55
body:
66
- type: textarea
77
attributes:
8-
label: "🥰 需求描述 | Feature Description"
8+
label: '🥰 需求描述 | Feature Description'
99
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
1010
validations:
1111
required: true
1212
- type: textarea
1313
attributes:
14-
label: "🧐 解决方案 | Proposed Solution"
14+
label: '🧐 解决方案 | Proposed Solution'
1515
description: Describe the solution you'd like in a clear and concise manner.
1616
validations:
1717
required: true
1818
- type: textarea
1919
attributes:
20-
label: "📝 补充信息 | Additional Information"
20+
label: '📝 补充信息 | Additional Information'
2121
description: Add any other context about the problem here.

.github/ISSUE_TEMPLATE/3_question.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: "😇 疑问或帮助 Help Wanted"
2-
description: "疑问或需要帮助 | Need help"
3-
title: "[Question] "
4-
labels: "😇 Help Wanted"
1+
name: '😇 疑问或帮助 Help Wanted'
2+
description: '疑问或需要帮助 | Need help'
3+
title: '[Question] '
4+
labels: '😇 Help Wanted'
55
body:
66
- type: textarea
77
attributes:
8-
label: "🧐 问题描述 | Proposed Solution"
8+
label: '🧐 问题描述 | Proposed Solution'
99
description: A clear and concise description of the proplem.
1010
validations:
1111
required: true
1212
- type: textarea
1313
attributes:
14-
label: "📝 补充信息 | Additional Information"
14+
label: '📝 补充信息 | Additional Information'
1515
description: Add any other context about the problem here.

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
version: 2
22
updates:
33
- package-ecosystem: npm
4-
directory: "/"
4+
directory: '/'
55
schedule:
66
interval: weekly
7-
time: "19:00"
7+
time: '19:00'
88
timezone: 'Asia/Shanghai'
99
open-pull-requests-limit: 10
1010
versioning-strategy: increase
1111

12-
- package-ecosystem: "github-actions"
13-
directory: "/"
12+
- package-ecosystem: 'github-actions'
13+
directory: '/'
1414
schedule:
1515
interval: monthly
16-
time: "19:00"
16+
time: '19:00'
1717
timezone: 'Asia/Shanghai'

.github/workflows/contributor-help.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Contributor Helper
22

33
on:
44
# 🌏 Think about the planet! No need to update stats too frequently
5-
schedule: [{cron: "0 18 * * *"}]
5+
schedule: [{ cron: '0 18 * * *' }]
66
# 💡 The following line lets you run workflow manually from the action tab!
77
workflow_dispatch:
88
jobs:

0 commit comments

Comments
 (0)