diff --git a/examples/vite/package.json b/examples/vite/package.json index da481868..711eba73 100644 --- a/examples/vite/package.json +++ b/examples/vite/package.json @@ -33,7 +33,7 @@ "react-dom": "^18.2.0", "storybook": "7.4.6", "typescript": "~5.2.2", - "vite": "^4.4.11", + "vite": "^5.0.0", "vue-loader": "^17.3.0", "vue-tsc": "^1.8.19" } diff --git a/package.json b/package.json index 888e0608..bbb78916 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "unplugin": "^1.5.0" }, "peerDependencies": { - "vite": "^4.3.1", + "vite": "^4.3.1 || ^5.0.0", "vue": "^3.2.47" }, "devDependencies": { @@ -118,7 +118,7 @@ "rollup": "^4.0.2", "tsup": "^8.0.0", "typescript": "^5.2.2", - "vite": "^4.4.11", + "vite": "^5.0.0", "vitest": "^0.34.6", "vue": "^3.3.4", "webpack": "^5.88.2" diff --git a/playground/package.json b/playground/package.json index 380b6712..9bb3ef3b 100644 --- a/playground/package.json +++ b/playground/package.json @@ -4,7 +4,7 @@ "dev": "nodemon -w '../src/**/*.ts' -e .ts -x vite" }, "devDependencies": { - "vite": "^4.4.11", + "vite": "^5.0.0", "vite-plugin-inspect": "^0.7.40" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 78d01a7e..14c21ef9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,8 +76,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^4.4.11 - version: 4.4.11(@types/node@20.8.7) + specifier: ^5.0.0 + version: 5.0.0(@types/node@20.8.7) vitest: specifier: ^0.34.6 version: 0.34.6 @@ -120,13 +120,13 @@ importers: version: 7.4.6(@vue/compiler-core@3.3.4)(vue@3.3.4) '@storybook/vue3-vite': specifier: 7.4.6 - version: 7.4.6(@vue/compiler-core@3.3.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.4.11)(vue@3.3.4) + version: 7.4.6(@vue/compiler-core@3.3.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@5.0.0)(vue@3.3.4) '@types/node': specifier: ^20.8.7 version: 20.8.7 '@vitejs/plugin-vue': specifier: ^4.4.0 - version: 4.4.0(vite@4.4.11)(vue@3.3.4) + version: 4.4.0(vite@5.0.0)(vue@3.3.4) '@vue/tsconfig': specifier: ^0.4.0 version: 0.4.0 @@ -152,8 +152,8 @@ importers: specifier: ~5.2.2 version: 5.2.2 vite: - specifier: ^4.4.11 - version: 4.4.11(@types/node@20.8.7) + specifier: ^5.0.0 + version: 5.0.0(@types/node@20.8.7) vue-loader: specifier: ^17.3.0 version: 17.3.0(vue@3.3.4)(webpack@5.88.2) @@ -164,11 +164,11 @@ importers: playground: devDependencies: vite: - specifier: ^4.4.11 - version: 4.4.11(@types/node@20.8.7) + specifier: ^5.0.0 + version: 5.0.0(@types/node@20.8.7) vite-plugin-inspect: specifier: ^0.7.40 - version: 0.7.40(rollup@4.0.2)(vite@4.4.11) + version: 0.7.40(rollup@4.0.2)(vite@5.0.0) packages: @@ -3135,6 +3135,14 @@ packages: dev: true optional: true + /@rollup/rollup-android-arm-eabi@4.5.0: + resolution: {integrity: sha512-OINaBGY+Wc++U0rdr7BLuFClxcoWaVW3vQYqmQq6B3bqQ/2olkaoz+K8+af/Mmka/C2yN5j+L9scBkv4BtKsDA==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-android-arm64@4.0.2: resolution: {integrity: sha512-lqCglytY3E6raze27DD9VQJWohbwCxzqs9aSHcj5X/8hJpzZfNdbsr4Ja9Hqp6iPyF53+5PtPx0pKRlkSvlHZg==} cpu: [arm64] @@ -3143,6 +3151,14 @@ packages: dev: true optional: true + /@rollup/rollup-android-arm64@4.5.0: + resolution: {integrity: sha512-UdMf1pOQc4ZmUA/NTmKhgJTBimbSKnhPS2zJqucqFyBRFPnPDtwA8MzrGNTjDeQbIAWfpJVAlxejw+/lQyBK/w==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-arm64@4.0.2: resolution: {integrity: sha512-nkBKItS6E6CCzvRwgiKad+j+1ibmL7SIInj7oqMWmdkCjiSX6VeVZw2mLlRKIUL+JjsBgpATTfo7BiAXc1v0jA==} cpu: [arm64] @@ -3151,6 +3167,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-arm64@4.5.0: + resolution: {integrity: sha512-L0/CA5p/idVKI+c9PcAPGorH6CwXn6+J0Ys7Gg1axCbTPgI8MeMlhA6fLM9fK+ssFhqogMHFC8HDvZuetOii7w==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-x64@4.0.2: resolution: {integrity: sha512-vX2C8xvWPIbpEgQht95+dY6BReKAvtDgPDGi0XN0kWJKkm4WdNmq5dnwscv/zxvi+n6jUTBhs6GtpkkWT4q8Gg==} cpu: [x64] @@ -3159,6 +3183,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-x64@4.5.0: + resolution: {integrity: sha512-QZCbVqU26mNlLn8zi/XDDquNmvcr4ON5FYAHQQsyhrHx8q+sQi/6xduoznYXwk/KmKIXG5dLfR0CvY+NAWpFYQ==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.0.2: resolution: {integrity: sha512-DVFIfcHOjgmeHOAqji4xNz2wczt1Bmzy9MwBZKBa83SjBVO/i38VHDR+9ixo8QpBOiEagmNw12DucG+v55tCrg==} cpu: [arm] @@ -3167,6 +3199,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.5.0: + resolution: {integrity: sha512-VpSQ+xm93AeV33QbYslgf44wc5eJGYfYitlQzAi3OObu9iwrGXEnmu5S3ilkqE3Pr/FkgOiJKV/2p0ewf4Hrtg==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-gnu@4.0.2: resolution: {integrity: sha512-GCK/a9ItUxPI0V5hQEJjH4JtOJO90GF2Hja7TO+EZ8rmkGvEi8/ZDMhXmcuDpQT7/PWrTT9RvnG8snMd5SrhBQ==} cpu: [arm64] @@ -3175,6 +3215,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm64-gnu@4.5.0: + resolution: {integrity: sha512-OrEyIfpxSsMal44JpEVx9AEcGpdBQG1ZuWISAanaQTSMeStBW+oHWwOkoqR54bw3x8heP8gBOyoJiGg+fLY8qQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-musl@4.0.2: resolution: {integrity: sha512-cLuBp7rOjIB1R2j/VazjCmHC7liWUur2e9mFflLJBAWCkrZ+X0+QwHLvOQakIwDymungzAKv6W9kHZnTp/Mqrg==} cpu: [arm64] @@ -3183,6 +3231,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm64-musl@4.5.0: + resolution: {integrity: sha512-1H7wBbQuE6igQdxMSTjtFfD+DGAudcYWhp106z/9zBA8OQhsJRnemO4XGavdzHpGhRtRxbgmUGdO3YQgrWf2RA==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-gnu@4.0.2: resolution: {integrity: sha512-Zqw4iVnJr2naoyQus0yLy7sLtisCQcpdMKUCeXPBjkJtpiflRime/TMojbnl8O3oxUAj92mxr+t7im/RbgA20w==} cpu: [x64] @@ -3191,6 +3247,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-x64-gnu@4.5.0: + resolution: {integrity: sha512-FVyFI13tXw5aE65sZdBpNjPVIi4Q5mARnL/39UIkxvSgRAIqCo5sCpCELk0JtXHGee2owZz5aNLbWNfBHzr71Q==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-musl@4.0.2: resolution: {integrity: sha512-jJRU9TyUD/iMqjf8aLAp7XiN3pIj5v6Qcu+cdzBfVTKDD0Fvua4oUoK8eVJ9ZuKBEQKt3WdlcwJXFkpmMLk6kg==} cpu: [x64] @@ -3199,6 +3263,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-x64-musl@4.5.0: + resolution: {integrity: sha512-eBPYl2sLpH/o8qbSz6vPwWlDyThnQjJfcDOGFbNjmjb44XKC1F5dQfakOsADRVrXCNzM6ZsSIPDG5dc6HHLNFg==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-arm64-msvc@4.0.2: resolution: {integrity: sha512-ZkS2NixCxHKC4zbOnw64ztEGGDVIYP6nKkGBfOAxEPW71Sji9v8z3yaHNuae/JHPwXA+14oDefnOuVfxl59SmQ==} cpu: [arm64] @@ -3207,6 +3279,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-arm64-msvc@4.5.0: + resolution: {integrity: sha512-xaOHIfLOZypoQ5U2I6rEaugS4IYtTgP030xzvrBf5js7p9WI9wik07iHmsKaej8Z83ZDxN5GyypfoyKV5O5TJA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-ia32-msvc@4.0.2: resolution: {integrity: sha512-3SKjj+tvnZ0oZq2BKB+fI+DqYI83VrRzk7eed8tJkxeZ4zxJZcLSE8YDQLYGq1tZAnAX+H076RHHB4gTZXsQzw==} cpu: [ia32] @@ -3215,6 +3295,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-ia32-msvc@4.5.0: + resolution: {integrity: sha512-Al6quztQUrHwcOoU2TuFblUQ5L+/AmPBXFR6dUvyo4nRj2yQRK0WIUaGMF/uwKulvRcXkpHe3k9A8Vf93VDktA==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-x64-msvc@4.0.2: resolution: {integrity: sha512-MBdJIOxRauKkry7t2q+rTHa3aWjVez2eioWg+etRVS3dE4tChhmt5oqZYr48R6bPmcwEhxQr96gVRfeQrLbqng==} cpu: [x64] @@ -3223,6 +3311,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-x64-msvc@4.5.0: + resolution: {integrity: sha512-8kdW+brNhI/NzJ4fxDufuJUjepzINqJKLGHuxyAtpPG9bMbn8P5mtaCcbOm0EzLJ+atg+kF9dwg8jpclkVqx5w==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@sinclair/typebox@0.24.51: resolution: {integrity: sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==} dev: true @@ -3637,7 +3733,7 @@ packages: - supports-color dev: true - /@storybook/builder-vite@7.4.6(typescript@5.2.2)(vite@4.4.11): + /@storybook/builder-vite@7.4.6(typescript@5.2.2)(vite@5.0.0): resolution: {integrity: sha512-xV9STYK+TkqWWTf2ydm6jx+7P70fjD2UPd1XTUw08uKszIjhuuxk+bG/OF5R1E25mPunAKXm6kBFh351AKejBg==} peerDependencies: '@preact/preset-vite': '*' @@ -3672,7 +3768,7 @@ packages: remark-slug: 6.1.0 rollup: 3.29.4 typescript: 5.2.2 - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) transitivePeerDependencies: - encoding - supports-color @@ -4125,7 +4221,7 @@ packages: file-system-cache: 2.3.0 dev: true - /@storybook/vue3-vite@7.4.6(@vue/compiler-core@3.3.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.4.11)(vue@3.3.4): + /@storybook/vue3-vite@7.4.6(@vue/compiler-core@3.3.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@5.0.0)(vue@3.3.4): resolution: {integrity: sha512-r/mUDdCifpN99Cqmvm7IvPZGnur7lYiTxbQPhV8NdRBpQGxm3JC0life9yIvvHV9mYRCjn5MEzC65zWx03Nzig==} engines: {node: ^14.18 || >=16} peerDependencies: @@ -4138,14 +4234,14 @@ packages: react-dom: optional: true dependencies: - '@storybook/builder-vite': 7.4.6(typescript@5.2.2)(vite@4.4.11) + '@storybook/builder-vite': 7.4.6(typescript@5.2.2)(vite@5.0.0) '@storybook/core-server': 7.4.6 '@storybook/vue3': 7.4.6(@vue/compiler-core@3.3.4)(vue@3.3.4) - '@vitejs/plugin-vue': 4.4.0(vite@4.4.11)(vue@3.3.4) + '@vitejs/plugin-vue': 4.4.0(vite@5.0.0)(vue@3.3.4) magic-string: 0.30.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) vue-docgen-api: 4.60.0(vue@3.3.4) transitivePeerDependencies: - '@preact/preset-vite' @@ -4628,14 +4724,14 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@vitejs/plugin-vue@4.4.0(vite@4.4.11)(vue@3.3.4): + /@vitejs/plugin-vue@4.4.0(vite@5.0.0)(vue@3.3.4): resolution: {integrity: sha512-xdguqb+VUwiRpSg+nsc2HtbAUSGak25DXYvpQQi4RVU1Xq1uworyoH/md9Rfd8zMmPR/pSghr309QNcftUVseg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) vue: 3.3.4 dev: true @@ -4757,7 +4853,7 @@ packages: '@vue/shared': 3.2.47 estree-walker: 2.0.2 magic-string: 0.25.9 - postcss: 8.4.23 + postcss: 8.4.31 source-map: 0.6.1 dev: true @@ -4772,7 +4868,7 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 magic-string: 0.30.0 - postcss: 8.4.23 + postcss: 8.4.31 source-map-js: 1.0.2 /@vue/compiler-ssr@3.2.47: @@ -9276,14 +9372,6 @@ packages: util-deprecate: 1.0.2 dev: true - /postcss@8.4.23: - resolution: {integrity: sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - /postcss@8.4.31: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} @@ -9291,7 +9379,6 @@ packages: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: true /prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} @@ -9995,6 +10082,26 @@ packages: fsevents: 2.3.3 dev: true + /rollup@4.5.0: + resolution: {integrity: sha512-41xsWhzxqjMDASCxH5ibw1mXk+3c4TNI2UjKbLxe6iEzrSQnqOzmmK8/3mufCPbzHNJ2e04Fc1ddI35hHy+8zg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.5.0 + '@rollup/rollup-android-arm64': 4.5.0 + '@rollup/rollup-darwin-arm64': 4.5.0 + '@rollup/rollup-darwin-x64': 4.5.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.5.0 + '@rollup/rollup-linux-arm64-gnu': 4.5.0 + '@rollup/rollup-linux-arm64-musl': 4.5.0 + '@rollup/rollup-linux-x64-gnu': 4.5.0 + '@rollup/rollup-linux-x64-musl': 4.5.0 + '@rollup/rollup-win32-arm64-msvc': 4.5.0 + '@rollup/rollup-win32-ia32-msvc': 4.5.0 + '@rollup/rollup-win32-x64-msvc': 4.5.0 + fsevents: 2.3.3 + dev: true + /run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} engines: {node: '>=12'} @@ -11162,7 +11269,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) transitivePeerDependencies: - '@types/node' - less @@ -11174,7 +11281,7 @@ packages: - terser dev: true - /vite-plugin-inspect@0.7.40(rollup@4.0.2)(vite@4.4.11): + /vite-plugin-inspect@0.7.40(rollup@4.0.2)(vite@5.0.0): resolution: {integrity: sha512-tsfva6MCg0ch6ckReWHvJ/9xf/zjTuJvakONf2qcMBB/iu9JqiRixfxMa/yLGrlNaBe6fUZHOVhtN2Me3Kthow==} engines: {node: '>=14'} peerDependencies: @@ -11192,18 +11299,18 @@ packages: open: 9.1.0 picocolors: 1.0.0 sirv: 2.0.3 - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) transitivePeerDependencies: - rollup - supports-color dev: true - /vite@4.4.11(@types/node@20.8.7): - resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} - engines: {node: ^14.18.0 || >=16.0.0} + /vite@5.0.0(@types/node@20.8.7): + resolution: {integrity: sha512-ESJVM59mdyGpsiNAeHQOR/0fqNoOyWPYesFto8FFZugfmhdHx8Fzd8sF3Q/xkVhZsyOxHfdM7ieiVAorI9RjFw==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: - '@types/node': '>= 14' + '@types/node': ^18.0.0 || >=20.0.0 less: '*' lightningcss: ^1.21.0 sass: '*' @@ -11227,9 +11334,9 @@ packages: optional: true dependencies: '@types/node': 20.8.7 - esbuild: 0.18.20 + esbuild: 0.19.6 postcss: 8.4.31 - rollup: 3.29.4 + rollup: 4.5.0 optionalDependencies: fsevents: 2.3.3 dev: true @@ -11286,7 +11393,7 @@ packages: strip-literal: 1.0.1 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 4.4.11(@types/node@20.8.7) + vite: 5.0.0(@types/node@20.8.7) vite-node: 0.34.6(@types/node@20.8.7) why-is-node-running: 2.2.2 transitivePeerDependencies: