app-sdk
app-sdk copied to clipboard
Bump vite and @vitejs/plugin-react
Bumps vite and @vitejs/plugin-react. These dependencies needed to be updated together.
Updates vite
from 4.0.5 to 5.1.4
Release notes
Sourced from vite's releases.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
5.1.4 (2024-02-21)
- perf: remove unnecessary regex s modifier (#15766) (8dc1b73), closes #15766
- fix: fs cached checks disabled by default for yarn pnp (#15920) (8b11fea), closes #15920
- fix: resolve directory correctly when
fs.cachedChecks: true
(#15983) (4fe971f), closes #15983- fix: srcSet with optional descriptor (#15905) (81b3bd0), closes #15905
- fix(deps): update all non-major dependencies (#15959) (571a3fd), closes #15959
- fix(watch): build watch fails when outDir is empty string (#15979) (1d263d3), closes #15979
5.1.3 (2024-02-15)
- fix: cachedTransformMiddleware for direct css requests (#15919) (5099028), closes #15919
- refactor(runtime): minor tweaks (#15904) (63a39c2), closes #15904
- refactor(runtime): seal ES module namespace object instead of feezing (#15914) (4172f02), closes #15914
5.1.2 (2024-02-14)
- fix: normalize import file path info (#15772) (306df44), closes #15772
- fix(build): do not output build time when build fails (#15711) (added3e), closes #15711
- fix(runtime): pass path instead of fileURL to
isFilePathESM
(#15908) (7b15607), closes #15908- fix(worker): support UTF-8 encoding in inline workers (fixes #12117) (#15866) (570e0f1), closes #12117 #15866
- chore: update license file (#15885) (d9adf18), closes #15885
- chore(deps): update all non-major dependencies (#15874) (d16ce5d), closes #15874
- chore(deps): update dependency dotenv-expand to v11 (#15875) (642d528), closes #15875
5.1.1 (2024-02-09)
- fix: empty CSS file was output when only .css?url is used (#15846) (b2873ac), closes #15846
- fix: skip not only .js but also .mjs manifest entries (#15841) (3d860e7), closes #15841
- chore: post 5.1 release edits (#15840) (9da6502), closes #15840
5.1.0 (2024-02-08)
Vite 5.1 is out! Read the announcement blog post at https://vitejs.dev/blog/announcing-vite5-1!
- chore: revert #15746 (#15839) (ed875f8), closes #15746 #15839
- fix: pass
customLogger
toloadConfigFromFile
(fix #15824) (#15831) (55a3427), closes #15824 #15831- fix(deps): update all non-major dependencies (#15803) (e0a6ef2), closes #15803
- refactor: remove
vite build --force
(#15837) (f1a4242), closes #15837
... (truncated)
Commits
0137ea0
release: v5.1.48dc1b73
perf: remove unnecessary regex s modifier (#15766)4fe971f
fix: resolve directory correctly whenfs.cachedChecks: true
(#15983)1d263d3
fix(watch): build watch fails when outDir is empty string (#15979)81b3bd0
fix: srcSet with optional descriptor (#15905)571a3fd
fix(deps): update all non-major dependencies (#15959)8b11fea
fix: fs cached checks disabled by default for yarn pnp (#15920)bf39527
release: v5.1.35099028
fix: cachedTransformMiddleware for direct css requests (#15919)4172f02
refactor(runtime): seal ES module namespace object instead of feezing (#15914)- Additional commits viewable in compare view
Updates @vitejs/plugin-react
from 3.0.1 to 4.2.1
Release notes
Sourced from @vitejs/plugin-react
's releases.
v4.2.1
Remove generic parameter on
Plugin
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 via
api
object, you can get back the typing of the hook by importingViteReactPluginApi
:import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react'
export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, }
v4.2.0
Update peer dependency range to target Vite 5
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.
v4.1.1
- Enable retainLines to get correct line numbers for jsxDev (fix #235)
v4.1.0
- Add
@types/babel__cores
to dependencies (fix #211)- Improve build perf when not using Babel plugins by lazy loading
@babel/core
#212- Better invalidation message when an export is added & fix HMR for export of nullish values #215
- Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
- The build output now contains a
index.d.cts
file so you don't get types errors when settingmoduleResolution
tonode16
ornodenext
in your tsconfig (we recommend usingbundler
which is more close to how Vite works)v4.0.4
- Fix #198: Enable Babel if presets list is not empty
v4.0.3
- Revert #108: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.
v4.0.2
- Fix fast-refresh for files that are transformed into jsx (#188)
[email protected]
... (truncated)
Changelog
Sourced from @vitejs/plugin-react
's changelog.
4.2.1 (2023-12-04)
Remove generic parameter on
Plugin
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 via
api
object, you can get back the typing of the hook by importingViteReactPluginApi
:import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react'
export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, }
4.2.0 (2023-11-16)
Update peer dependency range to target Vite 5
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.
4.1.1 (2023-11-02)
- Enable retainLines to get correct line numbers for jsxDev (fix #235)
4.1.0 (2023-09-24)
- Add
@types/babel__cores
to dependencies (fix #211)- Improve build perf when not using Babel plugins by lazy loading
@babel/core
#212- Better invalidation message when an export is added & fix HMR for export of nullish values #215
- Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
- The build output now contains a
index.d.cts
file so you don't get types errors when settingmoduleResolution
tonode16
ornodenext
in your tsconfig (we recommend usingbundler
which is more close to how Vite works)4.0.4 (2023-07-31)
- Fix #198: Enable Babel if presets list is not empty
4.0.3 (2023-07-10)
... (truncated)
Commits
8b53547
release: [email protected]ec63066
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: [email protected]fb2b735
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)b255776
release: [email protected]- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
⚠️ No Changeset found
Latest commit: 655fa1d25d1b02abf52beacf0628ef12c8a08037
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR