mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
cd25e4f56e
## 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.
30 lines
828 B
JSON
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"
|
|
}
|
|
}
|