Skip to content

Commit 3d4036e

Browse files
committed
chore: oxfmt 0.17.0 and remove dprint
1 parent fa0d607 commit 3d4036e

File tree

21 files changed

+2250
-1424
lines changed

21 files changed

+2250
-1424
lines changed

.github/workflows/dprint.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.vitepress/theme/components/Banner.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ const dismiss = () => {
5050

5151
<button type="button" @click="dismiss">
5252
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
53-
<path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" />
53+
<path
54+
d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"
55+
/>
5456
</svg>
5557
</button>
5658
</div>

.vitepress/theme/overrides.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
}
2121
}
2222
}
23-

dprint.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

knip.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,10 @@
66
"src/**/*.md!",
77
".vitepress/theme/components/**/*.vue!"
88
],
9-
"project": [
10-
".vitepress/**/*.{ts,vue}",
11-
"src/**/*.md"
12-
],
13-
"ignore": [
14-
".vitepress/cache/**",
15-
".vitepress/dist/**",
16-
"build/**"
17-
],
18-
"ignoreDependencies": [
19-
"esbuild"
20-
],
21-
"ignoreBinaries": [
22-
"typos"
23-
],
9+
"project": [".vitepress/**/*.{ts,vue}", "src/**/*.md"],
10+
"ignore": [".vitepress/cache/**", ".vitepress/dist/**", "build/**"],
11+
"ignoreDependencies": ["esbuild"],
12+
"ignoreBinaries": ["typos"],
2413
"ignoreExportsUsedInFile": true,
2514
"ignoreIssues": {
2615
".vitepress/theme/constants/team.ts": ["exports", "types"]

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"lint": "oxlint -W correctness -W no-unused-vars --deny-warnings",
1212
"lint:fix": "pnpm lint --fix && typos -w && pnpm fmt --write .",
1313
"typecheck": "tsc && vue-tsc",
14-
"fmt": "oxfmt && dprint fmt",
14+
"fmt": "oxfmt",
1515
"knip": "knip",
1616
"sponsors": "degit Boshen/sponsors temp --force && mv temp/sponsors.svg public/sponsors.svg",
1717
"prepare": "husky"
@@ -22,15 +22,14 @@
2222
"@types/node": "^24.3.1",
2323
"@vueuse/core": "^14.0.0",
2424
"degit": "^2.8.4",
25-
"dprint": "^0.50.1",
2625
"esbuild": "0.27.1",
2726
"feed": "^5.1.0",
2827
"husky": "^9.1.7",
2928
"knip": "^5.69.1",
3029
"lint-staged": "16.2.7",
3130
"markdown-it-container": "^4.0.0",
3231
"oxc-minify": "^0.102.0",
33-
"oxfmt": "^0.16.0",
32+
"oxfmt": "^0.17.0",
3433
"oxlint": "^1.14.0",
3534
"typescript": "~5.9.2",
3635
"vitepress": "2.0.0-alpha.15",
@@ -39,7 +38,7 @@
3938
"vue-tsc": "^3.1.2"
4039
},
4140
"lint-staged": {
42-
"*": "dprint fmt --staged"
41+
"*": "oxfmt"
4342
},
4443
"packageManager": "pnpm@10.24.0",
4544
"volta": {

0 commit comments

Comments
 (0)