Skip to content

Commit 4b7161c

Browse files
committed
chore: upgrade vite-plus to 0.2.0
vite-plus 0.2.0 consumes upstream Vitest directly and drops the @voidzero-dev/vite-plus-test wrapper. - bump vite-plus 0.1.20 -> ^0.2.0 - replace the vitest wrapper alias with upstream vitest 4.1.9 - bump @vitest/coverage-v8 to 4.1.9; add @vitest/browser-playwright 4.1.9 (now an optional peer required for the playwright browser provider) - point the vite override at @voidzero-dev/vite-plus-core@^0.2.0 and drop the vitest override - fix vue/no-dupe-keys errors (renamed colliding imports) surfaced by the bundled oxlint bump 1.61 -> 1.70
1 parent 46e7c59 commit 4b7161c

5 files changed

Lines changed: 611 additions & 418 deletions

File tree

app/components/Input/Base.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<script setup lang="ts">
2-
import { noCorrect, noPasswordManager } from '~/utils/input'
2+
import {
3+
noCorrect as noCorrectAttrs,
4+
noPasswordManager as noPasswordManagerAttrs,
5+
} from '~/utils/input'
36
47
const model = defineModel<string>({ default: '' })
58
@@ -44,8 +47,8 @@ defineExpose({
4447
})
4548
4649
const inputAttrs = computed(() => ({
47-
...(props.noCorrect ? noCorrect : {}),
48-
...(props.noPasswordManager ? noPasswordManager : {}),
50+
...(props.noCorrect ? noCorrectAttrs : {}),
51+
...(props.noPasswordManager ? noPasswordManagerAttrs : {}),
4952
}))
5053
</script>
5154

app/components/Tooltip/Base.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { HTMLAttributes } from 'vue'
33
import type { Placement, Strategy } from '@floating-ui/vue'
4-
import { autoUpdate, flip, offset, shift, useFloating } from '@floating-ui/vue'
4+
import { autoUpdate, flip, offset as offsetMiddleware, shift, useFloating } from '@floating-ui/vue'
55
66
const props = withDefaults(
77
defineProps<{
@@ -40,7 +40,7 @@ const { floatingStyles } = useFloating(triggerRef, tooltipRef, {
4040
placement,
4141
whileElementsMounted: autoUpdate,
4242
strategy: props.strategy,
43-
middleware: [offset(props.offset), flip(), shift({ padding: 8 })],
43+
middleware: [offsetMiddleware(props.offset), flip(), shift({ padding: 8 })],
4444
})
4545
</script>
4646

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"validate-npm-package-name": "8.0.0",
111111
"virtua": "0.49.0",
112112
"vite-plugin-pwa": "1.3.0",
113-
"vite-plus": "0.1.20",
113+
"vite-plus": "0.2.0",
114114
"vue": "3.5.34",
115115
"vue-data-ui": "3.21.5",
116116
"vue-router": "5.0.4"
@@ -128,7 +128,8 @@
128128
"@types/sanitize-html": "2.16.1",
129129
"@types/semver": "7.7.1",
130130
"@types/validate-npm-package-name": "4.0.2",
131-
"@vitest/coverage-v8": "4.1.6",
131+
"@vitest/browser-playwright": "4.1.9",
132+
"@vitest/coverage-v8": "4.1.9",
132133
"@vue/test-utils": "2.4.6",
133134
"axe-core": "4.11.2",
134135
"changelogen": "0.6.2",
@@ -147,7 +148,7 @@
147148
"storybook-i18n": "catalog:storybook",
148149
"typescript": "6.0.2",
149150
"unplugin-vue-markdown": "30.0.0",
150-
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20",
151+
"vitest": "4.1.9",
151152
"vue-i18n-extract": "2.0.7",
152153
"vue-tsc": "3.2.6"
153154
},

0 commit comments

Comments
 (0)