mirror of
https://github.com/swc-project/swc.git
synced 2024-09-20 05:07:40 +03:00
build(swc): Remove unused dependencies (#3673)
This commit is contained in:
parent
70d670a126
commit
210f17af8c
@ -3,4 +3,9 @@
|
||||
|
||||
# yarn run cspell "**/src/**/*.rs"
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy
|
||||
|
||||
|
||||
if [ -z ${SWC_SKIP_CLIPPY+x} ];
|
||||
then
|
||||
cargo clippy
|
||||
fi
|
||||
|
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -1663,15 +1663,6 @@ dependencies = [
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "owning_ref"
|
||||
version = "0.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6ff55baddef9e4ad00f88b6c743a2a8062d4c6ade126c2a528644b8e444d52ce"
|
||||
dependencies = [
|
||||
"stable_deref_trait",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot"
|
||||
version = "0.11.1"
|
||||
@ -2761,7 +2752,6 @@ dependencies = [
|
||||
"from_variant",
|
||||
"num-bigint",
|
||||
"once_cell",
|
||||
"owning_ref",
|
||||
"parking_lot 0.12.0",
|
||||
"rayon",
|
||||
"rkyv",
|
||||
@ -3069,7 +3059,6 @@ dependencies = [
|
||||
"swc_ecma_utils",
|
||||
"swc_ecma_visit",
|
||||
"testing",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3504,7 +3493,6 @@ name = "swc_plugin_runner"
|
||||
version = "0.38.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"libloading",
|
||||
"once_cell",
|
||||
"parking_lot 0.12.0",
|
||||
"serde",
|
||||
|
@ -39,7 +39,6 @@ either = "1.5"
|
||||
from_variant = {version = "0.1.3", path = "../from_variant"}
|
||||
num-bigint = "0.2"
|
||||
once_cell = "1.9.0"
|
||||
owning_ref = "0.4"
|
||||
parking_lot = {version = "0.12.0", optional = true}
|
||||
rkyv = {version = "0.7.28", optional = true}
|
||||
rustc-hash = "1.1.0"
|
||||
|
@ -19,10 +19,10 @@ swc_atoms = {version = "0.2", path = "../swc_atoms"}
|
||||
swc_common = {version = "0.17.3", path = "../swc_common"}
|
||||
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
|
||||
swc_ecma_codegen_macros = {version = "0.6.0", path = "../swc_ecma_codegen_macros"}
|
||||
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
|
||||
tracing = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
swc_common = {version = "0.17.3", path = "../swc_common", features = ["sourcemap"]}
|
||||
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
|
||||
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
|
||||
testing = {version = "0.18.0", path = "../testing"}
|
||||
|
@ -27,7 +27,6 @@ swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
|
||||
swc_ecma_transforms = {version = "0.120.0", path = "../swc_ecma_transforms", features = ["compat", "proposal"]}
|
||||
swc_ecma_utils = {version = "0.68.0", path = "../swc_ecma_utils"}
|
||||
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
|
||||
walkdir = "2"
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "0.7.2"
|
||||
|
@ -112,7 +112,6 @@ impl Default for UseBuiltIns {
|
||||
enum Error {
|
||||
Io(io::Error),
|
||||
Var(env::VarError),
|
||||
WalkDir(walkdir::Error),
|
||||
Json(serde_json::Error),
|
||||
Msg(String),
|
||||
}
|
||||
|
@ -10,22 +10,21 @@ version = "0.38.0"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.42"
|
||||
libloading = "0.7.0"
|
||||
once_cell = "1.9.0"
|
||||
parking_lot = "0.12.0"
|
||||
serde = {version = "1.0.126", features = ["derive"]}
|
||||
serde_json = "1.0.64"
|
||||
swc_atoms = {version = "0.2.7", path = '../swc_atoms'}
|
||||
swc_common = {version = "0.17.0", path = "../swc_common", features = ["plugin-rt", "concurrent"]}
|
||||
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast", features = ["rkyv-impl"]}
|
||||
swc_ecma_loader = { version = "0.28.0", path = "../swc_ecma_loader" }
|
||||
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
|
||||
wasmer = "2.1.1"
|
||||
wasmer-cache = "2.1.1"
|
||||
wasmer-wasi = "2.1.1"
|
||||
|
||||
[dev-dependencies]
|
||||
swc_atoms = {version = "0.2.7", path = '../swc_atoms'}
|
||||
swc_ecma_loader = {version = "0.28.0", path = "../swc_ecma_loader"}
|
||||
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
|
||||
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
|
||||
testing = {version = "0.18.0", path = "../testing"}
|
||||
swc_ecma_visit = { version = "0.54.0", path = "../swc_ecma_visit" }
|
||||
|
||||
[features]
|
||||
|
Loading…
Reference in New Issue
Block a user