|
11 | 11 | "scripts": { |
12 | 12 | "build": "nuxt build", |
13 | 13 | "dev": "nuxt dev", |
14 | | - "lint": "oxlint && oxfmt --check .", |
15 | | - "lint:fix": "oxlint --fix && oxfmt .", |
| 14 | + "lint": "vite lint && vite fmt --check", |
| 15 | + "lint:fix": "vite lint --fix && vite fmt", |
16 | 16 | "generate": "nuxt generate", |
17 | 17 | "npmx-connector": "pnpm --filter npmx-connector dev", |
18 | 18 | "preview": "nuxt preview", |
19 | 19 | "postinstall": "nuxt prepare && simple-git-hooks", |
20 | | - "test": "vitest", |
| 20 | + "test": "vite test", |
21 | 21 | "test:browser": "playwright test", |
22 | 22 | "test:browser:ui": "playwright test --ui", |
23 | 23 | "test:browser:update": "playwright test --update-snapshots", |
24 | | - "test:nuxt": "vitest --project nuxt", |
| 24 | + "test:nuxt": "vite test --project nuxt", |
25 | 25 | "test:types": "nuxt prepare && vue-tsc -b --noEmit && pnpm --filter npmx-connector test:types", |
26 | | - "test:unit": "vitest --project unit" |
| 26 | + "test:unit": "vite test --project unit" |
27 | 27 | }, |
28 | 28 | "dependencies": { |
29 | 29 | "@iconify-json/simple-icons": "^1.2.67", |
|
65 | 65 | "@vite-pwa/nuxt": "1.1.0", |
66 | 66 | "@vitest/browser-playwright": "^4.0.18", |
67 | 67 | "@vitest/coverage-v8": "^4.0.18", |
| 68 | + "@voidzero-dev/vite-plus-core": "latest", |
68 | 69 | "@vue/test-utils": "2.4.6", |
69 | 70 | "axe-core": "^4.11.1", |
70 | 71 | "happy-dom": "20.3.5", |
71 | 72 | "lint-staged": "16.2.7", |
72 | 73 | "marked": "17.0.1", |
73 | | - "oxfmt": "0.26.0", |
74 | | - "oxlint": "^1.41.0", |
75 | 74 | "playwright-core": "1.57.0", |
76 | 75 | "simple-git-hooks": "2.13.1", |
77 | 76 | "spdx-license-list": "^6.11.0", |
78 | 77 | "std-env": "3.10.0", |
79 | 78 | "typescript": "5.9.3", |
80 | 79 | "unocss": "66.6.0", |
81 | | - "vitest": "^4.0.18", |
| 80 | + "vite-plus": "latest", |
| 81 | + "vitest": "npm:@voidzero-dev/vite-plus-test@latest", |
82 | 82 | "vue-tsc": "3.2.2" |
83 | 83 | }, |
84 | | - "resolutions": { |
85 | | - "vite": "^8.0.0-beta.10" |
86 | | - }, |
87 | | - "pnpm": { |
88 | | - "overrides": { |
89 | | - "sharp": "0.34.5" |
90 | | - }, |
91 | | - "packageExtensions": { |
92 | | - "@nuxt/scripts": { |
93 | | - "dependencies": { |
94 | | - "estree-walker": "^3.0.3" |
95 | | - } |
96 | | - } |
97 | | - } |
98 | | - }, |
99 | 84 | "simple-git-hooks": { |
100 | 85 | "pre-commit": "npx lint-staged" |
101 | 86 | }, |
102 | 87 | "lint-staged": { |
103 | 88 | "*.{js,ts,mjs,cjs,vue}": [ |
104 | | - "oxlint --fix" |
| 89 | + "vite lint --fix" |
105 | 90 | ], |
106 | 91 | "*.{js,ts,mjs,cjs,vue,json,md,html,css}": [ |
107 | | - "oxfmt" |
| 92 | + "vite fmt" |
108 | 93 | ] |
109 | 94 | }, |
110 | 95 | "packageManager": "pnpm@10.28.1" |
|
0 commit comments