Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
514 changes: 146 additions & 368 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/react/transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] }
sha-1 = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_transforms_typescript", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "ecma_visit", "testing_transform"] }
swc_plugin_compat = { path = "./crates/swc_plugin_compat" }
swc_plugin_css_scope = { path = "./crates/swc_plugin_css_scope" }
swc_plugin_define_dce = { path = "./crates/swc_plugin_define_dce" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ once_cell = { workspace = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_quote", "ecma_visit", "testing_transform"] }
Comment thread
colinaaa marked this conversation as resolved.
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ napi = { workspace = true }
napi-derive = { workspace = true }
regex = { workspace = true }
serde = { workspace = true, features = ["derive"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_visit", "testing_transform"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ path = "lib.rs"
napi = { workspace = true }
napi-derive = { workspace = true }
serde = { workspace = true, features = ["derive"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_visit", "testing_transform"] }
swc_plugin_define_dce = { path = "../swc_plugin_define_dce" }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ napi = { workspace = true }
napi-derive = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_visit", "testing_transform"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ napi = { workspace = true }
napi-derive = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_visit", "testing_transform"] }
Comment thread
colinaaa marked this conversation as resolved.
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"
path = "lib.rs"

[dependencies]
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_quote", "ecma_visit", "testing_transform"] }
swc_plugin_snapshot = { path = "../swc_plugin_snapshot" }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ path = "lib.rs"
napi = { workspace = true }
napi-derive = { workspace = true }
serde = { workspace = true, features = ["derive"] }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_visit", "testing_transform"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ regex = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] }
sha-1 = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_quote", "ecma_visit", "testing_transform", "ecma_transforms_react"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
path = "lib.rs"

[dependencies]
swc_core = { workspace = true, features = ["base", "ecma_parser", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_visit", "testing_transform"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ once_cell = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
sha-1 = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform"] }
swc_core = { workspace = true, features = ["ecma_parser", "ecma_utils", "ecma_quote", "ecma_visit", "testing_transform"] }
swc_plugins_shared = { path = "../swc_plugins_shared" }
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] }
sha-1 = { workspace = true }
sugar_path = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization"] }
swc_core = { workspace = true, features = ["ecma_ast", "ecma_utils", "swc_atoms"] }
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib"]
[dependencies]
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_plugin_transform", "ecma_visit", "ecma_utils", "ecma_quote", "ecma_parser"] }
swc_core = { workspace = true, features = ["ecma_visit", "ecma_plugin_transform"] }
swc_plugin_compat = { path = "../crates/swc_plugin_compat" }

# .cargo/config.toml defines few alias to build plugin.
Expand Down
2 changes: 1 addition & 1 deletion packages/react/transform/swc-plugin-reactlynx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ indexmap = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
swc_core = { workspace = true, features = ["base", "ecma_codegen", "ecma_parser", "ecma_minifier", "ecma_transforms_typescript", "ecma_utils", "ecma_quote", "ecma_transforms_react", "ecma_transforms_optimization", "css_parser", "css_ast", "css_visit", "css_codegen", "__visit", "__testing_transform", "ecma_plugin_transform"] }
swc_core = { workspace = true, features = ["base", "ecma_visit", "ecma_plugin_transform", "ecma_transforms_optimization"] }
Comment thread
colinaaa marked this conversation as resolved.
swc_plugin_css_scope = { path = "../crates/swc_plugin_css_scope" }
swc_plugin_define_dce = { path = "../crates/swc_plugin_define_dce" }
swc_plugin_directive_dce = { path = "../crates/swc_plugin_directive_dce" }
Expand Down
Loading