feat: update Vitest

This commit is contained in:
Elijah Potter 2025-12-22 10:04:29 -07:00
parent 913debf140
commit f3dfb234c4
4 changed files with 230 additions and 317 deletions

View file

@ -25,8 +25,9 @@
"devDependencies": {
"@microsoft/api-documenter": "^7.28.1",
"@microsoft/api-extractor": "^7.55.1",
"@vitest/browser": "^3.0.6",
"@vitest/ui": "3.0.8",
"@types/node": "catalog:",
"@vitest/browser": "^4.0.16",
"@vitest/ui": "4.0.16",
"harper-wasm": "workspace:*",
"marked": "^16.4.1",
"p-lazy": "^5.0.0",
@ -37,7 +38,7 @@
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-virtual": "^0.3.0",
"vitest": "^3.0.5"
"vitest": "^4.0.16"
},
"main": "dist/harper.js",
"types": "dist/harper.d.ts",

View file

@ -16,7 +16,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"types": ["vite/client"],
"types": ["vite/client", "node"],
"paths": {
"harper-wasm": ["../../harper-wasm/pkg"]
}

View file

@ -7,12 +7,12 @@
"@playwright/test": "^1.57.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/lodash-es": "^4.17.12",
"@vitest/browser": "^3.0.6",
"@vitest/browser": "^4.0.16",
"obsidian": "^1.7.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-svg-import": "^3.0.0",
"vite": "^6.3.5",
"vitest": "^3.0.8"
"vitest": "^4.0.16"
},
"scripts": {
"build": "vite build -l warn",

534
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff