Skip to content

Commit 56a900e

Browse files
committed
chore: merge main
2 parents 36a8ca4 + 3716ea8 commit 56a900e

File tree

28 files changed

+496
-479
lines changed

28 files changed

+496
-479
lines changed

docs/guide/dep-pre-bundling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You can further customize esbuild too with the [`optimizeDeps.esbuildOptions` op
7070

7171
Vite caches the pre-bundled dependencies in `node_modules/.vite`. It determines whether it needs to re-run the pre-bundling step based on a few sources:
7272

73-
- Package manager lockfile content, e.g. `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` or `bun.lockb`.
73+
- Package manager lockfile content, e.g. `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` or `bun.lock`.
7474
- Patches folder modification time.
7575
- Relevant fields in your `vite.config.js`, if present.
7676
- `NODE_ENV` value.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"oxc-minify": "^0.74.0",
1616
"vitepress": "^2.0.0-alpha.7",
1717
"vitepress-plugin-group-icons": "^1.6.1",
18-
"vitepress-plugin-llms": "^1.6.0",
18+
"vitepress-plugin-llms": "^1.7.0",
1919
"vue": "^3.5.17"
2020
}
2121
}

eslint.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @ts-check
2-
import { builtinModules, createRequire } from 'node:module'
2+
import { createRequire } from 'node:module'
33
import eslint from '@eslint/js'
44
import pluginN from 'eslint-plugin-n'
55
import pluginImportX from 'eslint-plugin-import-x'
@@ -115,6 +115,7 @@ export default tseslint.config(
115115
allowModules: ['vite'],
116116
},
117117
],
118+
'n/prefer-node-protocol': 'error',
118119

