Skip to content

Commit ce126d1

Browse files
chore: use Vite+ for repository tooling
1 parent 2872a62 commit ce126d1

10 files changed

Lines changed: 1433 additions & 450 deletions

‎.github/dependabot.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ updates:
4949
- 'lint-staged'
5050
- 'oxlint'
5151
- 'oxfmt'
52+
- 'vite-plus'
5253
unist:
5354
patterns:
5455
- 'unified'

‎.lintstagedrc.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"*.{js,mjs,jsx}": ["oxlint --fix", "oxfmt"],
3-
"*.{json,yml}": ["oxfmt"]
2+
"*.{js,mjs,jsx}": ["vp lint --fix", "vp fmt"],
3+
"*.{json,yml}": ["vp fmt"]
44
}

‎.node-version‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

‎.oxfmtrc.json‎

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

‎.oxlintrc.json‎

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

‎package.json‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"url": "git+https://github.com/nodejs/doc-kit.git"
99
},
1010
"scripts": {
11-
"lint": "oxlint .",
12-
"lint:fix": "oxlint --fix .",
13-
"format": "oxfmt .",
14-
"format:check": "oxfmt --check .",
11+
"lint": "vp lint .",
12+
"lint:fix": "vp lint --fix .",
13+
"format": "vp fmt .",
14+
"format:check": "vp fmt --check .",
1515
"test": "node --test --experimental-test-module-mocks \"packages/*/src/**/*.test.mjs\" \"scripts/**/*.test.mjs\"",
1616
"test:coverage": "c8 node --test --experimental-test-module-mocks \"packages/*/src/**/*.test.mjs\" \"scripts/**/*.test.mjs\"",
1717
"test:ci": "c8 --reporter=lcov node --test --experimental-test-module-mocks \"packages/*/src/**/*.test.mjs\" \"scripts/**/*.test.mjs\" --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=junit.xml --test-reporter=spec --test-reporter-destination=stdout",
@@ -41,7 +41,6 @@
4141
"husky": "9.1.7",
4242
"json-schema-to-typescript": "^16.0.0",
4343
"lint-staged": "17.4.1",
44-
"oxfmt": "0.71.0",
45-
"oxlint": "1.86.0"
44+
"vite-plus": "1.0.0"
4645
}
4746
}

0 commit comments

Comments
 (0)