From 4288652649ab19161420aff458fc14c677031d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Tue, 26 Nov 2024 21:31:50 +0900 Subject: [PATCH] chore: add vite 6 peer dep (#481) --- packages/plugin-vue-jsx/package.json | 2 +- packages/plugin-vue/package.json | 2 +- playground/vue-legacy/package.json | 2 +- pnpm-lock.yaml | 141 +++++++++++---------------- pnpm-workspace.yaml | 2 +- 5 files changed, 62 insertions(+), 87 deletions(-) diff --git a/packages/plugin-vue-jsx/package.json b/packages/plugin-vue-jsx/package.json index 78098ef6..43db17a2 100644 --- a/packages/plugin-vue-jsx/package.json +++ b/packages/plugin-vue-jsx/package.json @@ -43,7 +43,7 @@ "vite": "catalog:" }, "peerDependencies": { - "vite": "^5.0.0", + "vite": "^5.0.0 || ^6.0.0", "vue": "^3.0.0" } } diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 85714202..c5171230 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -35,7 +35,7 @@ }, "homepage": "https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme", "peerDependencies": { - "vite": "^5.0.0", + "vite": "^5.0.0 || ^6.0.0", "vue": "^3.2.25" }, "devDependencies": { diff --git a/playground/vue-legacy/package.json b/playground/vue-legacy/package.json index 87e1c6bb..40282cf7 100644 --- a/playground/vue-legacy/package.json +++ b/playground/vue-legacy/package.json @@ -14,6 +14,6 @@ }, "devDependencies": { "@vitejs/plugin-vue": "workspace:*", - "@vitejs/plugin-legacy": "^5.4.3" + "@vitejs/plugin-legacy": "^6.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 90f650b0..271706b7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,8 +7,8 @@ settings: catalogs: default: vite: - specifier: ^6.0.0-beta.9 - version: 6.0.0-beta.9 + specifier: ^6.0.0 + version: 6.0.0 vue: specifier: ^3.5.12 version: 3.5.12 @@ -103,7 +103,7 @@ importers: version: 2.0.0(sass@1.81.0)(typescript@5.6.3) vite: specifier: 'catalog:' - version: 6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) + version: 6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) vitest: specifier: ^2.1.5 version: 2.1.5(@types/node@22.9.0)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0) @@ -133,7 +133,7 @@ importers: version: 1.2.1 vite: specifier: 'catalog:' - version: 6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) + version: 6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) vue: specifier: 'catalog:' version: 3.5.12(typescript@5.6.3) @@ -152,7 +152,7 @@ importers: devDependencies: vite: specifier: 'catalog:' - version: 6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) + version: 6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) playground: devDependencies: @@ -217,7 +217,7 @@ importers: dependencies: autoprefixer: specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.47) + version: 10.4.20(postcss@8.4.49) tailwindcss: specifier: ^3.4.15 version: 3.4.15(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)) @@ -306,8 +306,8 @@ importers: version: 3.5.12(typescript@5.6.3) devDependencies: '@vitejs/plugin-legacy': - specifier: ^5.4.3 - version: 5.4.3(vite@6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0)) + specifier: ^6.0.0 + version: 6.0.0(vite@6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0)) '@vitejs/plugin-vue': specifier: workspace:* version: link:../../packages/plugin-vue @@ -346,7 +346,7 @@ importers: version: 4.2.0 postcss-nested: specifier: ^7.0.2 - version: 7.0.2(postcss@8.4.47) + version: 7.0.2(postcss@8.4.49) sass: specifier: ^1.81.0 version: 1.81.0 @@ -398,12 +398,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-create-regexp-features-plugin@7.25.2': - resolution: {integrity: sha512-+wqVGP+DFmqwFD3EH6TMTfUNeqDehV3E/dl+Sd54eaXqm17tEUNbEIn4sVivVowbvUpOtIGxdo3GoXyDH9N/9g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@babel/helper-create-regexp-features-plugin@7.25.9': resolution: {integrity: sha512-ORPNZ3h6ZRkOyAa/SaHU+XsLZr0UQzRwuDQ0cczIA17nAzZ+85G5cVkOJIj7QavLZGSe8QXUmNFxSZzjcZF9bw==} engines: {node: '>=6.9.0'} @@ -870,9 +864,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 - '@babel/regjsgen@0.8.0': - resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} - '@babel/runtime@7.25.6': resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==} engines: {node: '>=6.9.0'} @@ -1958,12 +1949,12 @@ packages: resolution: {integrity: sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@vitejs/plugin-legacy@5.4.3': - resolution: {integrity: sha512-wsyXK9mascyplcqvww1gA1xYiy29iRHfyciw+a0t7qRNdzX6PdfSWmOoCi74epr87DujM+5J+rnnSv+4PazqVg==} - engines: {node: ^18.0.0 || >=20.0.0} + '@vitejs/plugin-legacy@6.0.0': + resolution: {integrity: sha512-pWt9cWaGJAKYw+67VLpN8hSP+G+yAQnrf5Pqh/NzSDKFl/4KpxTtwb5OLQezHoZOxghahO/ha3IpvblBbX/t6A==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} peerDependencies: - terser: ^5.4.0 - vite: ^5.0.0 + terser: ^5.16.0 + vite: ^6.0.0 '@vitejs/release-scripts@1.3.2': resolution: {integrity: sha512-g4jaMHxdjPiGlFV8qSq8EaE3SYtLHeEGGfmVASvJ+mn+W0kKH0nDXO3u9RR25zVbW9ooamQcpEAx2fTMhlwvkg==} @@ -2416,8 +2407,8 @@ packages: core-js-compat@3.38.1: resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} - core-js@3.38.1: - resolution: {integrity: sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==} + core-js@3.39.0: + resolution: {integrity: sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==} create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} @@ -3144,10 +3135,6 @@ packages: resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} engines: {node: '>=12.0.0'} - jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - jsesc@3.0.2: resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} engines: {node: '>=6'} @@ -3255,6 +3242,9 @@ packages: magic-string@0.30.12: resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} + magic-string@0.30.14: + resolution: {integrity: sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==} + make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} @@ -3823,6 +3813,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'} @@ -3941,10 +3935,6 @@ packages: resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - regenerate-unicode-properties@10.1.1: - resolution: {integrity: sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==} - engines: {node: '>=4'} - regenerate-unicode-properties@10.2.0: resolution: {integrity: sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==} engines: {node: '>=4'} @@ -3962,10 +3952,6 @@ packages: resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - regexpu-core@5.3.2: - resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} - engines: {node: '>=4'} - regexpu-core@6.1.1: resolution: {integrity: sha512-k67Nb9jvwJcJmVpw0jPttR1/zVfnKf8Km0IPatrU/zJ5XeG3+Slx0xLXs9HByJSzXzrlz5EDvN6yLNMDc2qdnw==} engines: {node: '>=4'} @@ -3977,10 +3963,6 @@ packages: resolution: {integrity: sha512-3OGZZ4HoLJkkAZx/48mTXJNlmqTGOzc0o9OWQPuWpkOlXXPbyN6OafCcoXUnBqE2D3f/T5L+pWc1kdEmnfnRsA==} hasBin: true - regjsparser@0.9.1: - resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} - hasBin: true - resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} @@ -4475,12 +4457,12 @@ packages: terser: optional: true - vite@6.0.0-beta.9: - resolution: {integrity: sha512-gMaa1/cnKw4xCv1QmPcBInF8D1I17a0/+kUDWuPLGm0ZuupFW2YKUU91DQFc4WwgvvEKFd+kNHin9+qlX0SeqQ==} - engines: {node: ^18.0.0 || >=20.0.0} + vite@6.0.0: + resolution: {integrity: sha512-Q2+5yQV79EdnpbNxjD3/QHVMCBaQ3Kpd4/uL51UGuh38bIIM+s4o3FqyCzRvTRwFb+cWIUeZvaWwS9y2LD2qeQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 jiti: '>=1.21.0' less: '*' lightningcss: ^1.21.0 @@ -4712,13 +4694,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-create-regexp-features-plugin@7.25.2(@babel/core@7.26.0)': - dependencies: - '@babel/core': 7.26.0 - '@babel/helper-annotate-as-pure': 7.25.9 - regexpu-core: 5.3.2 - semver: 6.3.1 - '@babel/helper-create-regexp-features-plugin@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 @@ -4887,7 +4862,7 @@ snapshots: '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.2(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.0)': @@ -5306,8 +5281,6 @@ snapshots: '@babel/types': 7.26.0 esutils: 2.0.3 - '@babel/regjsgen@0.8.0': {} - '@babel/runtime@7.25.6': dependencies: regenerator-runtime: 0.14.1 @@ -6083,17 +6056,17 @@ snapshots: '@typescript-eslint/types': 8.15.0 eslint-visitor-keys: 4.2.0 - '@vitejs/plugin-legacy@5.4.3(vite@6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0))': + '@vitejs/plugin-legacy@6.0.0(vite@6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0))': dependencies: '@babel/core': 7.26.0 '@babel/preset-env': 7.26.0(@babel/core@7.26.0) browserslist: 4.24.2 browserslist-to-esbuild: 2.1.1(browserslist@4.24.2) - core-js: 3.38.1 - magic-string: 0.30.12 + core-js: 3.39.0 + magic-string: 0.30.14 regenerator-runtime: 0.14.1 systemjs: 6.15.1 - vite: 6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) + vite: 6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0) transitivePeerDependencies: - supports-color @@ -6307,6 +6280,16 @@ snapshots: postcss: 8.4.47 postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.4.49): + dependencies: + browserslist: 4.23.3 + caniuse-lite: 1.0.30001653 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.1 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.26.0): dependencies: '@babel/compat-data': 7.26.0 @@ -6621,7 +6604,7 @@ snapshots: dependencies: browserslist: 4.24.2 - core-js@3.38.1: {} + core-js@3.39.0: {} create-require@1.1.1: {} @@ -7491,8 +7474,6 @@ snapshots: jsdoc-type-pratt-parser@4.1.0: {} - jsesc@0.5.0: {} - jsesc@3.0.2: {} json-buffer@3.0.1: {} @@ -7614,6 +7595,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.14: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + make-dir@2.1.0: dependencies: pify: 4.0.1 @@ -8009,9 +7994,9 @@ snapshots: postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-nested@7.0.2(postcss@8.4.47): + postcss-nested@7.0.2(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 7.0.0 postcss-normalize-charset@7.0.0(postcss@8.4.47): @@ -8105,6 +8090,12 @@ snapshots: picocolors: 1.1.1 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@3.3.3: {} @@ -8255,10 +8246,6 @@ snapshots: dependencies: '@eslint-community/regexpp': 4.12.1 - regenerate-unicode-properties@10.1.1: - dependencies: - regenerate: 1.4.2 - regenerate-unicode-properties@10.2.0: dependencies: regenerate: 1.4.2 @@ -8276,15 +8263,6 @@ snapshots: '@eslint-community/regexpp': 4.12.1 refa: 0.12.1 - regexpu-core@5.3.2: - dependencies: - '@babel/regjsgen': 0.8.0 - regenerate: 1.4.2 - regenerate-unicode-properties: 10.1.1 - regjsparser: 0.9.1 - unicode-match-property-ecmascript: 2.0.0 - unicode-match-property-value-ecmascript: 2.1.0 - regexpu-core@6.1.1: dependencies: regenerate: 1.4.2 @@ -8300,10 +8278,6 @@ snapshots: dependencies: jsesc: 3.0.2 - regjsparser@0.9.1: - dependencies: - jsesc: 0.5.0 - resolve-from@4.0.0: {} resolve-pkg-maps@1.0.0: {} @@ -8837,13 +8811,14 @@ snapshots: sass: 1.81.0 stylus: 0.64.0 - vite@6.0.0-beta.9(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0): + vite@6.0.0(@types/node@22.9.0)(jiti@1.21.6)(less@4.2.0)(sass@1.81.0)(stylus@0.64.0)(tsx@4.19.2)(yaml@2.5.0): dependencies: esbuild: 0.24.0 - postcss: 8.4.47 + postcss: 8.4.49 rollup: 4.27.2 optionalDependencies: '@types/node': 22.9.0 + fsevents: 2.3.3 jiti: 1.21.6 less: 4.2.0 sass: 1.81.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 48ceae6d..75e998f1 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,5 +4,5 @@ packages: catalog: 'vue': ^3.5.12 - 'vite': ^6.0.0-beta.9 + 'vite': ^6.0.0 'vue-router': ^4.4.3