Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump the vite group across 1 directory with 3 updates#13833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJul 8, 2024

Bumps the vite group with 3 updates in the /site directory:@vitejs/plugin-react,vite andvite-plugin-checker.

Updates@vitejs/plugin-react from 4.1.0 to 4.3.1

Release notes

Sourced from@​vitejs/plugin-react's releases.

v4.3.1

Fix support for React Compiler with React 18

The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a customruntimeModule:https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43

When using a customruntimeModule, the plugin will not try to pre-optimizereact/compiler-runtime dependency.

Reminder: Vite expect code outside ofnode_modules to be ESM, so you will need to update the gist withimport React from 'react'.

v4.3.0

Fix support for React compiler

Don't setretainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools likevite-plugin-react-click-to-component to work, you should update your config to something like:

exportdefaultdefineConfig(({ command})=>{constbabelPlugins=[['babel-plugin-react-compiler',{}]]if(command==='serve'){babelPlugins.push(['@babel/plugin-transform-react-jsx-development',{}])}return{plugins:[react({babel:{plugins:babelPlugins}})],}})

Support HMR for class components

This is a long overdue and should fix some issues people had with HMR when migrating from CRA.

v4.2.1

Remove generic parameter onPlugin to avoid type error with Rollup 4/Vite 5 andskipLibCheck: false.

I expect very few people to currently use this feature, but if you are extending the React plugin viaapi object, you can get back the typing of the hook by importingViteReactPluginApi:

importtype{Plugin}from'vite'importtype{ViteReactPluginApi}from'@vitejs/plugin-react'exportconstsomePlugin:Plugin={name:'some-plugin',api:{reactBabel:(babelConfig)=>{babelConfig.plugins.push('some-babel-plugin')},}satisfiesViteReactPluginApi,}

... (truncated)

Changelog

Sourced from@​vitejs/plugin-react's changelog.

4.3.1 (2024-06-10)

Fix support for React Compiler with React 18

The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a customruntimeModule:https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43

When using a customruntimeModule, the plugin will not try to pre-optimizereact/compiler-runtime dependency.

Reminder: Vite expect code outside ofnode_modules to be ESM, so you will need to update the gist withimport React from 'react'.

4.3.0 (2024-05-22)

Fix support for React compiler

Don't setretainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools likevite-plugin-react-click-to-component to work, you should update your config to something like:

exportdefaultdefineConfig(({ command})=>{constbabelPlugins=[['babel-plugin-react-compiler',{}]]if(command==='serve'){babelPlugins.push(['@babel/plugin-transform-react-jsx-development',{}])}return{plugins:[react({babel:{plugins:babelPlugins}})],}})

Support HMR for class components

This is a long overdue and should fix some issues people had with HMR when migrating from CRA.

4.2.1 (2023-12-04)

Remove generic parameter onPlugin to avoid type error with Rollup 4/Vite 5 andskipLibCheck: false.

I expect very few people to currently use this feature, but if you are extending the React plugin viaapi object, you can get back the typing of the hook by importingViteReactPluginApi:

importtype{Plugin}from'vite'importtype{ViteReactPluginApi}from'@vitejs/plugin-react'exportconstsomePlugin:Plugin={name:'some-plugin',api:{reactBabel:(babelConfig)=>{babelConfig.plugins.push('some-babel-plugin')},}satisfiesViteReactPluginApi,</tr></table>

... (truncated)

Commits

Updatesvite from 4.5.3 to 5.3.3

Release notes

Sourced fromvite's releases.

create-vite@5.3.0

Please refer toCHANGELOG.md for details.

create-vite@5.2.3

Please refer toCHANGELOG.md for details.

create-vite@5.2.2

Please refer toCHANGELOG.md for details.

create-vite@5.2.1

Please refer toCHANGELOG.md for details.

create-vite@5.2.0

Please refer toCHANGELOG.md for details.

create-vite@5.1.0

Please refer toCHANGELOG.md for details.

create-vite@5.0.0

Please refer toCHANGELOG.md for details.

Changelog

Sourced fromvite's changelog.

5.3.3 (2024-07-03)

5.3.2 (2024-06-27)

5.3.1 (2024-06-14)

5.3.0 (2024-06-13)

Features

Performance

Fixes

... (truncated)

Commits

Updatesvite-plugin-checker from 0.6.0 to 0.7.1

Release notes

Sourced fromvite-plugin-checker's releases.

vite-plugin-checker@0.7.1

Patch Changes

vite-plugin-checker@0.7.0

Minor Changes

  • 0747729: fix: compatibility with vue-tsc 2.x

vite-plugin-checker@0.6.4

Patch Changes

  • 83e1028: Remove lodash-es from dependencies
  • b0cce16: fix: add explicitly ltr direction to the overlay

vite-plugin-checker@0.6.3

Patch Changes

  • e5a26d6: feat: support initially open overlay for errors
  • bc4fa05: Remove lodash per method packages
  • c5d5109: support eslint flat config

vite-plugin-checker@0.6.2

Patch Changes

  • ab70e33: fix config.overlay.panelStyle not be applied at runtime
  • bad24c7: add optional global configuration of root directory (#262)

vite-plugin-checker@0.6.1

Patch Changes

  • ec4366d: usevirtual: for virtual module
  • 154ca0f: Able to resolve tsconfig when only root specified in build mode, as well as vue-tsc.
  • b3e0055: Should respectserver.origin when it's provided.
  • e063617: Migrate runtime UI from svelte to vue, user should not aware this.
Commits
  • e4f2afe chore: next release (#334)
  • 2a0af74 refactor: reuse codeFrame helper in logger and deduplicate code (#350)
  • b4da388 ci: polish up
  • 75c40ef ci: add cron job to sync up with Volar (#353)
  • 52423b2 fix(vue-tsc): sync up runTsc (#352)
  • 78fc007 fix(vue-tsc): throw error and hint user when vue-tsc working with typescript ...
  • e881c44 fix: bump@​vitejs/plugin-vue to build runtime (#348)
  • 0dca489 build(deps): bump react and@​types/react (#342)
  • 802597c build(deps): bump pnpm/action-setup from 2 to 4 (#335)
  • 7b69a46 build(deps): bump actions/setup-node from 3 to 4
  • Additional commits viewable incompare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the vite group with 3 updates in the /site directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker).Updates `@vitejs/plugin-react` from 4.1.0 to 4.3.1- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react)Updates `vite` from 4.5.3 to 5.3.3- [Release notes](https://github.com/vitejs/vite/releases)- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)- [Commits](https://github.com/vitejs/vite/commits/v5.3.3/packages/vite)Updates `vite-plugin-checker` from 0.6.0 to 0.7.1- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases)- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md)- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.6.0...vite-plugin-checker@0.7.1)---updated-dependencies:- dependency-name: "@vitejs/plugin-react"  dependency-type: direct:development  update-type: version-update:semver-minor  dependency-group: vite- dependency-name: vite  dependency-type: direct:development  update-type: version-update:semver-major  dependency-group: vite- dependency-name: vite-plugin-checker  dependency-type: direct:development  update-type: version-update:semver-minor  dependency-group: vite...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot requested review froma team andBrunoQuaresma and removed request fora teamJuly 8, 2024 20:24
@kylecarbskylecarbs merged commiteafa8f5 intomainJul 8, 2024
29 checks passed
@kylecarbskylecarbs deleted the dependabot/npm_and_yarn/site/vite-0d3d423b12 branchJuly 8, 2024 22:25
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 8, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

@BrunoQuaresmaBrunoQuaresmaAwaiting requested review from BrunoQuaresmaBrunoQuaresma was automatically assigned from coder/ts

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp