Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: crates metadata and documentation (#4352)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Apr 12, 2023
1 parent b839bdf commit 802bf8b
Show file tree
Hide file tree
Showing 61 changed files with 1,016 additions and 344 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ members = [
"xtask/contributors",
]

[workspace.package]
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
license = "MIT"
repository = "https://github.com/rome/tools"

[profile.release-with-debug]
inherits = "release"
debug = true
Expand Down
8 changes: 4 additions & 4 deletions crates/rome_analyze/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_analyze"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
10 changes: 5 additions & 5 deletions crates/rome_aria/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "rome_aria"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rome_aria_metadata = { path = "../rome_aria_metadata" }
rome_aria_metadata = { path = "../rome_aria_metadata" }
8 changes: 4 additions & 4 deletions crates/rome_aria_metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_aria_metadata"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
8 changes: 4 additions & 4 deletions crates/rome_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_cli"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
Expand Down
8 changes: 4 additions & 4 deletions crates/rome_console/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "rome_console"
version = "0.0.1"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
description = "Expose utilities to print HTML-syntax messages"
repository = "https://github.com/rome/tools"
repository = { workspace = true }
documentation = "https://rustdocs.rome.tools/rome_console/index.html"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
8 changes: 4 additions & 4 deletions crates/rome_control_flow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_control_flow"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
8 changes: 4 additions & 4 deletions crates/rome_css_factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_css_factory"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
8 changes: 4 additions & 4 deletions crates/rome_css_syntax/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_css_syntax"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_css_syntax/src/syntax_node.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! This module defines the Concrete Syntax Tree used by RSLint.
//! This module defines the Concrete Syntax Tree used by Rome.
//!
//! The tree is entirely lossless, whitespace, comments, and errors are preserved.
//! It also provides traversal methods including parent, children, and siblings of nodes.
Expand Down
8 changes: 4 additions & 4 deletions crates/rome_deserialize/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_deserialize"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
9 changes: 5 additions & 4 deletions crates/rome_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "rome_diagnostics"
version = "0.0.1"
authors = ["Rome Tools Developers and Contributors"]
edition = "2021"
license = "MIT"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
description = "Pretty error reporting library"
documentation = "https://rustdocs.rome.tools/rome_diagnostics/index.html"
categories = ["development-tools"]

[[example]]
name = "cli"
Expand All @@ -25,7 +26,7 @@ test = true

[dependencies]
rome_rowan = { version = "0.0.1", path = "../rome_rowan" }
rome_console = { version = "0.0.1", path = "../rome_console", features = ["serde_markup"] }
rome_console = { version = "0.0.1", path = "../rome_console", features = ["serde_markup"] }
rome_diagnostics_macros = { version = "0.0.1", path = "../rome_diagnostics_macros" }
rome_diagnostics_categories = { version = "0.0.1", path = "../rome_diagnostics_categories", features = ["serde"] }
rome_text_edit = { version = "0.0.1", path = "../rome_text_edit" }
Expand Down
8 changes: 4 additions & 4 deletions crates/rome_diagnostics_categories/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_diagnostics_categories"
version = "0.0.1"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = "2021"
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
description = "Diagnostic categories for rome_diagnostics. It exposes a macro that emits compile-time errors for extranous categories."
documentation = "https://rustdocs.rome.tools/rome_diagnostics/index.html"

Expand Down
8 changes: 4 additions & 4 deletions crates/rome_diagnostics_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_diagnostics_macros"
version = "0.0.1"
authors = ["Rome Tools Developers and Contributors"]
license = "MIT"
edition = "2021"
repository = "https://github.com/rome/tools"
authors = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }
documentation = "https://rustdocs.rome.tools/rome_diagnostics/index.html"
description = "A Macro to make a struct type a Rome diagnostic."

Expand Down
8 changes: 4 additions & 4 deletions crates/rome_flags/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "rome_flags"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
25 changes: 16 additions & 9 deletions crates/rome_formatter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[package]
name = "rome_formatter"
version = "0.0.0"
edition = "2021"
authors = ["Rome Tools Developers and Contributors"]
repository = "https://github.com/rome/tools"
license = "MIT"
version = "0.0.1"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
description = "Rome's formatter shared infrastructure"
documentation = "https://rustdocs.rome.tools/rome_formatter/index.html"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rome_rowan = { path = "../rome_rowan" }
rome_rowan = { version = "0.0.1", path = "../rome_rowan" }
tracing = { workspace = true }
serde = { version = "1.0.136", features = ["derive"], optional = true }
cfg-if = "1.0.0"
Expand All @@ -19,13 +22,17 @@ countme = { workspace = true }
drop_bomb = "0.1.5"
indexmap = { workspace = true }
unicode-width = "0.1.9"
rome_diagnostics = { path = "../rome_diagnostics" }
rome_console = { path = "../rome_console" }
rome_diagnostics = { version = "0.0.1", path = "../rome_diagnostics" }
rome_console = { version = "0.0.1", path = "../rome_console" }

[dev-dependencies]
rome_js_parser = { path = "../rome_js_parser"}
rome_js_parser = { path = "../rome_js_parser" }
rome_js_syntax = { path = "../rome_js_syntax" }
insta = { workspace = true }

[features]
serde = ["dep:serde", "schemars", "rome_rowan/serde"]

# cargo-workspaces metadata
[package.metadata.workspaces]
independent = true
21 changes: 21 additions & 0 deletions crates/rome_formatter/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Rome Tools, Inc. and its affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 802bf8b

Please sign in to comment.