From 260260e68731385b6327fadf7f309978954966b6 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 13 Mar 2026 10:53:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=89=80=E6=9C=89?= =?UTF-8?q?=20GitHub=20=E5=92=8C=20Gitee=20=E5=B9=B3=E5=8F=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这些配置文件(包括 issue 模板、CI/CD 工作流、社区规范等)是特定于平台(GitHub/Gitee)的,与核心代码库功能无关。移除它们可以简化项目结构,避免维护多个平台的配置,并专注于核心代码开发。 --- .gitee/ISSUE_TEMPLATE/bug.yml | 50 ------ .gitee/ISSUE_TEMPLATE/config.yml | 1 - .gitee/ISSUE_TEMPLATE/feature.yml | 43 ----- .github/CODEOWNERS | 14 -- .github/actions/setup-node/action.yml | 40 ----- .github/commit-convention.md | 89 ---------- .github/config.yml | 39 ----- .github/contributing.md | 40 ----- .github/dependabot.yml | 17 -- .github/pull_request_template.md | 33 ---- .github/release-drafter.yml | 61 ------- .github/semantic.yml | 13 -- .github/workflows/build.yml | 48 ------ .github/workflows/changeset-version.yml | 42 ----- .github/workflows/ci.yml | 125 -------------- .github/workflows/codeql.yml | 94 ----------- .github/workflows/deploy.yml | 172 -------------------- .github/workflows/draft.yml | 25 --- .github/workflows/issue-close-require.yml | 31 ---- .github/workflows/issue-labeled.yml | 46 ------ .github/workflows/lock.yml | 24 --- .github/workflows/release-tag.yml | 80 --------- .github/workflows/rerun.yml | 19 --- .github/workflows/semantic-pull-request.yml | 41 ----- .github/workflows/stale.yml | 19 --- 25 files changed, 1206 deletions(-) delete mode 100644 .gitee/ISSUE_TEMPLATE/bug.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/config.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/feature.yml delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/actions/setup-node/action.yml delete mode 100644 .github/commit-convention.md delete mode 100644 .github/config.yml delete mode 100644 .github/contributing.md delete mode 100644 .github/dependabot.yml delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/release-drafter.yml delete mode 100644 .github/semantic.yml delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/changeset-version.yml delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/deploy.yml delete mode 100644 .github/workflows/draft.yml delete mode 100644 .github/workflows/issue-close-require.yml delete mode 100644 .github/workflows/issue-labeled.yml delete mode 100644 .github/workflows/lock.yml delete mode 100644 .github/workflows/release-tag.yml delete mode 100644 .github/workflows/rerun.yml delete mode 100644 .github/workflows/semantic-pull-request.yml delete mode 100644 .github/workflows/stale.yml diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml deleted file mode 100644 index d9e29c97f..000000000 --- a/.gitee/ISSUE_TEMPLATE/bug.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Bug 反馈 -description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 -title: '[Bug]: ' -labels: ['bug'] -body: - - type: markdown - attributes: - value: | - 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: - - https://... - - type: checkboxes - attributes: - label: 这个问题是否已经存在? - options: - - label: 我已经搜索过现有的问题 (https://gitee.com/../../issues) - required: true - - type: checkboxes - attributes: - label: 我已经给项目点赞(star) - options: - - label: 未点赞(star)问题直接删除, 不予理会 - required: true - - type: checkboxes - attributes: - label: 基础框架问题(如布局,modal,drawer等)请提交给vben官方 - options: - - label: 我确认是业务问题而非基础框架问题 - required: true - - type: textarea - attributes: - label: 如何复现 - description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 - placeholder: | - 1. ... - 2. ... - 3. ... - validations: - required: true - - type: textarea - attributes: - label: 预期结果 - description: 请告诉我们你预期会发生什么。 - validations: - required: true - - type: textarea - attributes: - label: 截图或视频 - description: 如果可以的话,上传任何关于 bug 的截图。 - value: | - [在这里上传图片] diff --git a/.gitee/ISSUE_TEMPLATE/config.yml b/.gitee/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 0086358db..000000000 --- a/.gitee/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: true diff --git a/.gitee/ISSUE_TEMPLATE/feature.yml b/.gitee/ISSUE_TEMPLATE/feature.yml deleted file mode 100644 index 82e547b75..000000000 --- a/.gitee/ISSUE_TEMPLATE/feature.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: 功能建议 -description: 对本项目提出一个功能建议 -title: '[功能建议]: ' -labels: ['enhancement'] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你的功能建议是否和某个问题相关? - description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 - validations: - required: false - - type: textarea - id: desired-solution - attributes: - label: 你希望看到什么解决方案? - description: 清晰并简洁地描述你希望发生的事情。 - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: 你考虑过哪些替代方案? - description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: 你有其他上下文或截图吗? - description: 在此处添加有关功能请求的任何其他上下文或截图。 - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献回到上游社区 - required: false diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index b95ff9460..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,14 +0,0 @@ -# default onwer -* anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com - -# vben core onwer -/.github/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com -/.vscode/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com -/packages/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com -/packages/@core/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com -/internal/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com -/scripts/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com jinmao88@qq.com - -# vben team onwer -apps/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com @vbenjs/team-v5 jinmao88@qq.com -docs/ anncwb@126.com vince292007@gmail.com netfan@foxmail.com @vbenjs/team-v5 jinmao88@qq.com diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml deleted file mode 100644 index d208b000a..000000000 --- a/.github/actions/setup-node/action.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: 'Setup Node' - -description: 'Setup node and pnpm' - -runs: - using: 'composite' - steps: - - name: Install pnpm - uses: pnpm/action-setup@v4 - - - name: Install Node.js - uses: actions/setup-node@v6 - with: - node-version-file: .node-version - cache: 'pnpm' - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache - if: ${{ github.ref_name == 'main' }} - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - uses: actions/cache/restore@v4 - if: ${{ github.ref_name != 'main' }} - with: - path: ${{ env.STORE_PATH }} - key: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - shell: bash - run: pnpm install --frozen-lockfile diff --git a/.github/commit-convention.md b/.github/commit-convention.md deleted file mode 100644 index a1a969e99..000000000 --- a/.github/commit-convention.md +++ /dev/null @@ -1,89 +0,0 @@ -## Git Commit Message Convention - -> This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular). - -#### TL;DR: - -Messages must be matched by the following regex: - -```js -/^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip): .{1,50}/; -``` - -#### Examples - -Appears under "Features" header, `dev` subheader: - -``` -feat(dev): add 'comments' option -``` - -Appears under "Bug Fixes" header, `dev` subheader, with a link to issue #28: - -``` -fix(dev): fix dev error - -close #28 -``` - -Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation: - -``` -perf(build): remove 'foo' option - -BREAKING CHANGE: The 'foo' option has been removed. -``` - -The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header. - -``` -revert: feat(compiler): add 'comments' option - -This reverts commit 667ecc1654a317a13331b17617d973392f415f02. -``` - -### Full Message Format - -A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: - -``` -(): - - - -