Skip to content

Commit

Permalink
feat(module_lexer)!: remove oxc_module_lexer (#7595)
Browse files Browse the repository at this point in the history
This crate will no longer be relevant after we export esm information
directly from the parser.

Besides, `ex-module-lexer`'s output data is too limited for plugin
authors to use.
  • Loading branch information
Boshen committed Dec 3, 2024
1 parent be2293a commit 943462f
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 2,543 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
RUSTFLAGS: "--cfg tokio_unstable -C target-feature=+atomics,+bulk-memory,+mutable-globals,+simd128 -C link-args=--max-memory=67108864"
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --dir=${{ github.workspace }}::${{ github.workspace }} --"
# Insta is not able to run on wasmtime, omit the packages that depend on it
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_regular_expression -p oxc_module_lexer -- --nocapture"
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_regular_expression -- --nocapture"
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
Expand Down
12 changes: 0 additions & 12 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ oxc_estree = { version = "0.38.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.38.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.38.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.38.0", path = "crates/oxc_minifier" }
oxc_module_lexer = { version = "0.38.0", path = "crates/oxc_module_lexer" }
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" }
Expand Down
67 changes: 0 additions & 67 deletions crates/oxc_module_lexer/CHANGELOG.md

This file was deleted.

30 changes: 0 additions & 30 deletions crates/oxc_module_lexer/Cargo.toml

This file was deleted.

24 changes: 0 additions & 24 deletions crates/oxc_module_lexer/README.md

This file was deleted.

47 changes: 0 additions & 47 deletions crates/oxc_module_lexer/examples/module_lexer.rs

This file was deleted.

Loading

0 comments on commit 943462f

Please sign in to comment.