From a93ac5f4b3ab51a9d43b390dec0aa01a4b8986b3 Mon Sep 17 00:00:00 2001 From: UE-DND <100979820+UE-DND@users.noreply.github.com> Date: Wed, 30 Sep 2026 15:33:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E8=A1=A5=E5=85=85=20Issue=20?= =?UTF-8?q?=E4=B8=8E=20PR=20=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.md | 37 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.md | 29 ++++++++++++++++++ .github/pull_request_template.md | 27 +++++++++++++++++ 4 files changed, 98 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..f6a86d5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,37 @@ +--- +name: 缺陷报告 +about: 报告 CAS-SDK 的运行行为、类型定义或打包产物问题 +title: "[缺陷] " +labels: bug +assignees: "" +--- + +## 问题描述 + + + +## 复现步骤 + +1. 使用的 SDK 入口或方法: +2. 执行的操作: +3. 实际结果: + +## 最小复现代码 + +```ts +// 请使用合成数据,不要粘贴真实账号、密码、Cookie、ticket 或个人信息。 +``` + +## 环境信息 + +- **CAS-SDK 版本**: +- **运行时及版本**(Node.js / 浏览器等): +- **操作系统**: +- **模块格式**(ESM / CommonJS / 仅加密模块): +- **安装来源**(GitHub Packages / Git 标签等): + +## 错误日志 + +```text + +``` diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..6e5baba --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: CAS-SDK 使用说明 + url: https://github.com/CQUT-OpenProject/CAS-SDK#readme + about: 提交 Issue 前,请先查看 README 中的用法与运行时支持范围。 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..d218ecc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,29 @@ +--- +name: 功能请求 +about: 为 CAS-SDK 提出 API、运行时支持或开发体验方面的建议 +title: "[功能] " +labels: enhancement +assignees: "" +--- + +## 需求背景 + + + +## 建议的解决方案 + + + +## 涉及范围 + +- [ ] 登录客户端与认证流程 +- [ ] Cookie / HTTP +- [ ] RSA、密码加密或加密模块 +- [ ] CAS XML 解析 +- [ ] ESM / CommonJS 构建与类型声明 +- [ ] Node.js / 浏览器等运行时支持 +- [ ] 文档或开发体验 + +## 兼容性与替代方案 + + diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..5bf3e30 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,27 @@ +## 背景 + + + +## 变更 + + + +## 兼容性与迁移 + + + +## 验证 + + + +## 发布说明(仅版本发布填写) + + + +- 版本:X.Y.Z +- 发布摘要: