Files
oxc-project__oxc/tasks/codegen_conformance/package.json
camc314 cd25e4f56e fix(codegen): surface conformance reference panics (#25552)
## Summary

Make Codegen conformance failures visible when the Rust reference panics.

- Preserve `null` for source text with parser diagnostics.
- Return a N-API error for a caught reference panic.
- Let Vitest fail the affected fixture instead of silently skipping it.
2026-08-12 17:09:00 +00:00

30 lines
828 B
JSON

{
"name": "oxc-codegen-conformance",
"version": "0.0.0",
"private": true,
"description": "Node API binding around `oxc_parser` + `oxc_codegen`, used as the reference output for the `oxc-codegen` package's conformance tests",
"license": "MIT",
"author": "Boshen and oxc contributors",
"repository": {
"type": "git",
"url": "git+https://github.com/oxc-project/oxc.git",
"directory": "tasks/codegen_conformance"
},
"type": "module",
"main": "index.js",
"scripts": {
"build-dev": "napi build --esm --platform",
"build-test": "pnpm run build-dev --profile codegen-conformance",
"build": "pnpm run build-test"
},
"devDependencies": {
"@napi-rs/cli": "catalog:"
},
"napi": {
"binaryName": "codegen_conformance"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
}
}