chore: bump up @vanilla-extract/vite-plugin version to v5 (#9915)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@vanilla-extract/vite-plugin](https://redirect.github.com/vanilla-extract-css/vanilla-extract) ([source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/vite-plugin)) | [`^4.0.18` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vanilla-extract%2fvite-plugin/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vanilla-extract%2fvite-plugin/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vanilla-extract/vite-plugin](https://redirect.github.com/vanilla-extract-css/vanilla-extract) ([source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/vite-plugin)) | [`^4.0.19` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vanilla-extract%2fvite-plugin/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vanilla-extract%2fvite-plugin/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vanilla-extract%2fvite-plugin/4.0.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>vanilla-extract-css/vanilla-extract (@&#8203;vanilla-extract/vite-plugin)</summary>

### [`v5.0.0`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/vite-plugin/CHANGELOG.md#500)

[Compare Source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/vite-plugin@4.0.20...@vanilla-extract/vite-plugin@5.0.0)

##### Major Changes

-   [#&#8203;1537](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1537) [`7810b7c`](7810b7c8b8) Thanks [@&#8203;askoufis](https://redirect.github.com/askoufis)! - Change the plugin name from `"vanilla-extract"` to the more [conventional][plugin conventions] `"vite-plugin-vanilla-extract"`

    [plugin conventions]: https://vite.dev/guide/api-plugin.html#conventions

-   [#&#8203;1529](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1529) [`d5b6e70`](d5b6e70f44) Thanks [@&#8203;askoufis](https://redirect.github.com/askoufis)! - Update `vite` peer dependency range to `^5.0.0 || ^6.0.0`

    BREAKING CHANGE: Vite 4 is no longer supported. Please upgrade to at least Vite 5.

-   [#&#8203;1537](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1537) [`7810b7c`](7810b7c8b8) Thanks [@&#8203;askoufis](https://redirect.github.com/askoufis)! - BREAKING CHANGE: User-configured vite plugins are no longer forwarded through to the Vanilla Extract compiler by default. This should not affect most consumers.

    Previously, all vite plugins except for a select few incompatible plugins were forwarded through. This resulted in a constant game of whack-a-mole as new plugins were added to the list of incompatible plugins as issues were discovered.

    Framework-specific plugins, as well as plugins that handle assets and build output, tend not to be relevant to Vanilla Extract code, and in some cases cause more harm than good.

    For that reason, in this release only the `vite-tsconfig-paths` plugin is fowarded through by default. This is a relatively common plugin that is know to be compatible with the Vanilla Extract compiler.

    In most cases users should not need to forward any additional plugins through to the Vanilla Extract compiler. However, if such a case arises, a plugin filter function can be provided via the `unstable_pluginFilter` option:

    ```ts
    // vite.config.ts

    import { vanillaExtractPlugin } from '@&#8203;vanilla-extract/vite-plugin';
    import { vitePluginFoo } from 'vite-plugin-foo';

    export default defineConfig({
      plugins: [
        vitePluginFoo(),
        vanillaExtractPlugin({
          // Only forward the `vite-plugin-foo` plugin through to the Vanilla Extract compiler
          unstable_pluginFilter: ({ name, mode }) =>
            plugin.name === 'vite-plugin-foo'
        })
      ]
    });
    ```

    When providing a plugin filter function, the `vite-tsconfig-paths` plugin will no longer be forwarded through by default. If you wish to forward this plugin, you must include it in your filter function.

    **NOTE**: The `unstable_pluginFilter` API is considered unstable and may be changed or removed without notice in a future non-major version.

##### Patch Changes

-   Updated dependencies \[[`d5b6e70`](d5b6e70f44), [`d5b6e70`](d5b6e70f44)]:
    -   [@&#8203;vanilla-extract/compiler](https://redirect.github.com/vanilla-extract/compiler)[@&#8203;0](https://redirect.github.com/0).1.1

### [`v4.0.20`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/vite-plugin/CHANGELOG.md#4020)

[Compare Source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/vite-plugin@4.0.19...@vanilla-extract/vite-plugin@4.0.20)

##### Patch Changes

-   [#&#8203;1536](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1536) [`a8248be`](a8248befac) Thanks [@&#8203;askoufis](https://redirect.github.com/askoufis)! - Consume compiler API from new `@vanilla-extract/compiler` package instead of `@vanilla-extract/integration`

-   Updated dependencies \[[`5f66abb`](5f66abbd60), [`a8248be`](a8248befac), [`a8248be`](a8248befac), [`ec0b024`](ec0b024fd1), [`a8248be`](a8248befac)]:
    -   [@&#8203;vanilla-extract/integration](https://redirect.github.com/vanilla-extract/integration)[@&#8203;8](https://redirect.github.com/8).0.0
    -   [@&#8203;vanilla-extract/compiler](https://redirect.github.com/vanilla-extract/compiler)[@&#8203;0](https://redirect.github.com/0).1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate
2025-01-30 10:40:44 +00:00
parent f3f6e8c6ac
commit f73b07da66
4 changed files with 64 additions and 18 deletions

View File

@@ -41,7 +41,7 @@
"devDependencies": {
"@tweakpane/core": "^2.0.4",
"@types/micromatch": "^4.0.9",
"@vanilla-extract/vite-plugin": "^4.0.19",
"@vanilla-extract/vite-plugin": "^5.0.0",
"graphql": "^16.9.0",
"magic-string": "^0.30.11",
"vite": "^6.0.3",

View File

@@ -44,7 +44,7 @@
"!dist/__tests__"
],
"devDependencies": {
"@vanilla-extract/vite-plugin": "^4.0.19",
"@vanilla-extract/vite-plugin": "^5.0.0",
"vitest": "^3.0.0"
},
"version": "0.19.0"

View File

@@ -63,7 +63,7 @@
"@types/eslint": "^9.6.1",
"@types/node": "^22.0.0",
"@typescript-eslint/parser": "^8.18.0",
"@vanilla-extract/vite-plugin": "^4.0.18",
"@vanilla-extract/vite-plugin": "^5.0.0",
"@vitest/browser": "3.0.2",
"@vitest/coverage-istanbul": "3.0.2",
"@vitest/ui": "3.0.2",

View File

@@ -667,7 +667,7 @@ __metadata:
"@types/eslint": "npm:^9.6.1"
"@types/node": "npm:^22.0.0"
"@typescript-eslint/parser": "npm:^8.18.0"
"@vanilla-extract/vite-plugin": "npm:^4.0.18"
"@vanilla-extract/vite-plugin": "npm:^5.0.0"
"@vitest/browser": "npm:3.0.2"
"@vitest/coverage-istanbul": "npm:3.0.2"
"@vitest/ui": "npm:3.0.2"
@@ -4063,7 +4063,7 @@ __metadata:
"@tweakpane/core": "npm:^2.0.4"
"@types/katex": "npm:^0.16.7"
"@types/micromatch": "npm:^4.0.9"
"@vanilla-extract/vite-plugin": "npm:^4.0.19"
"@vanilla-extract/vite-plugin": "npm:^5.0.0"
browser-fs-access: "npm:^0.35.0"
graphql: "npm:^16.9.0"
jszip: "npm:^3.10.1"
@@ -4102,7 +4102,7 @@ __metadata:
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.7"
"@vanilla-extract/css": "npm:^1.17.0"
"@vanilla-extract/vite-plugin": "npm:^4.0.19"
"@vanilla-extract/vite-plugin": "npm:^5.0.0"
lit: "npm:^3.2.0"
vitest: "npm:^3.0.0"
yjs: "npm:^13.6.21"
@@ -15978,9 +15978,21 @@ __metadata:
languageName: node
linkType: hard
"@vanilla-extract/css@npm:^1.14.0, @vanilla-extract/css@npm:^1.16.1, @vanilla-extract/css@npm:^1.17.0":
version: 1.17.0
resolution: "@vanilla-extract/css@npm:1.17.0"
"@vanilla-extract/compiler@npm:^0.1.1":
version: 0.1.1
resolution: "@vanilla-extract/compiler@npm:0.1.1"
dependencies:
"@vanilla-extract/css": "npm:^1.17.1"
"@vanilla-extract/integration": "npm:^8.0.0"
vite: "npm:^5.0.0 || ^6.0.0"
vite-node: "npm:^3.0.4"
checksum: 10/e8dd47296b17c167c93c6aeb99102b7adf96a4064ef9dd304cc575ca9c7395213ec4d3ffc684ce1facb156a9865c7b690f0699ca1c50da9e343ce9e1a9a1f1f7
languageName: node
linkType: hard
"@vanilla-extract/css@npm:^1.14.0, @vanilla-extract/css@npm:^1.16.1, @vanilla-extract/css@npm:^1.17.0, @vanilla-extract/css@npm:^1.17.1":
version: 1.17.1
resolution: "@vanilla-extract/css@npm:1.17.1"
dependencies:
"@emotion/hash": "npm:^0.9.0"
"@vanilla-extract/private": "npm:^1.0.6"
@@ -15994,7 +16006,7 @@ __metadata:
media-query-parser: "npm:^2.0.2"
modern-ahocorasick: "npm:^1.0.0"
picocolors: "npm:^1.0.0"
checksum: 10/5b811bdce6c4474a3b2c5919b98aca170a7ae297ea9f86f6261a36b32a2ce530d5f2c30da757588de29f943069568322daa624412c837f34f31a8a62c96524f3
checksum: 10/b078667a26e2488ba02608f27104122833c4062d302d1b85f244b5bb36fc4b095b3076351936c95d8d9ff233f0496454e94e47dc217c2e5f58d9135c12ff745a
languageName: node
linkType: hard
@@ -16027,6 +16039,24 @@ __metadata:
languageName: node
linkType: hard
"@vanilla-extract/integration@npm:^8.0.0":
version: 8.0.0
resolution: "@vanilla-extract/integration@npm:8.0.0"
dependencies:
"@babel/core": "npm:^7.23.9"
"@babel/plugin-syntax-typescript": "npm:^7.23.3"
"@vanilla-extract/babel-plugin-debug-ids": "npm:^1.2.0"
"@vanilla-extract/css": "npm:^1.17.1"
dedent: "npm:^1.5.3"
esbuild: "npm:esbuild@>=0.17.6 <0.25.0"
eval: "npm:0.1.8"
find-up: "npm:^5.0.0"
javascript-stringify: "npm:^2.0.1"
mlly: "npm:^1.4.2"
checksum: 10/4f6539f90b583bd42f9fa2f9ab34415892d3f38440139949fb5c8c4968705d496b0a70a5cfcb5af5e53036b2d3186483a562251d5b969e2d593247d1541a8064
languageName: node
linkType: hard
"@vanilla-extract/private@npm:^1.0.6":
version: 1.0.6
resolution: "@vanilla-extract/private@npm:1.0.6"
@@ -16034,14 +16064,15 @@ __metadata:
languageName: node
linkType: hard
"@vanilla-extract/vite-plugin@npm:^4.0.18, @vanilla-extract/vite-plugin@npm:^4.0.19":
version: 4.0.19
resolution: "@vanilla-extract/vite-plugin@npm:4.0.19"
"@vanilla-extract/vite-plugin@npm:^5.0.0":
version: 5.0.0
resolution: "@vanilla-extract/vite-plugin@npm:5.0.0"
dependencies:
"@vanilla-extract/integration": "npm:^7.1.12"
"@vanilla-extract/compiler": "npm:^0.1.1"
"@vanilla-extract/integration": "npm:^8.0.0"
peerDependencies:
vite: ^4.0.3 || ^5.0.0
checksum: 10/5f9e8a2edf6bec04b35129f5a8426b2e389c5f8342726b0ea418e3aaff708d126c6aeddd1878f159a12ea74280697a5477109c38ebd637eb310f521c011b3aaf
vite: ^5.0.0 || ^6.0.0
checksum: 10/9c5c7304c41f4029796c97e4e1c96512513060acec7fd2476156e1b2435c48e3ba0f8b401bc3f2d1d9e38c06dc4d31c06225144f347154ed212a41183c5c51c2
languageName: node
linkType: hard
@@ -21235,7 +21266,7 @@ __metadata:
languageName: node
linkType: hard
"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0, esbuild@npm:^0.24.0, esbuild@npm:^0.24.2":
"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0, esbuild@npm:^0.24.0, esbuild@npm:^0.24.2, esbuild@npm:esbuild@>=0.17.6 <0.25.0":
version: 0.24.2
resolution: "esbuild@npm:0.24.2"
dependencies:
@@ -29246,7 +29277,7 @@ __metadata:
languageName: node
linkType: hard
"pathe@npm:^2.0.1":
"pathe@npm:^2.0.1, pathe@npm:^2.0.2":
version: 2.0.2
resolution: "pathe@npm:2.0.2"
checksum: 10/027dd246720ec6d3b5567e2b0201f1a815b6a69f2912a4dcafed59620afc729af15b4aff4bc780504c88d11dfb081c051e37327b928a093e714c3e09bf35aff3
@@ -35171,6 +35202,21 @@ __metadata:
languageName: node
linkType: hard
"vite-node@npm:^3.0.4":
version: 3.0.4
resolution: "vite-node@npm:3.0.4"
dependencies:
cac: "npm:^6.7.14"
debug: "npm:^4.4.0"
es-module-lexer: "npm:^1.6.0"
pathe: "npm:^2.0.2"
vite: "npm:^5.0.0 || ^6.0.0"
bin:
vite-node: vite-node.mjs
checksum: 10/89d21f8d788b7e90aaedc149646123761b0a073ee1db5dd9eef109cd142ce465a00b0e0c0d1a8897f6b1080b7e5ec879e9f19e149774b111e7f162001ac34665
languageName: node
linkType: hard
"vite-plugin-istanbul@npm:^6.0.2":
version: 6.0.2
resolution: "vite-plugin-istanbul@npm:6.0.2"