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

feat: rename markup, test_utils... -> biome #88 #169

Merged
merged 3 commits into from
Sep 6, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ documentation = """
-p rome_text_edit \
-p rome_text_size \
-p rome_js_semantic \
-p rome_markup \
-p biome_markup \
-p rome_rowan
--no-deps
"""
Expand Down
6 changes: 3 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ A-Core:
- crates/rome_text_size/**
- crates/rome_suppression/**
- crates/rome_suppression/**
- crates/rome_markup/**
- crates/biome_markup/**

A-Project:
- crates/rome_service/**
- crates/rome_service/**

A-Linter:
- crates/rome_analyze/**
Expand Down Expand Up @@ -54,7 +54,7 @@ A-Website:
- website/**

A-LSP:
- crates/rome_lsp/**
- crates/biome_lsp/**

A-Changelog:
- CHANGELOG.md
Expand Down
122 changes: 61 additions & 61 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ rome_json_factory = { version = "0.2.0", path = "./crates/rome_json_fa
rome_json_formatter = { path = "./crates/rome_json_formatter" }
rome_json_parser = { path = "./crates/rome_json_parser" }
rome_json_syntax = { version = "0.2.0", path = "./crates/rome_json_syntax" }
rome_lsp = { path = "./crates/rome_lsp" }
rome_markup = { version = "0.0.1", path = "./crates/rome_markup" }
biome_lsp = { path = "./crates/biome_lsp" }
biome_markup = { version = "0.0.1", path = "./crates/biome_markup" }
rome_migrate = { path = "./crates/rome_migrate" }
rome_parser = { version = "0.2.0", path = "./crates/rome_parser" }
rome_rowan = { version = "0.2.0", path = "./crates/rome_rowan" }
rome_service = { path = "./crates/rome_service" }
rome_suppression = { version = "0.2.0", path = "./crates/rome_suppression" }
rome_test_utils = { path = "./crates/rome_test_utils" }
biome_test_utils = { path = "./crates/biome_test_utils" }
rome_text_edit = { version = "0.0.1", path = "./crates/rome_text_edit" }
rome_text_size = { version = "0.0.1", path = "./crates/rome_text_size" }
tests_macros = { path = "./crates/tests_macros" }
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_lsp/Cargo.toml → crates/biome_lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors.workspace = true
edition.workspace = true
license.workspace = true
name = "rome_lsp"
name = "biome_lsp"
repository.workspace = true
version = "0.0.0"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ use anyhow::bail;
use anyhow::Context;
use anyhow::Error;
use anyhow::Result;
use biome_lsp::LSPServer;
use biome_lsp::ServerFactory;
use biome_lsp::WorkspaceSettings;
use futures::channel::mpsc::{channel, Sender};
use futures::Sink;
use futures::SinkExt;
use futures::Stream;
use futures::StreamExt;
use rome_fs::RomePath;
use rome_lsp::LSPServer;
use rome_lsp::ServerFactory;
use rome_lsp::WorkspaceSettings;
use rome_service::workspace::GetSyntaxTreeResult;
use rome_service::workspace::{GetFileContentParams, GetSyntaxTreeParams};
use serde::de::DeserializeOwned;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
authors.workspace = true
description = "Macro to write text using a HTML-like syntax"
documentation = "https://docs.rs/rome_markup"
documentation = "https://docs.rs/biome_markup"
edition.workspace = true
license.workspace = true
name = "rome_markup"
name = "biome_markup"
repository.workspace = true
version = "0.0.1"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `rome_markup`
# `biome_markup`

The crate contains procedural macros to build `rome_console` markup object with a JSX-like syntax

Expand All @@ -8,5 +8,5 @@ The macro cannot be used alone as it generates code that requires supporting typ
## Local installation

```toml
rome_markup = { version = "0.0.0", path = "../rome_markup" }
biome_markup = { version = "0.0.0", path = "../biome_markup" }
```
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
edition = "2021"
name = "rome_test_utils"
name = "biome_test_utils"
publish = false
version = "0.1.0"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/rome_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rome_fs = { workspace = true }
rome_json_formatter = { workspace = true }
rome_json_parser = { workspace = true }
rome_json_syntax = { workspace = true }
rome_lsp = { workspace = true }
biome_lsp = { workspace = true }
rome_migrate = { workspace = true }
rome_rowan = { workspace = true }
rome_service = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_cli/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `rome_cli`

The main binary distribution, exposes the command line interface defined in this crate,
and the language server interface defined in `rome_lsp` and used by the `biome` VSCode extension
and the language server interface defined in `biome_lsp` and used by the `biome` VSCode extension

# Logs

Expand Down
2 changes: 1 addition & 1 deletion crates/rome_cli/src/commands/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use crate::{
service::{self, ensure_daemon, open_socket, run_daemon},
CliDiagnostic, CliSession,
};
use biome_lsp::ServerFactory;
use rome_console::{markup, ConsoleExt};
use rome_lsp::ServerFactory;
use rome_service::{workspace::WorkspaceClient, TransportError, WorkspaceError};
use std::{env, fs, path::PathBuf};
use tokio::io;
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_cli/src/service/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{
time::Duration,
};

use rome_lsp::{ServerConnection, ServerFactory};
use biome_lsp::{ServerConnection, ServerFactory};
use tokio::{
io::Interest,
net::{
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_cli/src/service/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::{
time::Duration,
};

use rome_lsp::{ServerConnection, ServerFactory};
use biome_lsp::{ServerConnection, ServerFactory};
use tokio::{
io::{AsyncRead, AsyncWrite, ReadBuf},
net::windows::named_pipe::{ClientOptions, NamedPipeClient, NamedPipeServer, ServerOptions},
Expand Down
Loading
Loading