119120
'@typescript-eslint/ban-ts-comment': 'error',
120121
'@typescript-eslint/no-unsafe-function-type': 'off',
@@ -159,10 +160,6 @@ export default tseslint.config(
159160
'@typescript-eslint/prefer-for-of': 'off',
160161
'@typescript-eslint/prefer-function-type': 'off',
161162

162-
'import-x/no-nodejs-modules': [
163-
'error',
164-
{ allow: builtinModules.map((mod) => `node:${mod}`) },
165-
],
166163
'import-x/no-duplicates': 'error',
167164
'import-x/order': [
168165
'error',

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"ci-docs": "pnpm build && pnpm docs-build"
4141
},
4242
"devDependencies": {
43-
"@eslint/js": "^9.30.0",
43+
"@eslint/js": "^9.30.1",
4444
"@type-challenges/utils": "^0.1.1",
4545
"@types/babel__core": "^7.20.5",
4646
"@types/babel__preset-env": "^7.10.0",
@@ -50,26 +50,26 @@
5050
"@types/estree": "^1.0.8",
5151
"@types/etag": "^1.8.4",
5252
"@types/less": "^3.0.8",
53-
"@types/node": "^22.15.34",
53+
"@types/node": "^22.16.0",
5454
"@types/picomatch": "^4.0.0",
5555
"@types/stylus": "^0.48.43",
5656
"@types/ws": "^8.18.1",
5757
"@vitejs/release-scripts": "^1.6.0",
58-
"eslint": "^9.30.0",
58+
"eslint": "^9.30.1",
5959
"eslint-plugin-import-x": "^4.16.1",
60-
"eslint-plugin-n": "^17.20.0",
60+
"eslint-plugin-n": "^17.21.0",
6161
"eslint-plugin-regexp": "^2.9.0",
6262
"execa": "^9.6.0",
63-
"globals": "^16.2.0",
63+
"globals": "^16.3.0",
6464
"lint-staged": "^16.1.2",
6565
"picocolors": "^1.1.1",
66-
"playwright-chromium": "^1.53.1",
66+
"playwright-chromium": "^1.53.2",
6767
"prettier": "3.6.2",
6868
"rollup": "^4.40.0",
6969
"simple-git-hooks": "^2.13.0",
7070
"tsx": "^4.20.3",
7171
"typescript": "~5.7.2",
72-
"typescript-eslint": "^8.35.0",
72+
"typescript-eslint": "^8.35.1",
7373
"vite": "workspace:*",
7474
"vitest": "^3.2.4"
7575
},

packages/create-vite/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## <small>[7.0.1](https://github.com/vitejs/vite/compare/[email protected]@7.0.1) (2025-07-08)</small>
2+
### Features
3+
4+
* **create-vite:** update rsc template to use `@vitejs/plugin-rsc` ([#20351](https://github.com/vitejs/vite/issues/20351)) ([b9ebc96](https://github.com/vitejs/vite/commit/b9ebc967bb9e8137dedb7d1304e4f693a52f1c03))
5+
6+
### Bug Fixes
7+
8+
* **deps:** update all non-major dependencies ([#20324](https://github.com/vitejs/vite/issues/20324)) ([3e81af3](https://github.com/vitejs/vite/commit/3e81af38a80c7617aba6bf3300d8b4267570f9cf))
9+
* **deps:** update all non-major dependencies ([#20366](https://github.com/vitejs/vite/issues/20366)) ([43ac73d](https://github.com/vitejs/vite/commit/43ac73da27b3907c701e95e6a7d28fde659729ec))
10+
11+
### Miscellaneous Chores
12+
13+
* **deps:** update rolldown-related dependencies ([#20323](https://github.com/vitejs/vite/issues/20323)) ([30d2f1b](https://github.com/vitejs/vite/commit/30d2f1b38c72387ffdca3ee4746730959a020b59))
14+
* group commits by category in changelog ([#20310](https://github.com/vitejs/vite/issues/20310)) ([41e83f6](https://github.com/vitejs/vite/commit/41e83f62b1adb65f5af4c1ec006de1c845437edc))
15+
116
## [7.0.0](https://github.com/vitejs/vite/compare/[email protected]@7.0.0) (2025-06-24)
217
### ⚠ BREAKING CHANGES
318

packages/create-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-vite",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"type": "module",
55
"license": "MIT",
66
"author": "Evan You",

packages/create-vite/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ const FRAMEWORKS: Framework[] = [
158158
'npm exec degit redwoodjs/sdk/starters/standard TARGET_DIR',
159159
},
160160
{
161-
name: '@hiogawa/vite-rsc',
162-
display: '@hiogawa/vite-rsc ↗',
161+
name: 'rsc',
162+
display: 'RSC ↗',
163163
color: magenta,
164164
customCommand:
165-
'npm exec degit hi-ogawa/vite-plugins/packages/rsc/examples/starter TARGET_DIR',
165+
'npm exec degit vitejs/plugin-react/packages/plugin-rsc/examples/starter TARGET_DIR',
166166
},
167167
],
168168
},

packages/create-vite/template-react-ts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"react-dom": "^19.1.0"
1515
},
1616
"devDependencies": {
17-
"@eslint/js": "^9.30.0",
17+
"@eslint/js": "^9.30.1",
1818
"@types/react": "^19.1.8",
1919
"@types/react-dom": "^19.1.6",
2020
"@vitejs/plugin-react": "^4.6.0",
21-
"eslint": "^9.30.0",
21+
"eslint": "^9.30.1",
2222
"eslint-plugin-react-hooks": "^5.2.0",
2323
"eslint-plugin-react-refresh": "^0.4.20",
24-
"globals": "^16.2.0",
24+
"globals": "^16.3.0",
2525
"typescript": "~5.8.3",
26-
"typescript-eslint": "^8.35.0",
26+
"typescript-eslint": "^8.35.1",
2727
"vite": "npm:rolldown-vite@^7.0.5"
2828
}
2929
}

packages/create-vite/template-react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
"react-dom": "^19.1.0"
1515
},
1616
"devDependencies": {
17-
"@eslint/js": "^9.30.0",
17+
"@eslint/js": "^9.30.1",
1818
"@types/react": "^19.1.8",
1919
"@types/react-dom": "^19.1.6",
2020
"@vitejs/plugin-react": "^4.6.0",
21-
"eslint": "^9.30.0",
21+
"eslint": "^9.30.1",
2222
"eslint-plugin-react-hooks": "^5.2.0",
2323
"eslint-plugin-react-refresh": "^0.4.20",
24-
"globals": "^16.2.0",
24+
"globals": "^16.3.0",
2525
"vite": "npm:rolldown-vite@^7.0.5"
2626
}
2727
}

packages/create-vite/template-svelte-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@sveltejs/vite-plugin-svelte": "^5.1.0",
1414
"@tsconfig/svelte": "^5.0.4",
15-
"svelte": "^5.34.9",
15+
"svelte": "^5.35.2",
1616
"svelte-check": "^4.2.2",
1717
"typescript": "~5.8.3",
1818
"vite": "npm:rolldown-vite@^7.0.5"

0 commit comments

Comments
 (0)