Skip to content

Commit 091ced2

Browse files
committed
chore: revert back to explicit vitest/oxlint/oxfmt
1 parent 38960e2 commit 091ced2

4 files changed

Lines changed: 1193 additions & 542 deletions

File tree

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"preview": "nuxt preview --extends docus"
1919
},
2020
"dependencies": {
21-
"docus": "latest",
2221
"better-sqlite3": "12.5.0",
23-
"nuxt": "^4.2.2"
22+
"docus": "5.4.4",
23+
"nuxt": "4.2.2"
2424
}
2525
}

package.json

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
"build": "nuxt build",
1313
"dev": "nuxt dev",
1414
"dev:docs": "pnpm run --filter npmx-docs dev --port=3001",
15-
"lint": "vite lint && vite fmt --check",
16-
"lint:fix": "vite lint --fix && vite fmt",
15+
"lint": "oxlint && oxfmt --check .",
16+
"lint:fix": "oxlint --fix && oxfmt .",
1717
"generate": "nuxt generate",
1818
"npmx-connector": "pnpm --filter npmx-connector dev",
1919
"preview": "nuxt preview",
2020
"postinstall": "nuxt prepare && simple-git-hooks",
21-
"test": "vite test",
21+
"test": "vitest",
2222
"test:browser": "playwright test",
2323
"test:browser:ui": "playwright test --ui",
2424
"test:browser:update": "playwright test --update-snapshots",
25-
"test:nuxt": "vite test --project nuxt",
25+
"test:nuxt": "vitest --project nuxt",
2626
"test:types": "nuxt prepare && vue-tsc -b --noEmit && pnpm --filter npmx-connector test:types",
27-
"test:unit": "vite test --project unit"
27+
"test:unit": "vitest --project unit"
2828
},
2929
"dependencies": {
3030
"@deno/doc": "jsr:^0.189.1",
@@ -70,36 +70,31 @@
7070
"@vite-pwa/nuxt": "1.1.0",
7171
"@vitest/browser-playwright": "^4.0.18",
7272
"@vitest/coverage-v8": "^4.0.18",
73-
"@voidzero-dev/vite-plus-core": "latest",
7473
"@vue/test-utils": "2.4.6",
7574
"axe-core": "^4.11.1",
7675
"happy-dom": "20.3.5",
7776
"lint-staged": "16.2.7",
7877
"marked": "17.0.1",
78+
"oxfmt": "0.27.0",
79+
"oxlint": "^1.42.0",
7980
"playwright-core": "1.57.0",
8081
"simple-git-hooks": "2.13.1",
8182
"spdx-license-list": "^6.11.0",
8283
"std-env": "3.10.0",
8384
"typescript": "5.9.3",
8485
"unocss": "66.6.0",
85-
"vite-plus": "latest",
86-
"vitest": "npm:@voidzero-dev/vite-plus-test@latest",
86+
"vitest": "^4.0.18",
8787
"vue-tsc": "3.2.2"
8888
},
89-
"pnpm": {
90-
"patchedDependencies": {
91-
"@jsr/deno__doc@0.189.1": "patches/@jsr__deno__doc@0.189.1.patch"
92-
}
93-
},
9489
"simple-git-hooks": {
9590
"pre-commit": "npx lint-staged"
9691
},
9792
"lint-staged": {
9893
"*.{js,ts,mjs,cjs,vue}": [
99-
"vite lint --fix"
94+
"oxlint --fix"
10095
],
10196
"*.{js,ts,mjs,cjs,vue,json,md,html,css}": [
102-
"vite fmt"
97+
"oxfmt"
10398
]
10499
},
105100
"packageManager": "pnpm@10.28.1"

0 commit comments

Comments
 (0)