Skip to content

Commit 7dc9af9

Browse files
authored
chore: update vite-plus to ^0.1.1 (#673)
## Changes - Update vite-plus and related packages from `latest` to `^0.1.1` - Remove oxlint `extends` from `vite.config.ts` (oxlint 1.51.0 no longer supports string paths in extends; all rules were already overridden locally) - Remove unused `@eggjs/oxlint-config` dependency - Remove redundant top-level `overrides` (only `pnpm.overrides` is needed) - Rename CI job from `typecheck` to `check` ## Node engine compatibility vite-plus 0.1.1 dev tooling requires Node >=20, but this only affects development. The library itself (urllib) still supports Node >=18.19.0 at runtime. CI already tests only Node 20/22/24/25. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Pinned previously dynamic "latest" dependency specs to explicit semantic versions (^0.1.1) for build and test tooling to ensure consistent installs. * Removed an unused dev dependency declaration. * Renamed an internal CI job and updated its concurrency grouping to match the new name. * Removed an explicit lint configuration entry so linting will rely on the project's default configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 774a532 commit 7dc9af9

File tree

4 files changed

+53
-64
lines changed

4 files changed

+53
-64
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
merge_group:
99

1010
jobs:
11-
typecheck:
11+
check:
1212
runs-on: ubuntu-latest
1313
concurrency:
14-
group: typecheck-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}
14+
group: check-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}
1515
cancel-in-progress: true
1616
steps:
1717
- name: Checkout repository

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
},
8282
"devDependencies": {
8383
"@arethetypeswrong/cli": "^0.18.2",
84-
"@eggjs/oxlint-config": "^1.0.0",
8584
"@eggjs/tsconfig": "^2.0.0",
8685
"@types/busboy": "^1.5.4",
8786
"@types/mime-types": "^2.1.4",
@@ -105,12 +104,12 @@
105104
"tshy": "^3.3.2",
106105
"tshy-after": "^1.4.1",
107106
"typescript": "^5.9.3",
108-
"vite-plus": "latest",
109-
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
107+
"vite-plus": "^0.1.1",
108+
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.1"
110109
},
111110
"overrides": {
112-
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
113-
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
111+
"vite": "npm:@voidzero-dev/vite-plus-core@^0.1.1",
112+
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.1"
114113
},
115114
"lint-staged": {
116115
"*": "vp check --fix"
@@ -127,8 +126,8 @@
127126
"packageManager": "pnpm@10.30.3",
128127
"pnpm": {
129128
"overrides": {
130-
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
131-
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
129+
"vite": "npm:@voidzero-dev/vite-plus-core@^0.1.1",
130+
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.1"
132131
},
133132
"peerDependencyRules": {
134133
"allowAny": [

pnpm-lock.yaml

Lines changed: 45 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ export default defineConfig({
2323
env: {
2424
node: true,
2525
},
26-
// FIXME: wait for vite-plus to fix lint extends path resolution
27-
extends: ['./node_modules/@eggjs/oxlint-config/.oxlintrc.json'],
2826
categories: {
2927
correctness: 'allow',
3028
suspicious: 'allow',

0 commit comments

Comments
 (0)