Skip to content

Commit

Permalink
feat(sourcemap): move oxc_sourcemap to github.com/oxc-project/oxc-s…
Browse files Browse the repository at this point in the history
…ourcemap

It's mostly stable.

And we will create cyclic dependency with StringWizard soon.
  • Loading branch information
Boshen committed Dec 3, 2024
1 parent 521df42 commit 4094ea2
Show file tree
Hide file tree
Showing 31 changed files with 10 additions and 2,274 deletions.
1 change: 0 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
- semantic
- minifier
- codegen
- sourcemap

steps:
- name: Checkout Branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
shell: bash
run: |
# cargo ck # no need to check because it's already checked in linux
cargo test --workspace --exclude oxc_sourcemap
cargo test --workspace
test-wasm32-wasip1-threads:
name: Test wasm32-wasip1-threads
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ oxc_minifier = { version = "0.38.0", path = "crates/oxc_minifier" }
oxc_parser = { version = "0.38.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.38.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.38.0", path = "crates/oxc_semantic" }
oxc_sourcemap = { version = "0.38.0", path = "crates/oxc_sourcemap" }
oxc_span = { version = "0.38.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.38.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.38.0", path = "napi/transform" }
Expand All @@ -119,15 +118,18 @@ quote = "1"
syn = { version = "2", default-features = false }
unicode-id-start = "1"

oxc-browserslist = "1.1.0"
oxc_index = "1.0.0"
oxc_resolver = "2.0.0"
oxc_sourcemap = "1"

aho-corasick = "1.1.3"
allocator-api2 = "0.2.18"
assert-unchecked = "0.1.2"
base64 = "0.22.1"
base64-simd = "0.8"
bitflags = "2.6.0"
bpaf = "0.9.15"
bumpalo = "3.16.0"
cfg-if = "1.0.0"
compact_str = "0.8.0"
console = "0.15.8"
console_error_panic_hook = "0.1.7"
Expand Down Expand Up @@ -163,9 +165,6 @@ mime_guess = "2.0.5"
nonmax = "0.5.5"
num-bigint = "0.4.6"
num-traits = "0.2.19"
oxc-browserslist = "1.1.0"
oxc_index = "1.0.0"
oxc_resolver = "2.0.0"
petgraph = "0.6.5"
phf = "0.11.2"
pico-args = "0.5.0"
Expand Down
9 changes: 0 additions & 9 deletions crates/oxc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,6 @@ pub mod isolated_declarations {
pub use oxc_isolated_declarations::*;
}

#[cfg(feature = "sourcemap")]
pub mod sourcemap {
//! Source Maps
//!
//! See the [`oxc_sourcemap` module-level documentation](oxc_sourcemap) for more information.
#[doc(inline)]
pub use oxc_sourcemap::*;
}

#[cfg(feature = "cfg")]
pub mod cfg {
#[doc(inline)]
Expand Down
162 changes: 0 additions & 162 deletions crates/oxc_sourcemap/CHANGELOG.md

This file was deleted.

36 changes: 0 additions & 36 deletions crates/oxc_sourcemap/Cargo.toml

This file was deleted.

4 changes: 0 additions & 4 deletions crates/oxc_sourcemap/README.md

This file was deleted.

Loading

0 comments on commit 4094ea2

Please sign in to comment.