Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
cache: true
run-install: true

- name: Run lint
run: vite run lint

- name: Run tests
run: vite run ci

Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Tests use Vitest with:
- User-Agent header: `node-urllib/{version} Node.js/{version} ({platform}; {arch})`

<!--VITE PLUS START-->

# Using Vite+, the Unified Toolchain for the Web

This project is using Vite+, a modern toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, and Oxfmt. Vite+ wraps these tools and package manager commands in a single, global CLI called `vite`. Vite+ is distinct from Vite, but it invokes Vite through `vite dev` and `vite build`.
Expand Down
29 changes: 19 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"form-data": "^4.0.5",
"formstream": "^1.5.2",
"mime-types": "^2.1.35",
"qs": "^6.14.0",
"qs": "^6.14.1",
"type-fest": "^4.41.0",
"undici": "^7.16.0",
"undici": "^7.19.0",
"ylru": "^2.0.0"
},
"devDependencies": {
Expand All @@ -86,14 +86,14 @@
"@eggjs/tsconfig": "^2.0.0",
"@types/busboy": "^1.5.4",
"@types/mime-types": "^2.1.4",
"@types/node": "^22.19.3",
"@types/node": "^22.19.7",
"@types/proxy": "^1.0.4",
"@types/qs": "^6.14.0",
"@types/selfsigned": "^2.1.0",
"@types/tar-stream": "^2.2.3",
"@typescript/native-preview": "7.0.0-dev.20260120.1",
"@ungap/structured-clone": "^1.3.0",
"@vitest/coverage-v8": "^4.0.17",
"@vitest/coverage-v8": "^4.0.18",
"busboy": "^1.6.0",
"cross-env": "^10.1.0",
"husky": "^9.1.7",
Expand All @@ -106,12 +106,17 @@
"tshy": "^3.1.0",
"tshy-after": "^1.4.1",
"typescript": "^5.9.3",
"vite-plus": "latest"
"vite-plus": "latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
},
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
},
"lint-staged": {
"*": [
"vite run lint --fix",
"vite run fmt ."
"vite fmt --no-error-on-unmatched-pattern"
]
},
"tshy": {
Expand All @@ -126,10 +131,14 @@
"packageManager": "pnpm@10.28.1",
"pnpm": {
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest"
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
},
"peerDependencyRules": {
"allowAny": [
"vite",
"vitest"
]
}
},
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest"
}
}
Loading
Loading