chore(ci): Fix benchmark action (#4242)

This commit is contained in:
Donny/강동윤 2022-04-04 20:12:03 +09:00 committed by GitHub
parent fd7cbfb99d
commit 1f466e1d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 718 additions and 567 deletions

View File

@ -4,6 +4,9 @@ on:
- push
- pull_request
env:
RUST_LOG: "off"
jobs:
binary-size:
name: Binary size

View File

@ -9,6 +9,7 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.7.7"
[lib]
bench = false
proc-macro = true
[dependencies]

View File

@ -8,7 +8,8 @@ name = "better_scoped_tls"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
scoped-tls = "1.0.0"

View File

@ -9,12 +9,13 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.2.1"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
[dependencies.syn]
features = ["full", "parsing", "printing", "extra-traits"]

View File

@ -9,12 +9,13 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.1.3"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.3"
proc-macro2 = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
[dependencies.syn]
features = ["derive", "fold", "parsing", "printing"]

View File

@ -8,17 +8,18 @@ license = "Apache-2.0"
name = "jsdoc"
version = "0.68.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
nom = "7.1.0"
serde = { version = "1", features = ["derive"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
serde = {version = "1", features = ["derive"]}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
[dev-dependencies]
anyhow = "1"
dashmap = "5.1.0"
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,6 +9,7 @@ publish = false
version = "0.1.0"
[lib]
bench = false
crate-type = ["cdylib"]
[features]

View File

@ -8,6 +8,7 @@ publish = false
version = "0.1.0"
[lib]
bench = false
proc-macro = true
[dependencies]

View File

@ -7,15 +7,16 @@ license = "Apache-2.0"
name = "preset_env_base"
version = "0.2.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.4"
anyhow = "1"
browserslist-rs = "=0.9.0"
dashmap = "5.1.0"
from_variant = { version = "0.1.3", path = "../from_variant" }
from_variant = {version = "0.1.3", path = "../from_variant"}
once_cell = "1.10.0"
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
semver = {version = "1.0.4", features = ["serde"]}
serde = {version = "1", features = ["derive"]}
st-map = "0.1.2"

View File

@ -9,13 +9,14 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.3.1"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
[dependencies.syn]
features = ["full", "parsing", "printing", "extra-traits"]

View File

@ -12,6 +12,7 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.163.1"
[lib]
bench = false
name = "swc"
[features]
@ -35,54 +36,54 @@ anyhow = "1"
base64 = "0.13.0"
dashmap = "5.1.0"
either = "1"
indexmap = { version = "1", features = ["serde"] }
indexmap = {version = "1", features = ["serde"]}
json_comments = "0.2.0"
lru = "0.7.1"
once_cell = "1.10.0"
parking_lot = "0.12.0"
pathdiff = "0.2.0"
regex = "1"
serde = { version = "1", features = ["derive"] }
serde = {version = "1", features = ["derive"]}
serde_json = "1"
sourcemap = "6"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_cached = { version = "0.1.0", path = "../swc_cached" }
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_cached = {version = "0.1.0", path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"sourcemap",
"concurrent",
"parking_lot",
] }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_ext_transforms = { version = "0.64.0", path = "../swc_ecma_ext_transforms" }
swc_ecma_lints = { version = "0.30.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [
]}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_ext_transforms = {version = "0.64.0", path = "../swc_ecma_ext_transforms"}
swc_ecma_lints = {version = "0.30.0", path = "../swc_ecma_lints"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = [
"cache",
"node",
"tsc",
] }
swc_ecma_minifier = { version = "0.99.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { version = "0.116.0", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "0.141.0", path = "../swc_ecma_transforms", features = [
]}
swc_ecma_minifier = {version = "0.99.0", path = "../swc_ecma_minifier"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_preset_env = {version = "0.116.0", path = "../swc_ecma_preset_env"}
swc_ecma_transforms = {version = "0.141.0", path = "../swc_ecma_transforms", features = [
"compat",
"module",
"optimization",
"proposal",
"react",
"typescript",
] }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_optimization = { version = "0.111.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_ecmascript = { version = "0.142.0", path = "../swc_ecmascript" }
swc_error_reporters = { version = "0.1.0", path = "../swc_error_reporters" }
swc_node_comments = { version = "0.4.0", path = "../swc_node_comments" }
swc_plugin_comments = { version = "0.1.0", path = "../swc_plugin_comments", optional = true }
swc_plugin_runner = { version = "0.49.0", path = "../swc_plugin_runner", optional = true, default-features = false }
swc_visit = { version = "0.3.0", path = "../swc_visit" }
]}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_optimization = {version = "0.111.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_ecmascript = {version = "0.142.0", path = "../swc_ecmascript"}
swc_error_reporters = {version = "0.1.0", path = "../swc_error_reporters"}
swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"}
swc_plugin_comments = {version = "0.1.0", path = "../swc_plugin_comments", optional = true}
swc_plugin_runner = {version = "0.49.0", path = "../swc_plugin_runner", optional = true, default-features = false}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
tracing = "0.1.32"
[dependencies.napi-derive]
@ -100,11 +101,11 @@ version = "2.0.0"
[dev-dependencies]
criterion = "0.3"
rayon = "1.5.1"
swc_ecma_lints = { version = "0.30.0", path = "../swc_ecma_lints", features = [
swc_ecma_lints = {version = "0.30.0", path = "../swc_ecma_lints", features = [
"non_critical_lints",
] }
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
testing = { version = "0.19.0", path = "../testing" }
]}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
testing = {version = "0.19.0", path = "../testing"}
walkdir = "2"
[[example]]

View File

@ -9,6 +9,9 @@ name = "swc_atoms"
repository = "https://github.com/swc-project/swc.git"
version = "0.2.11"
[lib]
bench = false
[dependencies]
string_cache = "0.8.4"

View File

@ -15,6 +15,9 @@ version = "0.132.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
concurrent = [
@ -30,45 +33,45 @@ default = []
ahash = "0.7"
anyhow = "1"
crc = "2.1.0"
dashmap = { version = "5.1.0", optional = true }
dashmap = {version = "5.1.0", optional = true}
indexmap = "1.6"
is-macro = "0.2.0"
once_cell = "1.10.0"
parking_lot = "0.12.0"
petgraph = "0.6"
radix_fmt = "1"
rayon = { version = "1", optional = true }
rayon = {version = "1", optional = true}
relative-path = "1.2"
retain_mut = "0.1.2"
swc_atoms = { version = "0.2.4", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.111.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_fast_graph = { version = "0.5.0", path = "../swc_fast_graph/" }
swc_graph_analyzer = { version = "0.6.0", path = "../swc_graph_analyzer/" }
swc_atoms = {version = "0.2.4", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_optimization = {version = "0.111.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_fast_graph = {version = "0.5.0", path = "../swc_fast_graph/"}
swc_graph_analyzer = {version = "0.6.0", path = "../swc_graph_analyzer/"}
tracing = "0.1.32"
[dev-dependencies]
hex = "0.4"
ntest = "0.7.2"
path-clean = "=0.1.0"
reqwest = { version = "0.11.4", features = ["blocking"] }
reqwest = {version = "0.11.4", features = ["blocking"]}
sha-1 = "0.10"
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = [
"node",
"cache",
] }
swc_ecma_minifier = { version = "0.99.0", path = "../swc_ecma_minifier" }
swc_ecma_transforms_proposal = { version = "0.96.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { version = "0.103.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_typescript = { version = "0.106.0", path = "../swc_ecma_transforms_typescript" }
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
]}
swc_ecma_minifier = {version = "0.99.0", path = "../swc_ecma_minifier"}
swc_ecma_transforms_proposal = {version = "0.96.0", path = "../swc_ecma_transforms_proposal"}
swc_ecma_transforms_react = {version = "0.103.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_typescript = {version = "0.106.0", path = "../swc_ecma_transforms_typescript"}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
tempfile = "3.1.0"
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}
url = "2.1.1"

View File

@ -8,7 +8,9 @@ license = "Apache-2.0"
name = "swc_cached"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.6"
@ -17,4 +19,4 @@ dashmap = "5.1.0"
once_cell = "1.10.0"
regex = "1.5.4"
serde = "1.0.136"
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}

View File

@ -9,6 +9,7 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.37.0"
[[bin]]
bench = false
name = "swc"
path = "./src/main.rs"
@ -24,23 +25,23 @@ plugin = [
[dependencies]
anyhow = "1.0.53"
atty = "0.2.14"
clap = { version = "3.1.0", features = ["derive", "wrap_help"] }
clap = {version = "3.1.0", features = ["derive", "wrap_help"]}
glob = "0.3.0"
rayon = "1"
relative-path = "1.6.1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] }
swc = { version = "0.163.0", path = "../swc" }
swc_common = { version = "0.17.5", path = "../swc_common" }
swc_trace_macro = { version = "0.1.0", path = "../swc_trace_macro" }
swc_plugin_runner = { version = "0.49.0", path = "../swc_plugin_runner", default-features = false, optional = true }
serde = {version = "1", features = ["derive"]}
serde_json = {version = "1", features = ["unbounded_depth"]}
swc = {version = "0.163.0", path = "../swc"}
swc_common = {version = "0.17.5", path = "../swc_common"}
swc_plugin_runner = {version = "0.49.0", path = "../swc_plugin_runner", default-features = false, optional = true}
swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"}
tracing = "0.1.32"
tracing-chrome = "0.5.0"
tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
tracing-subscriber = {version = "0.3.9", features = ["env-filter"]}
walkdir = "2"
wasmer = { version = "2.2.1", optional = true }
wasmer-wasi = { version = "2.2.1", optional = true }
glob = "0.3.0"
wasmer = {version = "2.2.1", optional = true}
wasmer-wasi = {version = "2.2.1", optional = true}
[dependencies.path-absolutize]
features = ["once_cell_cache"]

View File

@ -12,6 +12,9 @@ version = "0.17.19"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
concurrent = ["parking_lot"]
debug = []
@ -26,27 +29,27 @@ tty-emitter = ["atty", "termcolor"]
[dependencies]
ahash = "0.7.4"
anyhow = { version = "1.0.45", optional = true }
arbitrary = { version = "1", optional = true, features = ["derive"] }
ast_node = { version = "0.7.5", path = "../ast_node" }
atty = { version = "0.2", optional = true }
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
anyhow = {version = "1.0.45", optional = true}
arbitrary = {version = "1", optional = true, features = ["derive"]}
ast_node = {version = "0.7.5", path = "../ast_node"}
atty = {version = "0.2", optional = true}
better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"}
cfg-if = "1.0.0"
debug_unreachable = "0.1.1"
either = "1.5"
from_variant = { version = "0.1.3", path = "../from_variant" }
from_variant = {version = "0.1.3", path = "../from_variant"}
num-bigint = "0.4"
once_cell = "1.10.0"
parking_lot = { version = "0.12.0", optional = true }
rkyv = { version = "0.7.28", optional = true }
parking_lot = {version = "0.12.0", optional = true}
rkyv = {version = "0.7.28", optional = true}
rustc-hash = "1.1.0"
serde = { version = "1.0.119", features = ["derive"] }
serde = {version = "1.0.119", features = ["derive"]}
siphasher = "0.3.9"
sourcemap = { version = "6", optional = true }
sourcemap = {version = "6", optional = true}
string_cache = "0.8.4"
swc_eq_ignore_macros = { version = "0.1", path = "../swc_eq_ignore_macros" }
swc_visit = { version = "0.3.0", path = "../swc_visit" }
termcolor = { version = "1.0", optional = true }
swc_eq_ignore_macros = {version = "0.1", path = "../swc_eq_ignore_macros"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
termcolor = {version = "1.0", optional = true}
tracing = "0.1.32"
unicode-width = "0.1.4"
url = "2.2.2"

View File

@ -12,13 +12,16 @@ version = "0.104.1"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
minifier = ["swc_css_minifier"]
[dependencies]
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_codegen = { version = "0.101.0", path = "../swc_css_codegen" }
swc_css_minifier = { version = "0.66.0", path = "../swc_css_minifier", optional = true }
swc_css_parser = { version = "0.100.0", path = "../swc_css_parser" }
swc_css_utils = { version = "0.89.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_codegen = {version = "0.101.0", path = "../swc_css_codegen"}
swc_css_minifier = {version = "0.66.0", path = "../swc_css_minifier", optional = true}
swc_css_parser = {version = "0.100.0", path = "../swc_css_parser"}
swc_css_utils = {version = "0.89.0", path = "../swc_css_utils/"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}

View File

@ -8,11 +8,12 @@ name = "swc_css_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.92.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
is-macro = "0.2.0"
serde = { version = "1.0.127", features = ["derive"] }
string_enum = { version = "0.3.1", path = "../string_enum/" }
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
serde = {version = "1.0.127", features = ["derive"]}
string_enum = {version = "0.3.1", path = "../string_enum/"}
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}

View File

@ -9,18 +9,21 @@ name = "swc_css_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.101.0"
[lib]
bench = false
[dependencies]
auto_impl = "0.5.0"
bitflags = "1.3.2"
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_codegen_macros = { version = "0.2.0", path = "../swc_css_codegen_macros" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_codegen_macros = {version = "0.2.0", path = "../swc_css_codegen_macros"}
[dev-dependencies]
swc_common = { version = "0.17.3", path = "../swc_common", features = [
swc_common = {version = "0.17.3", path = "../swc_common", features = [
"sourcemap",
] }
swc_css_parser = { version = "0.100.0", path = "../swc_css_parser" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
testing = { version = "0.19.0", path = "../testing" }
]}
swc_css_parser = {version = "0.100.0", path = "../swc_css_parser"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,11 +9,12 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.2.0"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
syn = { version = "1", features = ["fold"] }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
syn = {version = "1", features = ["fold"]}

View File

@ -9,21 +9,22 @@ name = "swc_css_lints"
repository = "https://github.com/swc-project/swc.git"
version = "0.10.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
auto_impl = "0.5.0"
parking_lot = "0.12.0"
rayon = "1.5.1"
serde = { version = "1.0.133", features = ["derive"] }
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_cached = { version = "0.1.0", path = "../swc_cached" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
serde = {version = "1.0.133", features = ["derive"]}
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_cached = {version = "0.1.0", path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}
thiserror = "1.0.30"
[dev-dependencies]
serde_json = "1.0.79"
swc_css_parser = { version = "0.100.0", path = "../swc_css_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_css_parser = {version = "0.100.0", path = "../swc_css_parser"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,15 +9,16 @@ name = "swc_css_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "0.66.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}
[dev-dependencies]
swc_css_codegen = { version = "0.101.0", path = "../swc_css_codegen" }
swc_css_parser = { version = "0.100.0", path = "../swc_css_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_css_codegen = {version = "0.101.0", path = "../swc_css_codegen"}
swc_css_parser = {version = "0.100.0", path = "../swc_css_parser"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,6 +9,9 @@ name = "swc_css_parser"
repository = "https://github.com/swc-project/swc.git"
version = "0.100.0"
[lib]
bench = false
[features]
debug = []

View File

@ -9,16 +9,17 @@ name = "swc_css_prefixer"
repository = "https://github.com/swc-project/swc.git"
version = "0.100.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_utils = { version = "0.89.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_utils = {version = "0.89.0", path = "../swc_css_utils/"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}
[dev-dependencies]
swc_css_codegen = { version = "0.101.0", path = "../swc_css_codegen" }
swc_css_parser = { version = "0.100.0", path = "../swc_css_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_css_codegen = {version = "0.101.0", path = "../swc_css_codegen"}
swc_css_parser = {version = "0.100.0", path = "../swc_css_parser"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -7,10 +7,12 @@ license = "Apache-2.0"
name = "swc_css_utils"
repository = "https://github.com/swc-project/swc.git"
version = "0.89.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_css_visit = { version = "0.91.0", path = "../swc_css_visit" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_css_visit = {version = "0.91.0", path = "../swc_css_visit"}

View File

@ -8,10 +8,11 @@ name = "swc_css_visit"
repository = "https://github.com/swc-project/swc.git"
version = "0.91.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_css_ast = { version = "0.92.0", path = "../swc_css_ast" }
swc_visit = { version = "0.3.0", path = "../swc_visit" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_css_ast = {version = "0.92.0", path = "../swc_css_ast"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}

View File

@ -12,20 +12,23 @@ version = "0.74.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
default = []
fuzzing = ["arbitrary", "swc_common/arbitrary"]
rkyv-impl = ["rkyv", "swc_common/rkyv-impl"]
[dependencies]
arbitrary = { version = "1", optional = true, features = ["derive"] }
arbitrary = {version = "1", optional = true, features = ["derive"]}
is-macro = "0.2.0"
num-bigint = { version = "0.4", features = ["serde"] }
rkyv = { version = "0.7.28", optional = true }
serde = { version = "1.0.133", features = ["derive"] }
string_enum = { version = "0.3.1", path = "../string_enum" }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
num-bigint = {version = "0.4", features = ["serde"]}
rkyv = {version = "0.7.28", optional = true}
serde = {version = "1.0.133", features = ["derive"]}
string_enum = {version = "0.3.1", path = "../string_enum"}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
unicode-id = "0.3"
[dev-dependencies]

View File

@ -9,27 +9,30 @@ name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.102.0"
[lib]
bench = false
[dependencies]
bitflags = "1"
memchr = "2.4.1"
num-bigint = { version = "0.4", features = ["serde"] }
num-bigint = {version = "0.4", features = ["serde"]}
once_cell = "1.10.0"
rustc-hash = "1.1.0"
sourcemap = "6"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.3", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen_macros = { version = "0.7.0", path = "../swc_ecma_codegen_macros" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.3", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen_macros = {version = "0.7.0", path = "../swc_ecma_codegen_macros"}
tracing = "0.1.32"
[dev-dependencies]
criterion = "0.3"
swc_common = { version = "0.17.3", path = "../swc_common", features = [
swc_common = {version = "0.17.3", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
testing = { version = "0.19.0", path = "../testing" }
]}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
testing = {version = "0.19.0", path = "../testing"}
[[bench]]
harness = false

View File

@ -9,12 +9,13 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.7.0"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
[dependencies.syn]
features = ["fold"]

View File

@ -8,13 +8,16 @@ name = "swc_ecma_dep_graph"
repository = "https://github.com/swc-project/swc.git"
version = "0.71.0"
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
pretty_assertions = "1.1"
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -7,12 +7,13 @@ license = "Apache-2.0"
name = "swc_ecma_ext_transforms"
version = "0.64.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
phf = { version = "0.10", features = ["macros"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
phf = {version = "0.10", features = ["macros"]}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}

View File

@ -9,6 +9,9 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.30.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7"
auto_impl = "0.5.0"
@ -16,20 +19,20 @@ dashmap = "5.1.0"
parking_lot = "0.12.0"
rayon = "1.5.1"
regex = "1"
serde = { version = "1.0.133", features = ["derive"] }
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common", features = [
serde = {version = "1.0.133", features = ["derive"]}
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"concurrent",
] }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
]}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
testing = {version = "0.19.0", path = "../testing"}
[features]
non_critical_lints = []

View File

@ -12,6 +12,9 @@ version = "0.29.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
default = []
@ -24,18 +27,18 @@ tsc = ["dashmap", "once_cell", "swc_cached"]
[dependencies]
ahash = "0.7.4"
anyhow = "1.0.41"
dashmap = { version = "5.1.0", optional = true }
lru = { version = "0.7.1", optional = true }
once_cell = { version = "1.9.0", optional = true }
parking_lot = { version = "0.12.0", optional = true }
path-clean = { version = "=0.1.0", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.64", optional = true }
swc_cached = { version = "0.1.0", optional = true, path = "../swc_cached" }
swc_common = { version = "0.17.0", path = "../swc_common" }
dashmap = {version = "5.1.0", optional = true}
lru = {version = "0.7.1", optional = true}
once_cell = {version = "1.9.0", optional = true}
parking_lot = {version = "0.12.0", optional = true}
path-clean = {version = "=0.1.0", optional = true}
serde = {version = "1", features = ["derive"]}
serde_json = {version = "1.0.64", optional = true}
swc_cached = {version = "0.1.0", optional = true, path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common"}
tracing = "0.1.32"
[dev-dependencies]
[target.'cfg(windows)'.dependencies]
normpath = { version = "0.2", optional = true }
normpath = {version = "0.2", optional = true}

View File

@ -13,33 +13,36 @@ version = "0.99.3"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
debug = ["backtrace", "swc_ecma_transforms_optimization/debug"]
[dependencies]
ahash = "0.7.6"
backtrace = { version = "0.3.61", optional = true }
backtrace = {version = "0.3.61", optional = true}
indexmap = "1.7.0"
once_cell = "1.10.0"
parking_lot = "0.12.0"
pretty_assertions = { version = "1.1", optional = true }
pretty_assertions = {version = "1.1", optional = true}
rayon = "1.5.1"
regex = "1.5.3"
retain_mut = "0.1.2"
rustc-hash = "1.1.0"
serde = { version = "1.0.118", features = ["derive"] }
serde = {version = "1.0.118", features = ["derive"]}
serde_json = "1.0.61"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_cached = { version = "0.1.0", path = "../swc_cached" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.111.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_timer = { version = "0.5.0", path = "../swc_timer" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_cached = {version = "0.1.0", path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_optimization = {version = "0.111.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_timer = {version = "0.5.0", path = "../swc_timer"}
tracing = "0.1.32"
unicode-id = "0.3.0"
@ -48,8 +51,8 @@ ansi_term = "0.12.1"
anyhow = "1"
criterion = "0.3.5"
pretty_assertions = "1.1"
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
testing = { version = "0.19.0", path = "../testing" }
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
testing = {version = "0.19.0", path = "../testing"}
[[bench]]
harness = false

View File

@ -13,6 +13,9 @@ version = "0.99.1"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
# Used for debugging
debug = []
@ -21,16 +24,16 @@ typescript = []
verify = ["swc_ecma_visit"]
[dependencies]
either = { version = "1.4" }
enum_kind = { version = "0.2.1", path = "../enum_kind" }
lexical = { version = "6.1.0", features = ["power-of-two"] }
either = {version = "1.4"}
enum_kind = {version = "0.2.1", path = "../enum_kind"}
lexical = {version = "6.1.0", features = ["power-of-two"]}
num-bigint = "0.4"
serde = { version = "1", features = ["derive"] }
serde = {version = "1", features = ["derive"]}
smallvec = "1.8.0"
swc_atoms = { version = "0.2.3", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit", optional = true }
swc_atoms = {version = "0.2.3", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit", optional = true}
tracing = "0.1.32"
typed-arena = "2.0.1"
unicode-id = "0.3"
@ -39,9 +42,9 @@ unicode-id = "0.3"
criterion = "0.3"
pretty_assertions = "1.1"
serde_json = "1"
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
testing = {version = "0.19.0", path = "../testing"}
walkdir = "2"
[[example]]

View File

@ -8,7 +8,8 @@ license = "Apache-2.0"
name = "swc_ecma_preset_env"
version = "0.116.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.4"
@ -16,28 +17,28 @@ anyhow = "1"
dashmap = "5.1.0"
indexmap = "1.6.2"
once_cell = "1.10.0"
preset_env_base = { version = "0.2.0", path = "../preset_env_base" }
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
preset_env_base = {version = "0.2.0", path = "../preset_env_base"}
semver = {version = "1.0.4", features = ["serde"]}
serde = {version = "1", features = ["derive"]}
serde_json = "1"
st-map = "0.1.2"
string_enum = { version = "0.3.1", path = "../string_enum" }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_transforms = { version = "0.141.0", path = "../swc_ecma_transforms", features = [
string_enum = {version = "0.3.1", path = "../string_enum"}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_transforms = {version = "0.141.0", path = "../swc_ecma_transforms", features = [
"compat",
"proposal",
] }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
]}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
criterion = "0.3"
pretty_assertions = "1.1"
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
testing = {version = "0.19.0", path = "../testing"}
[[bench]]
harness = false

View File

@ -8,14 +8,15 @@ name = "swc_ecma_quote"
repository = "https://github.com/swc-project/swc.git"
version = "0.10.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_common = { version = "0.17.9", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_quote_macros = { version = "0.9.0", path = "../swc_ecma_quote_macros" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_common = {version = "0.17.9", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_quote_macros = {version = "0.9.0", path = "../swc_ecma_quote_macros"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
[dev-dependencies]
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}

View File

@ -8,9 +8,8 @@ name = "swc_ecma_quote_macros"
repository = "https://github.com/swc-project/swc.git"
version = "0.9.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
proc-macro = true
[dependencies]
@ -18,9 +17,9 @@ anyhow = "1"
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_common = { version = "0.17.9", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_macros_common = { version = "0.3.3", path = "../swc_macros_common" }
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_common = {version = "0.17.9", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_macros_common = {version = "0.3.3", path = "../swc_macros_common"}
syn = "1"

View File

@ -13,6 +13,9 @@ version = "0.141.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
compat = ["swc_ecma_transforms_compat"]
concurrent = []
@ -24,24 +27,24 @@ react = ["swc_ecma_transforms_react"]
typescript = ["swc_ecma_transforms_typescript"]
[dependencies]
swc_atoms = { version = "0.2.0", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat", optional = true }
swc_ecma_transforms_module = { version = "0.101.0", path = "../swc_ecma_transforms_module", optional = true }
swc_ecma_transforms_optimization = { version = "0.111.0", path = "../swc_ecma_transforms_optimization", optional = true }
swc_ecma_transforms_proposal = { version = "0.96.0", path = "../swc_ecma_transforms_proposal", optional = true }
swc_ecma_transforms_react = { version = "0.103.0", path = "../swc_ecma_transforms_react", optional = true }
swc_ecma_transforms_typescript = { version = "0.106.0", path = "../swc_ecma_transforms_typescript", optional = true }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2.0", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat", optional = true}
swc_ecma_transforms_module = {version = "0.101.0", path = "../swc_ecma_transforms_module", optional = true}
swc_ecma_transforms_optimization = {version = "0.111.0", path = "../swc_ecma_transforms_optimization", optional = true}
swc_ecma_transforms_proposal = {version = "0.96.0", path = "../swc_ecma_transforms_proposal", optional = true}
swc_ecma_transforms_react = {version = "0.103.0", path = "../swc_ecma_transforms_react", optional = true}
swc_ecma_transforms_typescript = {version = "0.106.0", path = "../swc_ecma_transforms_typescript", optional = true}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
pretty_assertions = "1.1"
sourcemap = "6"
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
tempfile = "3"
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,29 +9,32 @@ name = "swc_ecma_transforms_base"
repository = "https://github.com/swc-project/swc.git"
version = "0.74.0"
[lib]
bench = false
[features]
concurrent = ["rayon", "swc_ecma_utils/concurrent"]
[dependencies]
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"}
once_cell = "1.10.0"
phf = { version = "0.10", features = ["macros"] }
rayon = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
phf = {version = "0.10", features = ["macros"]}
rayon = {version = "1", optional = true}
serde = {version = "1", features = ["derive"]}
smallvec = "1.8.0"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
tracing = "0.1.32"
[dev-dependencies]
criterion = "0.3"
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
testing = {version = "0.19.0", path = "../testing"}
[[bench]]
harness = false

View File

@ -8,10 +8,13 @@ name = "swc_ecma_transforms_classes"
repository = "https://github.com/swc-project/swc.git"
version = "0.62.0"
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.6", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2.6", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}

View File

@ -8,7 +8,9 @@ license = "Apache-2.0"
name = "swc_ecma_transforms_compat"
repository = "https://github.com/swc-project/swc.git"
version = "0.88.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[features]
concurrent = [
@ -24,22 +26,22 @@ indexmap = "1.6.1"
is-macro = "0.2.0"
num-bigint = "0.4"
ordered-float = "2.0.1"
rayon = { version = "1.5.1", optional = true }
serde = { version = "1.0.118", features = ["derive"] }
rayon = {version = "1.5.1", optional = true}
serde = {version = "1.0.118", features = ["derive"]}
smallvec = "1.8.0"
swc_atoms = { version = "0.2.5", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_classes = { version = "0.62.0", path = "../swc_ecma_transforms_classes" }
swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_trace_macro = { version = "0.1.0", path = "../swc_trace_macro" }
swc_atoms = {version = "0.2.5", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_classes = {version = "0.62.0", path = "../swc_ecma_transforms_classes"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"}
tracing = "0.1.32"
[dev-dependencies]
serde_json = "1.0.66"
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,11 +9,12 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.3.0"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
syn = { version = "1", features = ["fold", "parsing", "full"] }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
syn = {version = "1", features = ["fold", "parsing", "full"]}

View File

@ -8,7 +8,9 @@ license = "Apache-2.0"
name = "swc_ecma_transforms_module"
repository = "https://github.com/swc-project/swc.git"
version = "0.101.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
Inflector = "0.11.4"
@ -16,21 +18,21 @@ ahash = "0.7.4"
anyhow = "1.0.41"
indexmap = "1.8.0"
pathdiff = "0.2.0"
serde = { version = "1.0.118", features = ["derive"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_cached = { version = "0.1.0", path = "../swc_cached" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [
serde = {version = "1.0.118", features = ["derive"]}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_cached = {version = "0.1.0", path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = [
"node",
] }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
]}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.19.0", path = "../testing/" }
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.19.0", path = "../testing/"}

View File

@ -10,6 +10,9 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.111.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[features]
debug = []
# Process in parallel.
@ -25,23 +28,23 @@ ahash = "0.7.4"
dashmap = "5.1.0"
indexmap = "1.6.1"
once_cell = "1.10.0"
rayon = { version = "1.5.1", optional = true }
rayon = {version = "1.5.1", optional = true}
serde_json = "1.0.61"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_module = { version = "0.101.0", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_proposal = { version = "0.96.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { version = "0.103.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { version = "0.106.0", path = "../swc_ecma_transforms_typescript" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_module = {version = "0.101.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_proposal = {version = "0.96.0", path = "../swc_ecma_transforms_proposal"}
swc_ecma_transforms_react = {version = "0.103.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
swc_ecma_transforms_typescript = {version = "0.106.0", path = "../swc_ecma_transforms_typescript"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,7 +9,8 @@ name = "swc_ecma_transforms_proposal"
repository = "https://github.com/swc-project/swc.git"
version = "0.96.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[features]
default = []
@ -17,21 +18,21 @@ multi-module = ["swc_ecma_loader"]
[dependencies]
either = "1.6.1"
serde = { version = "1.0.118", features = ["derive"] }
serde = {version = "1.0.118", features = ["derive"]}
smallvec = "1.8.0"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", optional = true }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_classes = { version = "0.62.0", path = "../swc_ecma_transforms_classes" }
swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", optional = true}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_classes = {version = "0.62.0", path = "../swc_ecma_transforms_classes"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
serde_json = "1.0.66"
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -8,7 +8,9 @@ license = "Apache-2.0"
name = "swc_ecma_transforms_react"
repository = "https://github.com/swc-project/swc.git"
version = "0.103.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.4"
@ -17,21 +19,21 @@ dashmap = "5.1.0"
indexmap = "1.6.1"
once_cell = "1.10.0"
regex = "1.4.2"
serde = { version = "1.0.118", features = ["derive"] }
serde = {version = "1.0.118", features = ["derive"]}
sha-1 = "0.10.0"
string_enum = { version = "0.3.1", path = "../string_enum" }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
string_enum = {version = "0.3.1", path = "../string_enum"}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen/" }
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat/" }
swc_ecma_transforms_module = { version = "0.101.0", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen/"}
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat/"}
swc_ecma_transforms_module = {version = "0.101.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -8,7 +8,8 @@ name = "swc_ecma_transforms_testing"
repository = "https://github.com/swc-project/swc.git"
version = "0.76.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ansi_term = "0.12.1"
@ -17,12 +18,12 @@ hex = "0.4.3"
serde = "1"
serde_json = "1"
sha-1 = "0.10"
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
tempfile = "3.1.0"
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}

View File

@ -8,26 +8,28 @@ license = "Apache-2.0"
name = "swc_ecma_transforms_typescript"
repository = "https://github.com/swc-project/swc.git"
version = "0.106.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
serde = { version = "1.0.118", features = ["derive"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_react = { version = "0.103.0", path = "../swc_ecma_transforms_react" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
serde = {version = "1.0.118", features = ["derive"]}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_react = {version = "0.103.0", path = "../swc_ecma_transforms_react"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
[dev-dependencies]
criterion = "0.3"
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "0.88.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_proposal = { version = "0.96.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_compat = {version = "0.88.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_proposal = {version = "0.96.0", path = "../swc_ecma_transforms_proposal"}
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.19.0", path = "../testing"}
[[bench]]
harness = false

View File

@ -12,6 +12,9 @@ version = "0.78.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
# Process in parallel.
concurrent = ["swc_common/concurrent", "rayon"]
@ -19,12 +22,12 @@ concurrent = ["swc_common/concurrent", "rayon"]
[dependencies]
indexmap = "1"
once_cell = "1.10.0"
rayon = { version = "1.5.1", optional = true }
swc_atoms = { version = "0.2.0", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
rayon = {version = "1.5.1", optional = true}
swc_atoms = {version = "0.2.0", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}

View File

@ -8,13 +8,16 @@ name = "swc_ecma_visit"
repository = "https://github.com/swc-project/swc.git"
version = "0.60.0"
[lib]
bench = false
[features]
debug = []
[dependencies]
num-bigint = { version = "0.4", features = ["serde"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_visit = { version = "0.3.0", path = "../swc_visit" }
num-bigint = {version = "0.4", features = ["serde"]}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
tracing = "0.1.32"

View File

@ -12,6 +12,9 @@ version = "0.142.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
codegen = ["swc_ecma_codegen"]
default = ["typescript-parser"]
@ -33,14 +36,14 @@ react = ["swc_ecma_transforms/react"]
typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
[dependencies]
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.102.0", path = "../swc_ecma_codegen", optional = true }
swc_ecma_dep_graph = { version = "0.71.0", path = "../swc_ecma_dep_graph", optional = true }
swc_ecma_minifier = { version = "0.99.0", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "0.116.0", path = "../swc_ecma_preset_env", optional = true }
swc_ecma_transforms = { version = "0.141.0", path = "../swc_ecma_transforms", optional = true }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils", optional = true }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit", optional = true }
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.102.0", path = "../swc_ecma_codegen", optional = true}
swc_ecma_dep_graph = {version = "0.71.0", path = "../swc_ecma_dep_graph", optional = true}
swc_ecma_minifier = {version = "0.99.0", path = "../swc_ecma_minifier", optional = true}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser", optional = true, default-features = false}
swc_ecma_preset_env = {version = "0.116.0", path = "../swc_ecma_preset_env", optional = true}
swc_ecma_transforms = {version = "0.141.0", path = "../swc_ecma_transforms", optional = true}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils", optional = true}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit", optional = true}
[dev-dependencies]

View File

@ -9,10 +9,11 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.3"
proc-macro2 = "1.0.24"
quote = "1.0.7"
syn = { version = "1", features = ["full"] }
syn = {version = "1", features = ["full"]}

View File

@ -8,8 +8,11 @@ name = "swc_error_reporters"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.1"
[lib]
bench = false
[dependencies]
miette = { version = "4.2.1", features = ["fancy"] }
swc_common = { version = "0.17.0", path = "../swc_common", features = [
miette = {version = "4.2.1", features = ["fancy"]}
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"concurrent",
] }
]}

View File

@ -14,9 +14,12 @@ version = "0.7.1"
[package.metadata.docs.rs]
all-features = true
[lib]
bench = false
[dependencies]
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
serde = { version = "1", features = ["derive"] }
better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"}
serde = {version = "1", features = ["derive"]}
serde_json = "1"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}

View File

@ -12,34 +12,37 @@ version = "0.83.0"
[package.metadata.docs.rs]
all-features = true
[lib]
bench = false
[dependencies]
ahash = { version = "0.7.0", features = ["compile-time-rng"] }
ahash = {version = "0.7.0", features = ["compile-time-rng"]}
anyhow = "1"
copyless = "0.1.5"
rayon = "1.5.0"
serde = { version = "1", features = ["derive"] }
serde = {version = "1", features = ["derive"]}
serde_json = "1.0.62"
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"concurrent",
"sourcemap",
"tty-emitter",
] }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_estree_ast = { version = "0.7.0", path = "../swc_estree_ast" }
swc_node_comments = { version = "0.4.0", path = "../swc_node_comments/" }
]}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"}
swc_node_comments = {version = "0.4.0", path = "../swc_node_comments/"}
[dev-dependencies]
criterion = "0.3"
pretty_assertions = "1.1"
swc = { version = "0.163.0", path = "../swc" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.141.0", path = "../swc_ecma_transforms/" }
testing = { version = "0.19.0", path = "../testing" }
swc = {version = "0.163.0", path = "../swc"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms = {version = "0.141.0", path = "../swc_ecma_transforms/"}
testing = {version = "0.19.0", path = "../testing"}
walkdir = "2"
[[bench]]

View File

@ -8,10 +8,11 @@ name = "swc_fast_graph"
repository = "https://github.com/swc-project/swc.git"
version = "0.5.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.6"
indexmap = "1.7.0"
petgraph = "0.6"
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_common = {version = "0.17.0", path = "../swc_common"}

View File

@ -7,14 +7,16 @@ license = "Apache-2.0"
name = "swc_graph_analyzer"
repository = "https://github.com/swc-project/swc.git"
version = "0.6.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.6"
auto_impl = "0.5.0"
petgraph = "0.6.0"
swc_fast_graph = { version = "0.5.0", path = "../swc_fast_graph/" }
swc_fast_graph = {version = "0.5.0", path = "../swc_fast_graph/"}
tracing = "0.1.32"
[dev-dependencies]
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}

View File

@ -12,8 +12,11 @@ version = "0.1.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[dependencies]
swc_html_ast = { version = "0.1.0", path = "../swc_html_ast" }
swc_html_codegen = { version = "0.1.0", path = "../swc_html_codegen" }
swc_html_parser = { version = "0.1.0", path = "../swc_html_parser" }
swc_html_visit = { version = "0.1.0", path = "../swc_html_visit" }
swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"}
swc_html_codegen = {version = "0.1.0", path = "../swc_html_codegen"}
swc_html_parser = {version = "0.1.0", path = "../swc_html_parser"}
swc_html_visit = {version = "0.1.0", path = "../swc_html_visit"}

View File

@ -8,11 +8,12 @@ name = "swc_html_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
is-macro = "0.2.0"
serde = { version = "1.0.127", features = ["derive"] }
string_enum = { version = "0.3.1", path = "../string_enum/" }
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
serde = {version = "1.0.127", features = ["derive"]}
string_enum = {version = "0.3.1", path = "../string_enum/"}
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}

View File

@ -9,18 +9,21 @@ name = "swc_html_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
[lib]
bench = false
[dependencies]
auto_impl = "0.5.0"
bitflags = "1.3.2"
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_html_ast = { version = "0.1.0", path = "../swc_html_ast" }
swc_html_codegen_macros = { version = "0.1.0", path = "../swc_html_codegen_macros" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"}
swc_html_codegen_macros = {version = "0.1.0", path = "../swc_html_codegen_macros"}
[dev-dependencies]
swc_common = { version = "0.17.3", path = "../swc_common", features = [
swc_common = {version = "0.17.3", path = "../swc_common", features = [
"sourcemap",
] }
swc_html_parser = { version = "0.1.0", path = "../swc_html_parser" }
swc_html_visit = { version = "0.1.0", path = "../swc_html_visit" }
testing = { version = "0.19.0", path = "../testing" }
]}
swc_html_parser = {version = "0.1.0", path = "../swc_html_parser"}
swc_html_visit = {version = "0.1.0", path = "../swc_html_visit"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,11 +9,12 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
[lib]
bench = false
proc-macro = true
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
syn = { version = "1", features = ["fold"] }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
syn = {version = "1", features = ["fold"]}

View File

@ -9,6 +9,9 @@ name = "swc_html_parser"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
[lib]
bench = false
[features]
debug = []

View File

@ -8,10 +8,11 @@ name = "swc_html_visit"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
swc_atoms = { version = "0.2.7", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_html_ast = { version = "0.1.0", path = "../swc_html_ast" }
swc_visit = { version = "0.3.0", path = "../swc_visit" }
swc_atoms = {version = "0.2.7", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}

View File

@ -8,6 +8,9 @@ name = "swc_macros_common"
repository = "https://github.com/swc-project/swc.git"
version = "0.3.3"
[lib]
bench = false
[dependencies]
pmutil = "0.5.1"
proc-macro2 = "1"

View File

@ -8,7 +8,8 @@ name = "swc_node_base"
repository = "https://github.com/swc-project/swc.git"
version = "0.5.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]

View File

@ -10,6 +10,9 @@ publish = false
repository = "https://github.com/swc-project/swc.git"
version = "0.0.0"
[lib]
bench = false
[features]
default = ["swc_v1"]
swc_v1 = []
@ -21,23 +24,23 @@ dashmap = "5.1.0"
is-macro = "0.2.0"
once_cell = "1.10.0"
regex = "1"
serde = { version = "1", features = ["derive"] }
serde = {version = "1", features = ["derive"]}
serde_json = "1"
string_enum = { version = "0.3", path = "../string_enum" }
swc = { path = "../swc" }
swc_atoms = { path = "../swc_atoms" }
swc_bundler = { path = "../swc_bundler", features = ["concurrent"] }
swc_common = { path = "../swc_common", features = ["concurrent"] }
swc_ecma_ast = { path = "../swc_ecma_ast" }
swc_ecma_codegen = { path = "../swc_ecma_codegen" }
swc_ecma_loader = { path = "../swc_ecma_loader" }
swc_ecma_parser = { path = "../swc_ecma_parser" }
swc_ecma_transforms = { path = "../swc_ecma_transforms" }
swc_ecma_utils = { path = "../swc_ecma_utils" }
swc_ecma_visit = { path = "../swc_ecma_visit" }
swc_node_base = { path = "../swc_node_base" }
string_enum = {version = "0.3", path = "../string_enum"}
swc = {path = "../swc"}
swc_atoms = {path = "../swc_atoms"}
swc_bundler = {path = "../swc_bundler", features = ["concurrent"]}
swc_common = {path = "../swc_common", features = ["concurrent"]}
swc_ecma_ast = {path = "../swc_ecma_ast"}
swc_ecma_codegen = {path = "../swc_ecma_codegen"}
swc_ecma_loader = {path = "../swc_ecma_loader"}
swc_ecma_parser = {path = "../swc_ecma_parser"}
swc_ecma_transforms = {path = "../swc_ecma_transforms"}
swc_ecma_utils = {path = "../swc_ecma_utils"}
swc_ecma_visit = {path = "../swc_ecma_visit"}
swc_node_base = {path = "../swc_node_base"}
tracing = "0.1.32"
[dev-dependencies]
pretty_assertions = "1.1"
testing = { path = "../testing" }
testing = {path = "../testing"}

View File

@ -11,9 +11,10 @@ name = "swc_node_comments"
repository = "https://github.com/swc-project/swc.git"
version = "0.4.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
ahash = "0.7.6"
dashmap = "5.1.0"
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_common = {version = "0.17.0", path = "../swc_common"}

View File

@ -12,20 +12,23 @@ version = "0.43.0"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
quote = ["swc_ecma_quote"]
[dependencies]
swc_atoms = { version = "0.2.0", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_atoms = {version = "0.2.0", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"plugin-mode",
] }
swc_plugin_comments = { version = "0.1.0", path = "../swc_plugin_comments", features = [
"plugin-mode",
] }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast", features = [
]}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast", features = [
"rkyv-impl",
] }
swc_ecma_quote = { version = "0.10.0", path = "../swc_ecma_quote", optional = true }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_plugin_macro = { version = "0.4.0", path = "../swc_plugin_macro" }
]}
swc_ecma_quote = {version = "0.10.0", path = "../swc_ecma_quote", optional = true}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_plugin_comments = {version = "0.1.0", path = "../swc_plugin_comments", features = [
"plugin-mode",
]}
swc_plugin_macro = {version = "0.4.0", path = "../swc_plugin_macro"}

View File

@ -1,11 +1,14 @@
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>", "OJ Kwon <kwon.ohjoong@gmail.com>"]
description = "Internal sharable storage for the comments between host to the plugin"
name = "swc_plugin_comments"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
name = "swc_plugin_comments"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
[lib]
bench = false
[features]
# swc/core, which runs plugin
@ -13,10 +16,9 @@ plugin-rt = []
# actual wasm plugin binary
plugin-mode = []
[dependencies]
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"}
rkyv = "0.7.36"
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"plugin-base",
] }
]}

View File

@ -9,9 +9,10 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.4.0"
[lib]
bench = false
proc-macro = true
[dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["full"] }
syn = {version = "1", features = ["full"]}

View File

@ -8,6 +8,9 @@ name = "swc_plugin_runner"
repository = "https://github.com/swc-project/swc.git"
version = "0.49.0"
[lib]
bench = false
[features]
default = ["filesystem_cache"]
# Supports a cache allow to store compiled bytecode into filesystem location.
@ -21,31 +24,31 @@ memory_cache = []
anyhow = "1.0.42"
once_cell = "1.10.0"
parking_lot = "0.12.0"
serde = { version = "1.0.126", features = ["derive"] }
serde = {version = "1.0.126", features = ["derive"]}
serde_json = "1.0.64"
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"plugin-rt",
"concurrent",
] }
swc_plugin_comments = { version = "0.1.0", path = "../swc_plugin_comments", features = [
"plugin-rt",
] }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast", features = [
]}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast", features = [
"rkyv-impl",
] }
]}
swc_plugin_comments = {version = "0.1.0", path = "../swc_plugin_comments", features = [
"plugin-rt",
]}
tracing = "0.1.32"
wasmer = { version = "2.2.1", default-features = false }
wasmer-wasi = { version = "2.2.1", default-features = false }
wasmer = {version = "2.2.1", default-features = false}
wasmer-wasi = {version = "2.2.1", default-features = false}
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
wasmer-cache = { version = "2.2.1", optional = true }
wasmer-cache = {version = "2.2.1", optional = true}
[dev-dependencies]
swc_atoms = { version = "0.2.7", path = '../swc_atoms' }
swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
testing = { version = "0.19.0", path = "../testing" }
swc_atoms = {version = "0.2.7", path = '../swc_atoms'}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
testing = {version = "0.19.0", path = "../testing"}
# This allows we can run non-wasm32 target build command while some pkg select features for wasmer/js omits its transitive deps
wasmer = "2.2.1"
wasmer-wasi = "2.2.1"

View File

@ -8,6 +8,7 @@ name = "swc_plugin_testing"
repository = "https://github.com/swc-project/swc.git"
version = "0.24.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]

View File

@ -8,10 +8,11 @@ name = "swc_timer"
repository = "https://github.com/swc-project/swc.git"
version = "0.5.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
tracing = "0.1.32"
[dev-dependencies]
testing = { version = "0.19.0", path = "../testing" }
testing = {version = "0.19.0", path = "../testing"}

View File

@ -9,9 +9,10 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.1.1"
[lib]
bench = false
proc-macro = true
[dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["full"] }
syn = {version = "1", features = ["full"]}

View File

@ -7,8 +7,9 @@ name = "swc_visit"
repository = "https://github.com/swc-project/swc.git"
version = "0.3.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
either = "1.5.3"
swc_visit_macros = { version = "0.3.0", path = "../swc_visit_macros" }
swc_visit_macros = {version = "0.3.0", path = "../swc_visit_macros"}

View File

@ -10,6 +10,7 @@ version = "0.3.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
proc-macro = true
[dependencies]
@ -17,5 +18,5 @@ Inflector = "0.11.4"
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" }
syn = { version = "1", features = ["parsing", "full"] }
swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"}
syn = {version = "1", features = ["parsing", "full"]}

View File

@ -8,26 +8,27 @@ name = "swc_webpack_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.81.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
anyhow = "1.0.48"
rayon = "1.5.1"
serde = { version = "1", features = ["derive", "rc"] }
serde = {version = "1", features = ["derive", "rc"]}
serde_json = "1.0.72"
swc_atoms = { version = "0.2.9", path = "../swc_atoms" }
swc_common = { version = "0.17.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.74.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.99.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.74.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "0.78.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.60.0", path = "../swc_ecma_visit" }
swc_estree_ast = { version = "0.7.0", path = "../swc_estree_ast" }
swc_estree_compat = { version = "0.83.0", path = "../swc_estree_compat" }
swc_timer = { version = "0.5.0", path = "../swc_timer" }
swc_atoms = {version = "0.2.9", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.74.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.99.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.74.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.78.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.60.0", path = "../swc_ecma_visit"}
swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"}
swc_estree_compat = {version = "0.83.0", path = "../swc_estree_compat"}
swc_timer = {version = "0.5.0", path = "../swc_timer"}
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_testing = { version = "0.76.0", path = "../swc_ecma_transforms_testing" }
swc_node_base = { version = "0.5.1", path = "../swc_node_base" }
testing = { version = "0.19.0", path = "../testing" }
swc_ecma_transforms_testing = {version = "0.76.0", path = "../swc_ecma_transforms_testing"}
swc_node_base = {version = "0.5.1", path = "../swc_node_base"}
testing = {version = "0.19.0", path = "../testing"}

View File

@ -8,6 +8,9 @@ name = "testing"
repository = "https://github.com/swc-project/swc.git"
version = "0.19.1"
[lib]
bench = false
[dependencies]
ansi_term = "0.12.1"
difference = "2"
@ -15,10 +18,10 @@ once_cell = "1.10.0"
pretty_assertions = "1.1"
regex = "1"
serde_json = "1.0.71"
swc_common = { version = "0.17.0", path = "../swc_common", features = [
swc_common = {version = "0.17.0", path = "../swc_common", features = [
"tty-emitter",
] }
swc_error_reporters = { version = "0.1.0", path = "../swc_error_reporters" }
testing_macros = { version = "0.2.0", path = "../testing_macros" }
]}
swc_error_reporters = {version = "0.1.0", path = "../swc_error_reporters"}
testing_macros = {version = "0.2.0", path = "../testing_macros"}
tracing = "0.1.32"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
tracing-subscriber = {version = "0.3.9", features = ["env-filter"]}

View File

@ -13,6 +13,7 @@ version = "0.2.5"
rust-analyzer = []
[lib]
bench = false
proc-macro = true
[dependencies]
@ -23,4 +24,4 @@ proc-macro2 = "1.0.24"
quote = "1"
regex = "1"
relative-path = "1.3.2"
syn = { version = "1", features = ["fold", "parsing", "full", "extra-traits"] }
syn = {version = "1", features = ["fold", "parsing", "full", "extra-traits"]}

View File

@ -9,6 +9,7 @@ repository = "https://github.com/swc-project/swc.git"
version = "1.2.163"
[lib]
bench = false
crate-type = ["cdylib"]
[features]
@ -29,20 +30,20 @@ plugin = [
[dependencies]
anyhow = "1.0.42"
console_error_panic_hook = "0.1.6"
js-sys = { version = "0.3.56", optional = true }
js-sys = {version = "0.3.56", optional = true}
once_cell = "1.10.0"
parking_lot_core = "0.9.1"
path-clean = "0.1"
serde = { version = "1", features = ["derive"] }
serde = {version = "1", features = ["derive"]}
serde_json = "1"
swc = { path = "../swc" }
swc_common = { path = "../swc_common", features = ["perf"] }
swc_ecma_lints = { path = "../swc_ecma_lints", features = [
swc = {path = "../swc"}
swc_common = {path = "../swc_common", features = ["perf"]}
swc_ecma_lints = {path = "../swc_ecma_lints", features = [
"non_critical_lints",
] }
swc_ecmascript = { path = "../swc_ecmascript" }
swc_plugin_runner = { path = "../swc_plugin_runner", default-features = false, optional = true }
tracing = { version = "0.1.32", features = ["release_max_level_off"] }
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasmer = { version = "2.2.1", optional = true, default-features = false }
wasmer-wasi = { version = "2.2.1", optional = true, default-features = false }
]}
swc_ecmascript = {path = "../swc_ecmascript"}
swc_plugin_runner = {path = "../swc_plugin_runner", default-features = false, optional = true}
tracing = {version = "0.1.32", features = ["release_max_level_off"]}
wasm-bindgen = {version = "0.2", features = ["serde-serialize"]}
wasmer = {version = "2.2.1", optional = true, default-features = false}
wasmer-wasi = {version = "2.2.1", optional = true, default-features = false}