增加 github 模板

This commit is contained in:
yuruo 2024-07-05 10:27:11 +08:00
parent 864e468f31
commit a2dda49778
6 changed files with 96 additions and 53 deletions

46
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,46 @@
---
name: '报告Bug 🐛'
about: 报告 @yuruotong1/autoMate 的 bug
title: '🐛[BUG]'
labels: '🐛 BUG'
assignees: ''
---
### 🐛 bug 描述
<!--
详细地描述 bug让大家都能理解
-->
### 📷 复现步骤
<!--
清晰描述复现步骤,让别人也能看到问题
-->
### 🏞 期望结果
<!--
描述你原本期望看到的结果
-->
### 💻 复现代码
<!--
提供可复现的代码,仓库,或线上示例
(可在下方 codesandbox 链接中添加你的最小可复现 demo)
-->
[可复现 demo](https://codesandbox.io/s/html2ksetch-demo-m53be?file=/src/Demo.tsx)
### © 版本信息
- @yuruotong1/autoMate 版本: [e.g. 1.0.0]
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
<!--
如截图等其他信息可以贴在这里
-->

View File

@ -0,0 +1,25 @@
---
name: '功能需求 ✨'
about: 对 @yuruotong1/autoMate 的需求或建议
title: '👑 [需求]'
labels: '👑 Feature'
assignees: ''
---
### 🥰 需求描述
<!--
详细地描述问题,让大家都能理解
-->
### 🧐 解决方案
<!--
如果你有解决方案,在这里清晰地阐述
-->
### 🚑 其他信息
<!--
如截图等其他信息可以贴在这里
-->

25
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@ -0,0 +1,25 @@
---
name: '疑问或需要帮助 ❓'
about: 对 @yuruotong1/autoMate 使用的疑问或需要帮助
title: '🧐[问题]'
labels: '🧐 Question'
assignees: ''
---
### 🧐 问题描述
<!--
详细地描述问题,让大家都能理解
-->
### 💻 示例代码
<!--
如果有必要,展示代码,线上示例,或仓库
-->
### 🚑 其他信息
<!--
如截图等其他信息可以贴在这里
-->

View File

@ -1,3 +0,0 @@
{
"recommendations": ["dbaeumer.vscode-eslint"]
}

39
.vscode/launch.json vendored
View File

@ -1,39 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
},
"runtimeArgs": ["--sourcemap"],
"env": {
"REMOTE_DEBUGGING_PORT": "9222"
}
},
{
"name": "Debug Renderer Process",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}/src/renderer",
"timeout": 60000,
"presentation": {
"hidden": true
}
}
],
"compounds": [
{
"name": "Debug All",
"configurations": ["Debug Main Process", "Debug Renderer Process"],
"presentation": {
"order": 1
}
}
]
}

11
.vscode/settings.json vendored
View File

@ -1,11 +0,0 @@
{
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}