Skip to main content

tsz_cli/
lib.rs

1//! Native CLI support for the tsz TypeScript compiler.
2//!
3//! This crate provides CLI binaries (`tsz`, `tsz-lsp`, `tsz-server`) and
4//! all CLI-specific modules (argument parsing, file discovery, config loading,
5//! compilation driver, watch mode, etc.).
6
7pub mod args;
8pub mod build;
9pub use tsz::config;
10pub mod driver;
11pub mod driver_emit;
12pub mod driver_resolution;
13pub mod fs;
14pub mod incremental;
15pub mod locale;
16pub mod project_refs;
17pub mod reporter;
18pub mod trace;
19pub mod tracing_config;
20pub mod watch;
21
22#[cfg(test)]
23#[path = "../tests/args_tests.rs"]
24mod args_tests;
25#[cfg(test)]
26#[path = "../tests/build_tests.rs"]
27mod build_tests;
28#[cfg(test)]
29#[path = "../tests/config_tests.rs"]
30mod config_tests;
31#[cfg(test)]
32#[path = "../tests/driver_tests.rs"]
33mod driver_tests;
34#[cfg(test)]
35#[path = "../tests/driver_tests_ts2307.rs"]
36mod driver_tests_ts2307;
37#[cfg(test)]
38#[path = "../tests/fs_tests.rs"]
39mod fs_tests;
40#[cfg(test)]
41#[path = "../tests/reporter_tests.rs"]
42mod reporter_tests;
43#[cfg(test)]
44#[path = "../tests/tsc_compat_tests.rs"]
45mod tsc_compat_tests;
46#[cfg(test)]
47#[path = "../tests/watch_tests.rs"]
48mod watch_tests;