Compare commits

..

14 Commits

Author SHA1 Message Date
Gregory Schier
5919fae739 Run oxfmt across repo, add format script and ignore config
Format all non-generated files with oxfmt via `vp fmt`. Add
.oxfmtignore to skip bindings/ and wasm-pack output. Add npm
format script and update DEVELOPMENT.md docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:52:11 -07:00
Gregory Schier
a9cccb21b8 Use npm commands in DEVELOPMENT.md for contributor familiarity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:49:03 -07:00
Gregory Schier
1c0435e3ff Update DEVELOPMENT.md for Vite+ toolchain
Replace Biome references with Vite+ (oxlint/oxfmt), add vp as a
prerequisite, and document pre-commit hook and VS Code extensions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:48:21 -07:00
Gregory Schier
a629a1fa79 Fix wasm-pack output for Vite 8/rolldown production builds
Rewrite generated yaak_templates.js to use Vite's ?init import style
instead of the ES Module Integration style that rolldown doesn't support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:02:12 -07:00
Gregory Schier
dde8d61b4b Run bootstrap 2026-03-13 08:50:43 -07:00
Gregory Schier
08a64b6938 VSCode suggestion and CI 2026-03-13 08:44:52 -07:00
Gregory Schier
560c4667e4 More fixes 2026-03-13 08:32:40 -07:00
Gregory Schier
21f775741a More fixes 2026-03-13 08:29:36 -07:00
Gregory Schier
44a331929f Enable type-aware linting and replace biome-ignore with oxlint-disable
- Enable typeAware option and no-explicit-any (error) in vite.config.ts
- Ignore generated binding files from linting
- Convert all 96 biome-ignore comments to oxlint-disable equivalents
- Add suppression comments for 3 previously uncovered any usages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:24:45 -07:00
Gregory Schier
7670ab007f Fix lint errors 2026-03-13 08:12:21 -07:00
Gregory Schier
be34dfe74a Fix no-base-to-string 2026-03-13 07:48:50 -07:00
Gregory Schier
e4103f1a4a Fix some lint 2026-03-13 07:36:26 -07:00
Gregory Schier
7f4eedd630 Get lint running 2026-03-13 07:32:55 -07:00
Gregory Schier
49659a3da9 Migrate to Vite+ (vite-plus) unified toolchain
Replace Vite/Vitest with vite-plus, update WASM loading to native Vite 8
?init pattern, switch React compiler to @rolldown/plugin-babel, and
migrate git hooks from husky to vite-hooks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 07:23:11 -07:00
3 changed files with 11 additions and 9 deletions

View File

@@ -226,8 +226,10 @@ async fn build_body(
let (body, content_type) = match body_type.as_str() {
"binary" => (build_binary_body(&body).await?, None),
"graphql" => (build_graphql_body(&method, &body), None),
"application/x-www-form-urlencoded" => (build_form_body(&body), None),
"graphql" => (build_graphql_body(&method, &body), Some("application/json".to_string())),
"application/x-www-form-urlencoded" => {
(build_form_body(&body), Some("application/x-www-form-urlencoded".to_string()))
}
"multipart/form-data" => build_multipart_body(&body, &headers).await?,
_ if body.contains_key("text") => (build_text_body(&body, body_type), None),
t => {

12
package-lock.json generated
View File

@@ -77,7 +77,7 @@
"nodejs-file-downloader": "^4.13.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.8.3",
"vite-plus": "*",
"vite-plus": "latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
}
},
@@ -8413,9 +8413,9 @@
}
},
"node_modules/hono": {
"version": "4.12.12",
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.12.tgz",
"integrity": "sha512-p1JfQMKaceuCbpJKAPKVqyqviZdS0eUxH9v82oWo1kb9xjQ5wA6iP3FNVAPDFlz5/p7d45lO+BpSk1tuSZMF4Q==",
"version": "4.12.4",
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.4.tgz",
"integrity": "sha512-ooiZW1Xy8rQ4oELQ++otI2T9DsKpV0M6c6cO6JGx4RTfav9poFFLlet9UMXHZnoM1yG0HWGlQLswBGX3RZmHtg==",
"license": "MIT",
"engines": {
"node": ">=16.9.0"
@@ -16619,7 +16619,7 @@
"@hono/mcp": "^0.2.3",
"@hono/node-server": "^1.19.10",
"@modelcontextprotocol/sdk": "^1.26.0",
"hono": "^4.12.12",
"hono": "^4.12.4",
"zod": "^3.25.76"
},
"devDependencies": {
@@ -16950,7 +16950,7 @@
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vite-plugin-static-copy": "^3.3.0",
"vite-plugin-svgr": "^4.5.0",
"vite-plus": "*"
"vite-plus": "latest"
}
},
"src-web/node_modules/@rolldown/pluginutils": {

View File

@@ -17,7 +17,7 @@
"@hono/mcp": "^0.2.3",
"@hono/node-server": "^1.19.10",
"@modelcontextprotocol/sdk": "^1.26.0",
"hono": "^4.12.12",
"hono": "^4.12.4",
"zod": "^3.25.76"
},
"devDependencies": {