From 88e513d37e7be5bc35c4f75737f1eabb230510a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Wed, 27 Nov 2024 21:56:59 +0900 Subject: [PATCH] feat: add Vite 6 to peer deps (#141) --- .changeset/short-hairs-melt.md | 5 +++ package.json | 4 +- pnpm-lock.yaml | 80 +++++++++++++++++++++++++++++----- test/fixtures/package.json | 2 +- 4 files changed, 78 insertions(+), 13 deletions(-) create mode 100644 .changeset/short-hairs-melt.md diff --git a/.changeset/short-hairs-melt.md b/.changeset/short-hairs-melt.md new file mode 100644 index 0000000..6a10480 --- /dev/null +++ b/.changeset/short-hairs-melt.md @@ -0,0 +1,5 @@ +--- +'vite-plugin-static-copy': minor +--- + +add Vite 6 to peer dep diff --git a/package.json b/package.json index a046187..bbdda50 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "homepage": "https://github.com/sapphi-red/vite-plugin-static-copy#readme", "sideEffects": false, "peerDependencies": { - "vite": "^5.0.0" + "vite": "^5.0.0 || ^6.0.0" }, "devDependencies": { "@changesets/changelog-github": "^0.5.0", @@ -60,7 +60,7 @@ "tsup": "^8.3.5", "typescript": "^5.6.3", "typescript-eslint": "^8.13.0", - "vite": "^5.4.10", + "vite": "^6.0.1", "vitest": "^1.6.0", "vitest-github-actions-reporter": "^0.11.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e77212a..56681ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,7 +71,7 @@ importers: version: 5.0.2 tsup: specifier: ^8.3.5 - version: 8.3.5(postcss@8.4.47)(typescript@5.6.3)(yaml@2.4.5) + version: 8.3.5(postcss@8.4.49)(typescript@5.6.3)(yaml@2.4.5) typescript: specifier: ^5.6.3 version: 5.6.3 @@ -79,8 +79,8 @@ importers: specifier: ^8.13.0 version: 8.13.0(eslint@9.12.0)(typescript@5.6.3) vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0) + specifier: ^6.0.1 + version: 6.0.1(@types/node@22.9.0)(yaml@2.4.5) vitest: specifier: ^1.6.0 version: 1.6.0(@types/node@22.9.0) @@ -91,8 +91,8 @@ importers: test/fixtures: devDependencies: vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0) + specifier: ^6.0.0 + version: 6.0.1(@types/node@22.9.0)(yaml@2.4.5) vite-plugin-static-copy: specifier: workspace:* version: link:../.. @@ -1522,6 +1522,10 @@ packages: resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} + engines: {node: ^10 || ^12 || >=14} + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -1855,6 +1859,46 @@ packages: terser: optional: true + vite@6.0.1: + resolution: {integrity: sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + vitest-github-actions-reporter@0.11.1: resolution: {integrity: sha512-ZHHB0wBgOPhMYCB17WKVlJZa+5SdudBZFoVoebwfq3ioIUTeLQGYHwh85vpdJAxRghLP8d0qI/6eCTueGyDVXA==} engines: {node: '>=14.16.0'} @@ -3308,11 +3352,11 @@ snapshots: mlly: 1.7.1 pathe: 1.1.2 - postcss-load-config@6.0.1(postcss@8.4.47)(yaml@2.4.5): + postcss-load-config@6.0.1(postcss@8.4.49)(yaml@2.4.5): dependencies: lilconfig: 3.1.2 optionalDependencies: - postcss: 8.4.47 + postcss: 8.4.49 yaml: 2.4.5 postcss@8.4.47: @@ -3321,6 +3365,12 @@ snapshots: picocolors: 1.1.0 source-map-js: 1.2.1 + postcss@8.4.49: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.1 + source-map-js: 1.2.1 + prelude-ls@1.2.1: {} prettier@2.8.8: {} @@ -3522,7 +3572,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.3.5(postcss@8.4.47)(typescript@5.6.3)(yaml@2.4.5): + tsup@8.3.5(postcss@8.4.49)(typescript@5.6.3)(yaml@2.4.5): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 @@ -3532,7 +3582,7 @@ snapshots: esbuild: 0.24.0 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.4.47)(yaml@2.4.5) + postcss-load-config: 6.0.1(postcss@8.4.49)(yaml@2.4.5) resolve-from: 5.0.0 rollup: 4.24.0 source-map: 0.8.0-beta.0 @@ -3541,7 +3591,7 @@ snapshots: tinyglobby: 0.2.9 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.4.47 + postcss: 8.4.49 typescript: 5.6.3 transitivePeerDependencies: - jiti @@ -3615,6 +3665,16 @@ snapshots: '@types/node': 22.9.0 fsevents: 2.3.3 + vite@6.0.1(@types/node@22.9.0)(yaml@2.4.5): + dependencies: + esbuild: 0.24.0 + postcss: 8.4.49 + rollup: 4.24.0 + optionalDependencies: + '@types/node': 22.9.0 + fsevents: 2.3.3 + yaml: 2.4.5 + vitest-github-actions-reporter@0.11.1(vitest@1.6.0(@types/node@22.9.0)): dependencies: '@actions/core': 1.10.1 diff --git a/test/fixtures/package.json b/test/fixtures/package.json index e39b448..9a05859 100644 --- a/test/fixtures/package.json +++ b/test/fixtures/package.json @@ -13,7 +13,7 @@ "build:structured": "vite --config vite.structured.config.ts build" }, "devDependencies": { - "vite": "^5.4.10", + "vite": "^6.0.0", "vite-plugin-static-copy": "workspace:*" } }