Skip to content

Commit 24d22cb

Browse files
committed
chore: bump packages and fix type
1 parent 9d10fda commit 24d22cb

File tree

8 files changed

+554
-759
lines changed

8 files changed

+554
-759
lines changed

examples/vue3/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
},
1515
"devDependencies": {
1616
"@iconify/vue": "^4.0.0",
17-
"@vitejs/plugin-vue": "^4.0.0",
17+
"@vitejs/plugin-vue": "^4.2.3",
1818
"autoprefixer": "^10.4.13",
1919
"postcss": "^8.4.21",
2020
"tailwindcss": "^3.2.4",
21-
"typescript": "^4.9.4",
22-
"vite": "^4.0.5",
23-
"vue-tsc": "^1.0.24"
21+
"typescript": "^5.1.6",
22+
"vite": "^4.3.9",
23+
"vue-tsc": "^1.8.3"
2424
}
2525
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"devDependencies": {
2424
"@antfu/eslint-config": "^0.37.0",
2525
"@types/node": "^18.15.10",
26-
"@vitejs/plugin-vue": "^4.1.0",
26+
"@vitejs/plugin-vue": "^4.2.3",
2727
"@vue/test-utils": "^2.3.2",
2828
"concurrently": "^7.6.0",
2929
"eslint": "^8.36.0",
3030
"pnpm": "^8.5.1",
3131
"sass": "^1.60.0",
32-
"typescript": "^4.9.5",
33-
"vite": "^4.1.4",
34-
"vue-tsc": "^1.2.0"
32+
"typescript": "^5.1.6",
33+
"vite": "^4.3.9",
34+
"vue-tsc": "^1.8.3"
3535
}
3636
}

packages/vue-final-modal/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"@cypress/vue": "^5.0.5",
3939
"@release-it/conventional-changelog": "^5.1.1",
4040
"@vue-macros/volar": "^0.8.4",
41-
"cypress": "^12.8.1",
41+
"cypress": "^12.16.0",
4242
"release-it": "^15.9.3",
43-
"unplugin-vue-define-options": "^1.2.3",
44-
"unplugin-vue-macros": "^1.9.1"
43+
"unplugin-vue-define-options": "^1.3.8",
44+
"unplugin-vue-macros": "^2.3.0"
4545
},
4646
"peerDependencies": {
4747
"@vueuse/core": ">=9.11.1",

packages/vue-final-modal/src/useApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export function useModal<P = InstanceType<typeof VueFinalModal>['$props']>(_opti
160160

161161
function patchAttrs<T extends Record<string, any>>(attrs: T, newAttrs: Partial<T>): T {
162162
Object.entries(newAttrs).forEach(([key, value]) => {
163-
attrs[key as keyof T] = value
163+
attrs[key as keyof T] = value as any
164164
})
165165

166166
return attrs

packages/vue-final-modal/vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import path from 'path'
22
import { defineConfig } from 'vite'
33
import Vue from '@vitejs/plugin-vue'
4+
// @ts-expect-error
45
import VueMacros from 'unplugin-vue-macros/vite'
6+
// @ts-expect-error
57
import DefineOptions from 'unplugin-vue-define-options/vite'
68

79
const name = 'index'

0 commit comments

Comments
 (0)