Skip to content

Commit b7be28f

Browse files
authored
Merge branch 'main' into type_events
2 parents 85b7b71 + fe2ab1b commit b7be28f

File tree

724 files changed

+106927
-43656
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

724 files changed

+106927
-43656
lines changed

.circleci/config.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 66 deletions
This file was deleted.

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# update prettier & eslint config (#9162)
2+
bfe6b459d3a0ce6168611ee1ac7e6e789709df9d

.github/FUNDING.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
open_collective: vuejs
2-
patreon: evanyou
31
github: yyx990803
2+
open_collective: vuejs

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: "\U0001F41E Bug report"
2+
description: Create a report to help us improve
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
**Before You Start...**
8+
9+
This form is only for submitting bug reports. If you have a usage question
10+
or are unsure if this is really a bug, make sure to:
11+
12+
- Read the [docs](https://vuejs.org/)
13+
- Ask on [Discord Chat](https://chat.vuejs.org/)
14+
- Ask on [GitHub Discussions](https://github.com/vuejs/core/discussions)
15+
- Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/ask?tags=vue.js)
16+
17+
Also try to search for your issue - it may have already been answered or even fixed in the development branch.
18+
However, if you find that an old, closed issue still persists in the latest version,
19+
you should open a new issue using the form below instead of commenting on the old issue.
20+
- type: input
21+
id: version
22+
attributes:
23+
label: Vue version
24+
validations:
25+
required: true
26+
- type: input
27+
id: reproduction-link
28+
attributes:
29+
label: Link to minimal reproduction
30+
description: |
31+
The easiest way to provide a reproduction is by showing the bug in [The SFC Playground](https://play.vuejs.org/).
32+
If it cannot be reproduced in the playground and requires a proper build setup, try [StackBlitz](https://vite.new/vue).
33+
If neither of these are suitable, you can always provide a GitHub repository.
34+
35+
The reproduction should be **minimal** - i.e. it should contain only the bare minimum amount of code needed
36+
to show the bug. See [Bug Reproduction Guidelines](https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md) for more details.
37+
38+
Please do not just fill in a random link. The issue will be closed if no valid reproduction is provided.
39+
placeholder: Reproduction Link
40+
validations:
41+
required: true
42+
- type: textarea
43+
id: steps-to-reproduce
44+
attributes:
45+
label: Steps to reproduce
46+
description: |
47+
What do we need to do after opening your repro in order to make the bug happen? Clear and concise reproduction instructions are important for us to be able to triage your issue in a timely manner. Note that you can use [Markdown](https://guides.github.com/features/mastering-markdown/) to format lists and code.
48+
placeholder: Steps to reproduce
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: expected
53+
attributes:
54+
label: What is expected?
55+
validations:
56+
required: true
57+
- type: textarea
58+
id: actually-happening
59+
attributes:
60+
label: What is actually happening?
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: system-info
65+
attributes:
66+
label: System Info
67+
description: Output of `npx envinfo --system --npmPackages vue --binaries --browsers`
68+
render: shell
69+
placeholder: System, Binaries, Browsers
70+
- type: textarea
71+
id: additional-comments
72+
attributes:
73+
label: Any additional comments?
74+
description: e.g. some background/context of how you ran into this bug.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Create new issue
4-
url: https://new-issue.vuejs.org/?repo=vuejs/vue-next
5-
about: Please use the following link to create a new issue.
3+
- name: Feature Request
4+
url: https://github.com/vuejs/rfcs/discussions
5+
about: Suggest new features for consideration
6+
- name: Discord Chat
7+
url: https://chat.vuejs.org
8+
about: Ask questions and discuss with other Vue users in real time.
9+
- name: Questions & Discussions
10+
url: https://github.com/vuejs/core/discussions
11+
about: Use GitHub discussions for message-board style questions and discussions.
612
- name: Patreon
713
url: https://www.patreon.com/evanyou
814
about: Love Vue.js? Please consider supporting us via Patreon.

.github/bug-repro-guidelines.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## About Bug Reproductions
2+
3+
A bug reproduction is a piece of code that can run and demonstrate how a bug can happen.
4+
5+
### Text is not enough
6+
7+
It's impossible to fix a bug from mere text descriptions. First, it's very difficult to precisely describe a technical problem while keeping it easy to follow; Second, the real cause may very well be something that you forgot to even mention. A reproduction is the only way that can reliably help us understand what is going on, so please provide one.
8+
9+
### A repro must be runnable
10+
11+
Screenshots or videos are NOT reproductions! They only show that the bug exists, but do not provide enough information on why it happens. Only runnable code provides the most complete context and allows us to properly debug the scenario. That said, in some cases videos/gifs can help explain interaction issues that are hard to describe in text.
12+
13+
### A repro should be minimal
14+
15+
Some users would give us a link to a real project and hope we can help them figure out what is wrong. We generally do not accept such requests because:
16+
17+
You are already familiar with your codebase, but we are not. It is extremely time-consuming to hunt a bug in a big and unfamiliar codebase.
18+
19+
The problematic behavior may very well be caused by your code rather than by a bug in Vue.
20+
21+
A minimal reproduction means it demonstrates the bug, and the bug only. It should only contain the bare minimum amount of code that can reliably cause the bug. Try your best to get rid of anything that aren't directly related to the problem.
22+
23+
### How to create a repro
24+
25+
For Vue 3 core reproductions, try reproducing it in [The SFC Playground](https://play.vuejs.org/).
26+
27+
If it cannot be reproduced in the playground and requires a proper build setup, try [StackBlitz](https://vite.new/vue).
28+
29+
If neither of these are suitable, you can always provide a GitHub repository.

.github/commit-convention.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Messages must be matched by the following regex:
88

9-
``` js
9+
```regexp
1010
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
1111
```
1212

@@ -44,7 +44,7 @@ This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
4444

4545
### Full Message Format
4646

47-
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
47+
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
4848

4949
```
5050
<type>(<scope>): <subject>
@@ -74,9 +74,9 @@ The scope could be anything specifying the place of the commit change. For examp
7474

7575
The subject contains a succinct description of the change:
7676

77-
* use the imperative, present tense: "change" not "changed" nor "changes"
78-
* don't capitalize the first letter
79-
* no dot (.) at the end
77+
- use the imperative, present tense: "change" not "changed" nor "changes"
78+
- don't capitalize the first letter
79+
- no dot (.) at the end
8080

8181
### Body
8282

0 commit comments

Comments
 (0)