Bump laravel-vite-plugin from 0.8.1 to 1.0.2 #469

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/laravel-vite-plugin-1.0.2 into main
dependabot[bot] commented 2024-02-29 00:51:12 +00:00 (Migrated from github.com)

Bumps laravel-vite-plugin from 0.8.1 to 1.0.2.

Release notes

Sourced from laravel-vite-plugin's releases.

v1.0.2

v1.0.1

v1.0.0

Changelog

Sourced from laravel-vite-plugin's changelog.

v1.0.2 - 2024-02-28

v1.0.1 - 2023-12-27

v1.0.0 - 2023-12-19

Upgrade guide

Sourced from laravel-vite-plugin's upgrade guide.

Upgrade Guide

0.x to 1.x

  • Adds support for Vite 5 and removes support for Vite 3 and 4.
  • Introduces an npx clean-orphaned-assets command to clean orphaned assets in Vite's build directories.
  • Introduces Valet / Herd TLS certificate auto detection.
  • Adds app/Livewire/** to the default "refresh" paths.
  • Adds output of SSR manifest for SSR builds.

Notable Changes

  1. Dropped CJS build: laravel/vite-plugin#235
  2. Dropped support for a boolean value of server.https option in vite.config.js: laravel/vite-plugin#254
  3. Dropped support for Node 14, 15, 16, 17, and 19: laravel/vite-plugin#269

Please see the Vite migration documentation for why these changes have been made and additional changes you may need to consider.

Upgrade Path

  1. Update to the latest version of the laravel-vite-plugin, vite, and any Vite plugins you may have installed, such as @​vitejs/plugin-vue which requires version ^4.5.0 or @​vitejs/plugin-react which requires version ^4.2.0 to be compatible with Vite 5.

The following command will update laravel-vite-plugin and vite only. You may need to include any additional plugin updates as needed by your application:

npm install --save-dev vite@^5.0.0 laravel-vite-plugin@^1.0.0

You should also check the upgrade guide and changelogs for any packages you update, including Vite's migrations guide.

  1. Ensure your package.json contains "type": "module".

Run the following command in your project's root directory or anywhere you have your package.json files:

npm pkg set type=module

You may also need to rename any *.js configuration files that contain CJS, which is the older-style Node-flavored var plugin = require('plugin') syntax, to filename.cjs after making this change.

Migrating from Laravel Mix to Vite

Note
This upgrade guide does not cover all possible Mix use cases, such as Sass compilation. Please consult the Vite documentation for information on configuring Vite for these scenarios.

Update Laravel Framework

To make use of the new Vite integration, you will need to update to at least version 9.19.0 of the laravel/framework:

</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

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.

Bumps [laravel-vite-plugin](https://github.com/laravel/vite-plugin) from 0.8.1 to 1.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/laravel/vite-plugin/releases">laravel-vite-plugin's releases</a>.</em></p> <blockquote> <h2>v1.0.2</h2> <ul> <li>[1.x] Fix HMR issue when <code>resources/lang</code> directory doesn't exist and a symlink is present in the root directory by <a href="https://github.com/jessarcher"><code>@​jessarcher</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/285">laravel/vite-plugin#285</a></li> </ul> <h2>v1.0.1</h2> <ul> <li>[1.x] Simpler conditional by <a href="https://github.com/Jubeki"><code>@​Jubeki</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/273">laravel/vite-plugin#273</a></li> <li>[1.x] Account for imported CSS files while cleaning by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/275">laravel/vite-plugin#275</a></li> <li>[1.x] Fix exit error messages by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/276">laravel/vite-plugin#276</a></li> </ul> <h2>v1.0.0</h2> <ul> <li>[1.0] Drop CJS build and export types first by <a href="https://github.com/benmccann"><code>@​benmccann</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/235">laravel/vite-plugin#235</a></li> <li>[1.x] Introduce <code>clean-orphaned-assets</code> binary by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/251">laravel/vite-plugin#251</a></li> <li>[0.8.x] Respect vite server.origin in viteDevServerUrl by <a href="https://github.com/nurdism"><code>@​nurdism</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/255">laravel/vite-plugin#255</a></li> <li>[1.x] Vite 5 by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/269">laravel/vite-plugin#269</a></li> <li>[0.8.x] Fallback pages by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/271">laravel/vite-plugin#271</a></li> <li>[1.x] Auto detect Valet / Herd TLS certificates by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/180">laravel/vite-plugin#180</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/laravel/vite-plugin/blob/1.x/CHANGELOG.md">laravel-vite-plugin's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/laravel/vite-plugin/compare/v1.0.1...v1.0.2">v1.0.2</a> - 2024-02-28</h2> <ul> <li>[1.x] Fix HMR issue when <code>resources/lang</code> directory doesn't exist and a symlink is present in the root directory by <a href="https://github.com/jessarcher"><code>@​jessarcher</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/285">laravel/vite-plugin#285</a></li> </ul> <h2><a href="https://github.com/laravel/vite-plugin/compare/v1.0.0...v1.0.1">v1.0.1</a> - 2023-12-27</h2> <ul> <li>[1.x] Simpler conditional by <a href="https://github.com/Jubeki"><code>@​Jubeki</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/273">laravel/vite-plugin#273</a></li> <li>[1.x] Account for imported CSS files while cleaning by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/275">laravel/vite-plugin#275</a></li> <li>[1.x] Fix exit error messages by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/276">laravel/vite-plugin#276</a></li> </ul> <h2><a href="https://github.com/laravel/vite-plugin/compare/v0.8.1...v1.0.0">v1.0.0</a> - 2023-12-19</h2> <ul> <li>[1.0] Drop CJS build and export types first by <a href="https://github.com/benmccann"><code>@​benmccann</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/235">laravel/vite-plugin#235</a></li> <li>[1.x] Introduce <code>clean-orphaned-assets</code> binary by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/251">laravel/vite-plugin#251</a></li> <li>[0.8.x] Respect vite server.origin in viteDevServerUrl by <a href="https://github.com/nurdism"><code>@​nurdism</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/255">laravel/vite-plugin#255</a></li> <li>[1.x] Vite 5 by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/269">laravel/vite-plugin#269</a></li> <li>[0.8.x] Fallback pages by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/271">laravel/vite-plugin#271</a></li> <li>[1.x] Auto detect Valet / Herd TLS certificates by <a href="https://github.com/timacdonald"><code>@​timacdonald</code></a> in <a href="https://redirect.github.com/laravel/vite-plugin/pull/180">laravel/vite-plugin#180</a></li> </ul> </blockquote> </details> <details> <summary>Upgrade guide</summary> <p><em>Sourced from <a href="https://github.com/laravel/vite-plugin/blob/1.x/UPGRADE.md">laravel-vite-plugin's upgrade guide</a>.</em></p> <blockquote> <h1>Upgrade Guide</h1> <h2><code>0.x</code> to <code>1.x</code></h2> <ul> <li>Adds support for Vite 5 and removes support for Vite 3 and 4.</li> <li>Introduces an <code>npx clean-orphaned-assets</code> command to clean orphaned assets in Vite's build directories.</li> <li>Introduces Valet / Herd TLS certificate auto detection.</li> <li>Adds <code>app/Livewire/**</code> to the default &quot;refresh&quot; paths.</li> <li>Adds output of SSR manifest for SSR builds.</li> </ul> <h3>Notable Changes</h3> <ol> <li>Dropped CJS build: <a href="https://redirect.github.com/laravel/vite-plugin/pull/235">laravel/vite-plugin#235</a></li> <li>Dropped support for a <code>boolean</code> value of <code>server.https</code> option in <code>vite.config.js</code>: <a href="https://redirect.github.com/laravel/vite-plugin/pull/254">laravel/vite-plugin#254</a></li> <li>Dropped support for Node 14, 15, 16, 17, and 19: <a href="https://redirect.github.com/laravel/vite-plugin/pull/269">laravel/vite-plugin#269</a></li> </ol> <p>Please see the <a href="https://vitejs.dev/guide/migration">Vite migration documentation</a> for why these changes have been made and additional changes you may need to consider.</p> <h3>Upgrade Path</h3> <ol> <li>Update to the latest version of the <code>laravel-vite-plugin</code>, <code>vite</code>, and any Vite plugins you may have installed, such as <a href="https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue"><code>@​vitejs/plugin-vue</code></a> which requires version <code>^4.5.0</code> or <a href="https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react"><code>@​vitejs/plugin-react</code></a> which requires version <code>^4.2.0</code> to be compatible with Vite 5.</li> </ol> <p>The following command will update <code>laravel-vite-plugin</code> and <code>vite</code> only. You may need to include any additional plugin updates as needed by your application:</p> <pre><code>npm install --save-dev vite@^5.0.0 laravel-vite-plugin@^1.0.0 </code></pre> <p>You should also check the upgrade guide and changelogs for any packages you update, including <a href="https://vitejs.dev/guide/migration.html">Vite's migrations guide</a>.</p> <ol start="2"> <li>Ensure your <code>package.json</code> contains <code>&quot;type&quot;: &quot;module&quot;</code>.</li> </ol> <p>Run the following command in your project's root directory or anywhere you have your <code>package.json</code> files:</p> <pre lang="sh"><code>npm pkg set type=module </code></pre> <p>You may also need to rename any <code>*.js</code> configuration files that contain CJS, which is the older-style Node-flavored <code>var plugin = require('plugin')</code> syntax, to <code>filename.cjs</code> after making this change.</p> <h2>Migrating from Laravel Mix to Vite</h2> <blockquote> <p><strong>Note</strong><br /> This upgrade guide does not cover all possible Mix use cases, such as Sass compilation. Please consult the <a href="https://vitejs.dev/guide/">Vite documentation</a> for information on configuring Vite for these scenarios.</p> </blockquote> <h3>Update Laravel Framework</h3> <p>To make use of the new Vite integration, you will need to update to at least version <code>9.19.0</code> of the <code>laravel/framework</code>:</p> <pre lang="sh"><code>&lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/laravel/vite-plugin/commit/977afc5d24365207669d7e245585423a1ab4b935"><code>977afc5</code></a> 1.0.2</li> <li><a href="https://github.com/laravel/vite-plugin/commit/dace190f626b5d67dc32958d435701efa9615b42"><code>dace190</code></a> Fix HMR issue when resources/lang directory doesn't exist (<a href="https://redirect.github.com/laravel/vite-plugin/issues/285">#285</a>)</li> <li><a href="https://github.com/laravel/vite-plugin/commit/f2f0918a4cc982c91280afdf17ed9108c1fac89f"><code>f2f0918</code></a> Update 1_Bug_report.yml</li> <li><a href="https://github.com/laravel/vite-plugin/commit/18a8e8b35890597748cbb1f6cea247182ea26d0f"><code>18a8e8b</code></a> Update CHANGELOG</li> <li><a href="https://github.com/laravel/vite-plugin/commit/78e60b0eb46a4ed1682c2d214476dcdce59f383c"><code>78e60b0</code></a> 1.0.1</li> <li><a href="https://github.com/laravel/vite-plugin/commit/0696be5a1780aadafffb5dae702ffef0491d215d"><code>0696be5</code></a> Fix exit error messages (<a href="https://redirect.github.com/laravel/vite-plugin/issues/276">#276</a>)</li> <li><a href="https://github.com/laravel/vite-plugin/commit/496c91bc916d811dda1191f30010ba4b08b7ddb8"><code>496c91b</code></a> include imported CSS files (<a href="https://redirect.github.com/laravel/vite-plugin/issues/275">#275</a>)</li> <li><a href="https://github.com/laravel/vite-plugin/commit/f92c96260b402c2e87737e1ce25541b28eb12d15"><code>f92c962</code></a> [1.x] Simpler conditional (<a href="https://redirect.github.com/laravel/vite-plugin/issues/273">#273</a>)</li> <li><a href="https://github.com/laravel/vite-plugin/commit/f8071b5b635478e8a5ea22321b8a1cacf127706e"><code>f8071b5</code></a> Update CHANGELOG</li> <li><a href="https://github.com/laravel/vite-plugin/commit/0a753dee1ddb787a5c01e14d37a0c75abeeb45ff"><code>0a753de</code></a> 1.0.0</li> <li>Additional commits viewable in <a href="https://github.com/laravel/vite-plugin/compare/v0.8.1...v1.0.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=laravel-vite-plugin&package-manager=npm_and_yarn&previous-version=0.8.1&new-version=1.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
nomadjimbob commented 2025-11-17 23:15:23 +00:00 (Migrated from github.com)

@dependabot rebase

@dependabot rebase
dependabot[bot] commented 2025-11-18 01:12:59 +00:00 (Migrated from github.com)

Superseded by #530.

Superseded by #530.

Pull request closed

Sign in to join this conversation.