Skip to content

Commit

Permalink
build(swc/core): realign version
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Aug 2, 2022
1 parent 9fa8c5b commit 2cfc7d8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions crates/swc_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "swc_core"
license = "Apache-2.0"
edition = "2021"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.0"
version = "0.0.1"

[features]
### Public features
Expand All @@ -29,7 +29,7 @@ plugin_transform = [
"swc_plugin_proxy/plugin-mode",
"swc_plugin_macro",
"swc_plugin",
"once_cell"
"once_cell",
]

### Internal features that public features are relying on.
Expand All @@ -40,14 +40,10 @@ plugin_transform = [
# This'll be automatically selected via transform_plugin features,
# SWC upstream decides which version to be used for specific version of
# swc_core.
__plugin_transform_schema_v1 = [
"swc_common/plugin_transform_schema_v1"
]
__plugin_transform_schema_v1 = ["swc_common/plugin_transform_schema_v1"]

# Do not use: testing purpose only
__plugin_transform_schema_vtest = [
"swc_common/plugin_transform_schema_vtest"
]
__plugin_transform_schema_vtest = ["swc_common/plugin_transform_schema_vtest"]

## Plugins

Expand All @@ -68,7 +64,7 @@ __plugin_transform_schema_test = [
"swc_plugin_proxy/plugin-mode",
"swc_plugin_macro",
"swc_plugin",
"once_cell"
"once_cell",
]

## Common
Expand All @@ -80,7 +76,7 @@ __ast = ["swc_ecma_ast/rkyv-impl", "swc_atoms"]
__visit = ["swc_ecma_visit"]

[dependencies]
once_cell = { optional = true, version = "1.13.0"}
once_cell = { optional = true, version = "1.13.0" }
swc_atoms = { optional = true, version = "0.3.1", path = "../swc_atoms" }
swc_common = { optional = true, version = "0.26.0", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.89.1", path = "../swc_ecma_ast" }
Expand Down

0 comments on commit 2cfc7d8

Please sign in to comment.