diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f9128faa16db05..0e7f412b35bb1d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,39 +1,63 @@ --- -name: Bug report -about: Create a report to help us improve +name: "\U0001F41E Bug report" +about: Report an issue with Vite title: '' labels: 'bug: pending triage' assignees: '' --- + -**⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.** +### Describe the bug -- [ ] Read [the docs](https://vitejs.dev/guide/). -- [ ] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead. -- [ ] This is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/). + + + + +### Reproduction + + -A clear and concise description of what the bug is. +### System Info -## Reproduction +Output of `npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers`: -Please provide a link to a repo that can reproduce the problem you ran into. +```node -A reproduction is **required** unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed. +``` -## System Info +Used package manager: -- `vite` version: -- Operating System: -- Node version: -- Package manager (npm/yarn/pnpm) and version: +### Logs -## Logs (Optional if provided reproduction) + + +```node + +``` + +--- + +### Before submitting the issue, please make sure you do the following + +- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md). +- [ ] Read the [docs](https://vitejs.dev/guide). +- [ ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. +- [ ] Provide a description in this issue that describes the bug. +- [ ] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead. +- [ ] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/). diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d61558a..5d7a1f5413ca4c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,20 +1,25 @@ --- -name: Feature request -about: Suggest an idea for this project +name: "\U0001F680 New feature proposal" +about: Propose a new feature to be added to Vite title: '' -labels: '' +labels: 'feat: pending triage' assignees: '' - --- -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] +### Clear and concise description of the problem + + + + + +### Suggested solution + + + +### Alternative -**Describe the solution you'd like** -A clear and concise description of what you want to happen. + -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. +### Additional context -**Additional context** -Add any other context or screenshots about the feature request here. + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1f71cf3bc9d73a..ba1443320451f9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,12 +1,14 @@ -### Before submitting the PR, please make sure you do the following +### Description -- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md). -- [ ] Read the [Pull Request Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md#pull-request-guidelines) and follow the [Commit Convention](https://github.com/vitejs/vite/blob/main/.github/commit-convention.md). -- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. -- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). -- [ ] Ideally, include relevant tests that fail without this PR but pass with it. + + +### Additional context + + + +--- ### What is the purpose of this pull request? @@ -15,12 +17,10 @@ - [ ] Documentation update - [ ] Other ---- - -### Description - - - -### Additional context +### Before submitting the PR, please make sure you do the following - +- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md). +- [ ] Read the [Pull Request Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md#pull-request-guidelines) and follow the [Commit Convention](https://github.com/vitejs/vite/blob/main/.github/commit-convention.md). +- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. +- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). +- [ ] Ideally, include relevant tests that fail without this PR but pass with it.