Skip to content

Commit 24229a1

Browse files
committed
chore: fix type error
1 parent 10e513c commit 24229a1

File tree

4 files changed

+54
-81
lines changed

4 files changed

+54
-81
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"typescript": "^5.7.2",
2727
"unbuild": "^3.2.0",
2828
"vite": "^6.0.7",
29-
"vitest": "^2.1.6",
29+
"vitest": "^2.1.8",
3030
"webpack": "^5.97.1"
3131
},
3232
"packageManager": "pnpm@9.15.2",
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../../tsconfig.json",
33
"exclude": [
4-
"dist/**/*.ts",
5-
"src/nuxt/**/*.ts"
4+
"vitest.config.ts",
5+
"dist/**/*.{mts,cts,ts}",
6+
"src/nuxt/**/*.ts",
67
]
78
}

packages/unplugin-analytics/vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import Analytics from './src/vite';
44

55
export default defineConfig({
66
test: {},
7+
// @ts-ignore
78
plugins: [
8-
Analytics({
9+
...Analytics({
910
analytics: {
1011
umami: {
1112
src: `https://umami.onekuma.cn/script.js`,

pnpm-lock.yaml

Lines changed: 48 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)