Skip to content

Commit da004f3

Browse files
committed
Merge branch 'main' into jinjiang/filter-include-node_modules
2 parents 0c8d7ed + c8ecad0 commit da004f3

File tree

467 files changed

+26762
-5654
lines changed

Some content is hidden

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

467 files changed

+26762
-5654
lines changed

.eslintignore

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

.eslintrc.cjs

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
name: "\U0001F41E Bug report"
22
description: Report an issue
33
labels: [pending triage]
4+
type: Bug
45
body:
56
- type: markdown
67
attributes:
78
value: |
89
Thanks for taking the time to fill out this bug report!
10+
- type: checkboxes
11+
id: plugins
12+
attributes:
13+
label: Related plugins
14+
description: Select the plugin which is related
15+
options:
16+
- label: |
17+
[plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react)
18+
- label: |
19+
[plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc)
20+
- label: |
21+
[plugin-react-oxc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-oxc)
922
- type: textarea
1023
id: bug-description
1124
attributes:
@@ -32,7 +45,7 @@ body:
3245
id: system-info
3346
attributes:
3447
label: System Info
35-
description: Output of `npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers`
48+
description: Output of `npx envinfo --system --npmPackages '{vite,@vitejs/*,rollup}' --binaries --browsers`
3649
render: shell
3750
placeholder: System, Binaries, Browsers
3851
validations:
@@ -46,6 +59,7 @@ body:
4659
- npm
4760
- yarn
4861
- pnpm
62+
- bun
4963
validations:
5064
required: true
5165
- type: textarea
@@ -77,13 +91,13 @@ body:
7791
required: true
7892
- label: Read the [Contributing Guidelines](https://github.com/vitejs/vite-plugin-react/blob/main/CONTRIBUTING.md).
7993
required: true
80-
- label: Read the [docs](https://vitejs.dev/guide).
94+
- label: Read the [docs](https://vite.dev/guide).
8195
required: true
8296
- label: Check that there isn't [already an issue](https://github.com/vitejs/vite-plugin-react/issues) that reports the same bug to avoid creating a duplicate.
8397
required: true
8498
- label: Make sure this is a Vite issue and not a framework-specific issue.
8599
required: true
86-
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite-plugin-react/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/).
100+
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite-plugin-react/discussions) or join our [Discord Chat Server](https://chat.vite.dev/).
87101
required: true
88102
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
89103
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Discord Chat
4-
url: https://chat.vitejs.dev
4+
url: https://chat.vite.dev
55
about: Ask questions and discuss with other Vite users in real time.
66
- name: Questions & Discussions
77
url: https://github.com/vitejs/vite-plugin-react/discussions

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
name: "\U0001F680 New feature proposal"
22
description: Propose a new feature
3-
labels: ["enhancement: pending triage"]
3+
labels: ["pending triage"]
4+
type: Feature
45
body:
56
- type: markdown
67
attributes:
78
value: |
89
Thanks for your interest in the project and taking the time to fill out this feature report!
10+
- type: checkboxes
11+
id: plugins
12+
attributes:
13+
label: Related plugins
14+
description: Select the plugin which is related
15+
options:
16+
- label: |
17+
[plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react)
18+
- label: |
19+
[plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc)
20+
- label: |
21+
[plugin-react-oxc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-oxc)
922
- type: textarea
1023
id: feature-description
1124
attributes:
@@ -41,7 +54,7 @@ body:
4154
required: true
4255
- label: Read the [Contributing Guidelines](https://github.com/vitejs/vite-plugin-react/blob/main/CONTRIBUTING.md).
4356
required: true
44-
- label: Read the [docs](https://vitejs.dev/guide).
57+
- label: Read the [docs](https://vite.dev/guide).
4558
required: true
4659
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
4760
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,14 @@
1-
<!-- Thank you for contributing! -->
2-
31
### Description
42

5-
<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->
6-
7-
### Additional context
8-
9-
<!-- e.g. is there anything you'd like reviewers to focus on? -->
10-
11-
---
12-
13-
### What is the purpose of this pull request? <!-- (put an "X" next to an item) -->
3+
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? -->
144

15-
- [ ] Bug fix
16-
- [ ] New Feature
17-
- [ ] Documentation update
18-
- [ ] Other
5+
<!----------------------------------------------------------------------
6+
Before creating the pull request, please make sure you do the following:
197
20-
### Before submitting the PR, please make sure you do the following
8+
- Read the Contributing Guidelines at https://github.com/vitejs/vite-plugin-react/blob/main/CONTRIBUTING.md.
9+
- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us reviewing it.
10+
- Update the corresponding documentation if needed.
11+
- Include relevant tests that fail without this PR but pass with it.
2112
22-
- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite-plugin-react/blob/main/CONTRIBUTING.md).
23-
- [ ] Read the [Pull Request Guidelines](https://github.com/vitejs/vite-plugin-react/blob/main/CONTRIBUTING.md#pull-request-guidelines) and follow the [PR Title Convention](https://github.com/vitejs/vite-plugin-react/blob/main/.github/commit-convention.md).
24-
- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
25-
- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
26-
- [ ] Ideally, include relevant tests that fail without this PR but pass with it.
13+
Thank you for contributing to Vite!
14+
----------------------------------------------------------------------->

.github/renovate.json5

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,51 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
3+
"extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
44
"labels": ["dependencies"],
55
"ignorePaths": ["**/__tests__/**"],
66
"rangeStrategy": "bump",
77
"packageRules": [
88
{
9-
"depTypeList": ["peerDependencies"],
9+
"matchDepTypes": ["peerDependencies"],
1010
"enabled": false,
1111
},
12+
{
13+
"matchFileNames": ["**/react-18/**", "**/compiler-react-18/**"],
14+
"ignoreDeps": ["react", "react-dom", "@types/react", "@types/react-dom"],
15+
},
16+
{
17+
"extends": ["monorepo:swc"],
18+
"groupName": "swc monorepo",
19+
"separateMajorMinor": false,
20+
},
21+
// renovate doesn't properly handle x.x.x-beta-hash-yyyymm version schema
22+
{
23+
"matchPackageNames": [
24+
"react-compiler-runtime",
25+
"babel-plugin-react-compiler",
26+
],
27+
"followTag": "latest",
28+
},
29+
{
30+
"matchDepTypes": ["action"],
31+
"pinDigests": true,
32+
"matchPackageNames": ["!actions/{/,}**", "!github/{/,}**"],
33+
},
1234
],
1335
"ignoreDeps": [
1436
// manually bumping
1537
"node",
16-
"pnpm",
38+
39+
"generouted", // testing lib shipping JSX (new version ship transpiled JS)
1740

1841
// breaking changes
1942
"source-map", // `source-map:v0.7.0+` needs more investigation
2043
"kill-port", // `kill-port:^2.0.0 has perf issues (#8392)
2144

2245
"prettier", // waiting for stable choice on ternaries
46+
47+
// plugin-rsc
48+
"react-router",
49+
"@react-router/dev",
2350
],
2451
}

0 commit comments

Comments
 (0)