Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: 重构 #187

Closed
15 of 19 tasks
sj817 opened this issue Oct 11, 2024 · 0 comments
Closed
15 of 19 tasks

Feat: 重构 #187

sj817 opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sj817
Copy link
Contributor

sj817 commented Oct 11, 2024

  • 重构所有api名称 保持小驼峰的命名风格
  • 配置文件 新增guild.yaml private.yaml direct.yaml
  • 模块分类
  • 消息事件 细分为频道、私信、私聊、群聊
  • 模块加载方式修改为主动加载
  • 将包修改为可作为纯npm加载
  • 重构ts热开发模板
  • 构建一个@karinjs/karin-cli
  • 重构env环境加载
  • package.json添加配置项 可配置对应的文件夹是否生成 data、config、temp、resources
  • 将所有 data、config、temp、resources 重构已插件名称为根路径包裹起来 适配ts热开发
  • 移除class的上下文方法 统一使用karin.ctx
  • 移除class的定时任务方法 统一使用karin.task
  • onebot11正向、http鉴权
  • 中间件适配
  • 渲染器适配
  • 文档重构
  • adapter-icqq adapter-qqbot 重构
  • db
@sj817 sj817 added the enhancement New feature or request label Oct 11, 2024
@sj817 sj817 self-assigned this Oct 11, 2024
@sj817 sj817 pinned this issue Nov 17, 2024
@KarinJS KarinJS locked and limited conversation to collaborators Nov 17, 2024
@sj817 sj817 closed this as completed Jan 15, 2025
@sj817 sj817 unpinned this issue Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant