Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.
I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:
import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.
Align jsx runtime for optimized dependencies
This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React in the scope.
Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.
Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.
I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:
import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.
Align jsx runtime for optimized dependencies
This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React in the scope.
Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the deps group in /example with 6 updates:
5.11.1
5.12.1
18.2.37
18.2.42
18.2.15
18.2.17
4.1.1
4.2.1
5.2.2
5.3.2
4.5.0
5.0.5
Updates
antd
from 5.11.1 to 5.12.1Release notes
Sourced from antd's releases.
... (truncated)
Changelog
Sourced from antd's changelog.
... (truncated)
Commits
e191962
docs: changelog 5.12.1 (#46251)4f9c576
fix: fix the padding of notification title when notification is closable (#46...7bd08ba
fix: less var (#46250)2d6ba24
docs: update docs (#46248)71ac290
docs: typo (#46242)d4a3dc6
docs: changelog 5.12.0 (#46236)2d67c0f
docs: site date client only (#46230)71152b0
chore: upgrade deps (#46224)d019521
chore: auto merge branches (#46232)f97cbff
chore: auto merge branches (#46229)Updates
@types/react
from 18.2.37 to 18.2.42Commits
Updates
@types/react-dom
from 18.2.15 to 18.2.17Commits
Updates
@vitejs/plugin-react
from 4.1.1 to 4.2.1Release notes
Sourced from
@vitejs/plugin-react
's releases.Changelog
Sourced from
@vitejs/plugin-react
's changelog.Commits
8b53547
release: plugin-react@4.2.1ec63066
chore(deps): update dependency vite to v5 (#263)8512995
fix(deps): update all non-major dependencies (#259)7f53c63
fix: remove plugin type extension (#269)3748fc7
release: plugin-react@4.2.0fb2b735
fix(deps): update all non-major dependencies (#254)96b66ed
fix: align jsx runtime for optimized dependencies (#256)f10a577
feat: update peer dep for vite 5 (#257)9956fb5
refactor: shorten react import regex pattern (#250)Updates
typescript
from 5.2.2 to 5.3.2Release notes
Sourced from typescript's releases.
Commits
27047e3
Update LKG.d09b1bf
Pick #56449 into release-5.3 (#56451)e2a5d45
Update LKG.756efd2
Fixes for release-5.3. (#56424)88f80c7
Update LKG5823785
Merge remote-tracking branch 'origin/main' into release-5.33e12250
Allow of inawait using
declarations in for-of loops (#55558)b86883f
Bump version to 5.3.1-rc and LKGe2234f6
Update LKG826bea9
Merge remote-tracking branch 'origin/main' into release-5.3Updates
vite
from 4.5.0 to 5.0.5Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
fa79767
release: v5.0.5ad3adda
fix(deps): update all non-major dependencies (#15233)d93a211
feat: add '*.mov' to client.d.ts (#15189)5f2cdec
fix(hmr): don't consider CSS dep as a circular dep (#15229)ee12f30
chore: replace 'some' with 'includes' in resolveEnvPrefix (#15220)14be75f
fix: json error with position (#15225)0348137
refactor: use dedicated regex methods (#15228)5b85040
fix: proxy html path should be encoded (#15223)1df1fd1
perf: skip computing sourceRoot in injectSourcesContent (#15207)7fd7c6c
feat(server): allow disabling built-in shortcuts (#15218)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show