Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename rome_js_transform and rome_js_parser to biome_* #224

Merged
merged 3 commits into from
Sep 10, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ documentation page](https://rustdocs.rome.tools/biome_analyze/index.html)
### JavaScript Parser

To know the technical details of how our JavaScript works and how to write test, please check our [internal
documentation page](https://rustdocs.rome.tools/rome_js_parser/index.html)
documentation page](https://rustdocs.rome.tools/biome_js_parser/index.html)

### Formatter

Expand Down
110 changes: 55 additions & 55 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ biome_diagnostics_macros = { version = "0.0.1", path = "./crates/biome_diagn
biome_flags = { path = "./crates/biome_flags" }
biome_fs = { path = "./crates/biome_fs" }
biome_js_factory = { version = "0.2.0", path = "./crates/biome_js_factory" }
biome_js_parser = { path = "./crates/biome_js_parser" }
biome_js_semantic = { path = "./crates/biome_js_semantic" }
biome_js_syntax = { version = "0.2.0", path = "./crates/biome_js_syntax" }
biome_js_unicode_table = { version = "0.0.1", path = "./crates/biome_js_unicode_table" }
Expand All @@ -59,7 +60,6 @@ rome_formatter = { version = "0.1.0", path = "./crates/rome_format
rome_formatter_test = { path = "./crates/rome_formatter_test" }
rome_js_analyze = { path = "./crates/rome_js_analyze" }
rome_js_formatter = { path = "./crates/rome_js_formatter" }
rome_js_parser = { path = "./crates/rome_js_parser" }
rome_json_analyze = { path = "./crates/rome_json_analyze" }
rome_json_formatter = { path = "./crates/rome_json_formatter" }
rome_json_parser = { path = "./crates/rome_json_parser" }
Expand Down
8 changes: 4 additions & 4 deletions crates/biome_cli/tests/commands/rage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ fn with_server_logs() {
├─15347ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/micha/git/ant-design/biome.json"
├─15347ms ERROR rome_service::configuration Could not find the file configuration at "/home/micha/git/ant-design/biome.json"
├─15347ms ERROR rome_service::configuration Reason: Os { code: 2, kind: NotFound, message: "No such file or directory" }
├─┐rome_js_parser::parse::parse{file_id=FileId(0)}
├─┐biome_js_parser::parse::parse{file_id=FileId(0)}
├─┘
├─┐rome_js_parser::parse::parse{file_id=FileId(1)}
├─┐biome_js_parser::parse::parse{file_id=FileId(1)}
├─┘
├─16108ms INFO biome_lsp::server Starting Biome Language Server...
├─41801ms INFO biome_lsp::server Starting Biome Language Server...
Expand All @@ -125,9 +125,9 @@ INFO biome_cli::commands::daemon Received shutdown signal
├─7551ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/micha/git/ant-design/biome.json"
├─7551ms ERROR rome_service::configuration Could not find the file configuration at "/home/micha/git/ant-design/biome.json"
├─7551ms ERROR rome_service::configuration Reason: Os { code: 2, kind: NotFound, message: "No such file or directory" }
├─┐rome_js_parser::parse::parse{file_id=FileId(0)}
├─┐biome_js_parser::parse::parse{file_id=FileId(0)}
├─┘
├─┐rome_js_parser::parse::parse{file_id=FileId(1)}
├─┐biome_js_parser::parse::parse{file_id=FileId(1)}
├─┘
├─7897ms INFO biome_lsp::server Starting Biome Language Server...
"#,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Biome Server Log:
├─15347ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/micha/git/ant-design/biome.json"
├─15347ms ERROR rome_service::configuration Could not find the file configuration at "/home/micha/git/ant-design/biome.json"
├─15347ms ERROR rome_service::configuration Reason: Os { code: 2, kind: NotFound, message: "No such file or directory" }
├─┐rome_js_parser::parse::parse{file_id=FileId(0)}
├─┐biome_js_parser::parse::parse{file_id=FileId(0)}
├─┘
├─┐rome_js_parser::parse::parse{file_id=FileId(1)}
├─┐biome_js_parser::parse::parse{file_id=FileId(1)}
├─┘
├─16108ms INFO biome_lsp::server Starting Biome Language Server...
├─41801ms INFO biome_lsp::server Starting Biome Language Server...
Expand All @@ -64,9 +64,9 @@ INFO biome_cli::commands::daemon Received shutdown signal
├─7551ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/micha/git/ant-design/biome.json"
├─7551ms ERROR rome_service::configuration Could not find the file configuration at "/home/micha/git/ant-design/biome.json"
├─7551ms ERROR rome_service::configuration Reason: Os { code: 2, kind: NotFound, message: "No such file or directory" }
├─┐rome_js_parser::parse::parse{file_id=FileId(0)}
├─┐biome_js_parser::parse::parse{file_id=FileId(0)}
├─┘
├─┐rome_js_parser::parse::parse{file_id=FileId(1)}
├─┐biome_js_parser::parse::parse{file_id=FileId(1)}
├─┘
├─7897ms INFO biome_lsp::server Starting Biome Language Server...
```
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_js_factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors.workspace = true
description = "Utilities to create JavaScript AST for rome_js_parser"
description = "Utilities to create JavaScript AST for biome_js_parser"
documentation = "https://docs.rs/biome_js_factory"
edition.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_js_factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

# `biome_js_factory`

Rome's JavaScript parser implementation. Follow the [documentation](https://docs.rs/rome_js_parser/latest).
Rome's JavaScript parser implementation. Follow the [documentation](https://docs.rs/biome_js_parser/latest).
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
authors.workspace = true
categories = ["parser-implementations", "development-tools"]
description = "An extremely fast ECMAScript parser for Rome, forked from the RSlint project"
documentation = "https://docs.rs/rome_js_parser"
description = "An extremely fast ECMAScript parser for Biome, forked from the RSlint project"
documentation = "https://docs.rs/biome_js_parser"
edition.workspace = true
homepage.workspace = true
license.workspace = true
name = "rome_js_parser"
name = "biome_js_parser"
repository.workspace = true
version = "0.1.0"

Expand All @@ -29,10 +29,10 @@ smallvec = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
biome_js_parser = { workspace = true, features = ["serde"] }
expect-test = "1.2.2"
quickcheck = { workspace = true }
quickcheck_macros = { workspace = true }
rome_js_parser = { workspace = true, features = ["serde"] }
tests_macros = { workspace = true }

[features]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
[discord-url]: https://discord.gg/BypW39g6Yc
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[cargo-badge]: https://badgen.net/crates/v/rome_js_parser?&color=green
[cargo-url]: https://crates.io/crates/rome_js_parser/
[cargo-badge]: https://badgen.net/crates/v/biome_js_parser?&color=green
[cargo-url]: https://crates.io/crates/biome_js_parser/

</div>

# `rome_js_parser`
# `biome_js_parser`

Biome's JavaScript parser implementation. Follow the [documentation](https://docs.rs/rome_js_parser/).
Biome's JavaScript parser implementation. Follow the [documentation](https://docs.rs/biome_js_parser/).

File renamed without changes.
File renamed without changes.
Loading
Loading