1+ [workspace ]
2+ members = [" ." , " packages/ts-wasm-language-service" ]
3+
14[package ]
25authors = [" LongYinan <github@lyn.one>" ]
36edition = " 2021"
@@ -7,25 +10,39 @@ version = "0.0.0"
710[lib ]
811crate-type = [" cdylib" ]
912
13+ [workspace .dependencies ]
14+ mimalloc = " 0.1"
15+ napi = { version = " 3.0.0-alpha" , default-features = false , features = [" serde-json" , " napi3" ] }
16+ napi-build = " 2"
17+ napi-derive = { version = " 3.0.0-alpha" , default-features = false , features = [" type-def" ] }
18+ oxc = { version = " 0.37" , features = [" codegen" , " transformer" , " sourcemap_concurrent" , " semantic" ] }
19+ oxc_resolver = " 2"
20+ phf = " 0.11"
21+ serde = { version = " 1.0" , features = [" derive" ] }
22+ serde_json = " 1"
23+ tracing = " 0.1"
24+ tracing-subscriber = { version = " 0.3" , default-features = false , features = [" std" , " fmt" ] }
25+ walrus = " 0.23"
26+
1027[dependencies ]
11- napi = { version = " 3.0.0-alpha " , default-features = false , features = [ " serde-json " , " napi3 " ] }
12- napi-derive = { version = " 3.0.0-alpha " , default-features = false , features = [ " type-def " ] }
13- oxc = { version = " 0.37 " , features = [ " codegen " , " transformer " , " sourcemap_concurrent " , " semantic " ] }
14- oxc_resolver = " 2 "
15- phf = " 0.11 "
16- serde = { version = " 1.0 " , features = [ " derive " ] }
17- serde_json = " 1 "
18- tracing = " 0.1 "
19- tracing-subscriber = { version = " 0.3 " , default-features = false , features = [ " std " , " fmt " ] } # Omit the `regex` feature
28+ napi = { workspace = true }
29+ napi-derive = { workspace = true }
30+ oxc = { workspace = true }
31+ oxc_resolver = { workspace = true }
32+ phf = { workspace = true }
33+ serde = { workspace = true }
34+ serde_json = { workspace = true }
35+ tracing = { workspace = true }
36+ tracing-subscriber = { workspace = true } # Omit the `regex` feature
2037
2138[target .'cfg(all(not(target_os = "linux"), not(target_family = "wasm")))' .dependencies ]
22- mimalloc = " 0.1 "
39+ mimalloc = { workspace = true }
2340
2441[target .'cfg(all(target_os = "linux", not(target_arch = "arm")))' .dependencies ]
25- mimalloc = { version = " 0.1 " , features = [" local_dynamic_tls" ] }
42+ mimalloc = { workspace = true , features = [" local_dynamic_tls" ] }
2643
2744[build-dependencies ]
28- napi-build = " 2 "
45+ napi-build = { workspace = true }
2946
3047[profile .release ]
3148codegen-units = 1
0 commit comments