# System map — oxc-project/oxc

> Canonical page: https://codevetter.com/unpack/oxc/system-map

# System map — oxc-project/oxc

Scanned commit 7f65b757df7c3225320d8f7e051e64873f80f988 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The repository combines reusable compiler components with native applications and Node.js bindings. Runtime boundaries differ between Rust-only CLIs, NAPI callbacks, the stdio language server, and the optional tsgolint subprocess. Application persistence is visible as source-file rewrites and a JSON suppression baseline. Build and verification definitions span Cargo, pnpm, Just, and GitHub Actions.
- Cargo groups apps, crates, napi, and tasks into one workspace using resolver 3 and Rust edition 2024; the declared MSRV is 1.97.0. — [Cargo.toml#L1-18](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/Cargo.toml#L1-L18)
- The shared dependency table connects allocator, AST, parser, semantic, transformer, minifier, codegen, diagnostics, and traversal crates; formatter and application crates are separately marked unpublished. — [Cargo.toml#L122-178](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/Cargo.toml#L122-L178)
- Oxlint's native entrypoint uses a synchronous Rayon CLI path and constructs a Tokio runtime only when --lsp is selected. — [apps/oxlint/src/main.rs#L8-42](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/apps/oxlint/src/main.rs#L8-L42)
- Oxfmt exports both a Rust executable and lib/cdylib artifacts; its Rust main supports basic CLI processing, while run_cli supplies Node-backed LSP, stdin, initialization, and migration dispatch. — [apps/oxfmt/Cargo.toml#L18-27](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/apps/oxfmt/Cargo.toml#L18-L27) [apps/oxfmt/src/main.rs#L1-15](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/apps/oxfmt/src/main.rs#L1-L15) [apps/oxfmt/src/main_napi.rs#L69-120](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/apps/oxfmt/src/main_napi.rs#L69-L120)
- The language-server transport is stdin/stdout through tower_lsp_server; its service registers document lifecycle, diagnostics, formatting, code actions, and workspace commands. — [crates/oxc_language_server/src/lib.rs#L52-68](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_language_server/src/lib.rs#L52-L68) [crates/oxc_language_server/src/lib.rs#L82-108](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_language_server/src/lib.rs#L82-L108)
- LintRunner owns regular LintService, optional TsGoLintState, and a shared disable-directive store; tsgolint is launched as a separate process with piped JSON input. — [crates/oxc_linter/src/lint_runner.rs#L17-39](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_linter/src/lint_runner.rs#L17-L39) [crates/oxc_linter/src/tsgolint.rs#L360-412](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_linter/src/tsgolint.rs#L360-L412)
- Persistent outputs include formatter source rewrites, lint-fix source rewrites, and pretty-printed JSON suppression tracking saved through fs::write. — [apps/oxfmt/src/cli/service.rs#L80-98](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/apps/oxfmt/src/cli/service.rs#L80-L98) [crates/oxc_linter/src/service/runtime.rs#L727-740](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_linter/src/service/runtime.rs#L727-L740) [crates/oxc_linter/src/suppression/tracking.rs#L113-122](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/crates/oxc_linter/src/suppression/tracking.rs#L113-L122)
- Root pnpm scripts build and test selected application, NAPI, and package workspaces sequentially; Cargo aliases provide checks, Clippy, conformance, benchmarking, and code generation, while just test invokes cargo test --all-features. — [package.json#L4-20](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/package.json#L4-L20) [.cargo/config.toml#L1-13](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/.cargo/config.toml#L1-L13) [justfile#L49-55](https://github.com/oxc-project/oxc/blob/7f65b757df7c3225320d8f7e051e64873f80f988/justfile#L49-L55)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
