mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
chore(swc_nodejs_common): remove swc_node_base from swc_nodejs_common (#6940)
- Ref: https://github.com/vercel/turbo/pull/3772
This commit is contained in:
parent
f1f5a19e61
commit
0771418dd0
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -4384,7 +4384,6 @@ dependencies = [
|
||||
"napi",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"swc_node_base",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
]
|
||||
|
@ -1,22 +1,22 @@
|
||||
[package]
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
build = "build.rs"
|
||||
build = "build.rs"
|
||||
edition = "2021"
|
||||
exclude = ["artifacts.json", "index.node"]
|
||||
license = "Apache-2.0"
|
||||
name = "binding_core_node"
|
||||
name = "binding_core_node"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
bench = false
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[features]
|
||||
default = ["swc_v1", "plugin"]
|
||||
plugin = ["swc_core/plugin_transform_host_native"]
|
||||
swc_v1 = ["swc_core/bundler_node_v1"]
|
||||
swc_v2 = ["swc_core/bundler_node_v2"]
|
||||
plugin = ["swc_core/plugin_transform_host_native"]
|
||||
swc_v1 = ["swc_core/bundler_node_v1"]
|
||||
swc_v2 = ["swc_core/bundler_node_v2"]
|
||||
|
||||
# Experiemntal bytechecked plugin serialization / deserialization.
|
||||
plugin_bytecheck = [
|
||||
@ -35,28 +35,29 @@ __plugin_transform_vtest = [
|
||||
]
|
||||
|
||||
[build-dependencies]
|
||||
napi-build = {version = "2"}
|
||||
napi-build = { version = "2" }
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.66"
|
||||
backtrace = "0.3"
|
||||
napi = {version = "2", default-features = false, features = [
|
||||
napi = { version = "2", default-features = false, features = [
|
||||
"napi3",
|
||||
"serde-json",
|
||||
]}
|
||||
napi-derive = {version = "2", default-features = false, features = [
|
||||
] }
|
||||
napi-derive = { version = "2", default-features = false, features = [
|
||||
"type-def",
|
||||
]}
|
||||
node_macro_deps = {path = "../node_macro_deps"}
|
||||
] }
|
||||
node_macro_deps = { path = "../node_macro_deps" }
|
||||
path-clean = "0.1"
|
||||
serde = {version = "1", features = ["derive"]}
|
||||
serde_json = {version = "1", features = ["unbounded_depth"]}
|
||||
tracing = {version = "0.1.37", features = ["release_max_level_info"]}
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = { version = "1", features = ["unbounded_depth"] }
|
||||
tracing = { version = "0.1.37", features = ["release_max_level_info"] }
|
||||
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"] }
|
||||
|
||||
swc_core = {version = "0.59.26", features = [
|
||||
swc_core = { version = "0.59.26", features = [
|
||||
"allocator_node",
|
||||
"ecma_ast",
|
||||
"common_concurrent",
|
||||
"bundler",
|
||||
@ -65,4 +66,4 @@ swc_core = {version = "0.59.26", features = [
|
||||
"ecma_visit",
|
||||
"base_node",
|
||||
"base_concurrent",
|
||||
]}
|
||||
] }
|
||||
|
@ -1,12 +1,12 @@
|
||||
[package]
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Common code for SWC bindings"
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Common code for SWC bindings"
|
||||
documentation = "https://rustdoc.swc.rs/swc_binding_utils/"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
name = "swc_nodejs_common"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.0.4"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
name = "swc_nodejs_common"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.0.4"
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
@ -19,6 +19,5 @@ napi = { version = "2", default-features = false, features = [
|
||||
] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = { version = "1", features = ["unbounded_depth"] }
|
||||
swc_node_base = { version = "0.5.8", path = "../swc_node_base" }
|
||||
tracing = { version = "0.1.32", features = ["release_max_level_info"] }
|
||||
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
|
||||
|
@ -1,8 +1,5 @@
|
||||
#![deny(warnings)]
|
||||
|
||||
/// Explicit extern crate to use allocator.
|
||||
extern crate swc_node_base;
|
||||
|
||||
use std::any::type_name;
|
||||
|
||||
use anyhow::Context;
|
||||
|
Loading…
Reference in New Issue
Block a user