Skip to content

Commit 072562b

Browse files
committed
chore: rename crates to pglt_
1 parent c7aea51 commit 072562b

File tree

284 files changed

+975
-972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+975
-972
lines changed

Cargo.lock

Lines changed: 125 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -48,37 +48,37 @@ tree_sitter_sql = { path = "./lib/tree_sitter_sql", version = "0.0.0" }
4848
unicode-width = "0.1.12"
4949

5050
# postgres specific crates
51-
pg_analyse = { path = "./crates/pg_analyse", version = "0.0.0" }
52-
pg_analyser = { path = "./crates/pg_analyser", version = "0.0.0" }
53-
pg_base_db = { path = "./crates/pg_base_db", version = "0.0.0" }
54-
pg_cli = { path = "./crates/pg_cli", version = "0.0.0" }
55-
pg_commands = { path = "./crates/pg_commands", version = "0.0.0" }
56-
pg_completions = { path = "./crates/pg_completions", version = "0.0.0" }
57-
pg_configuration = { path = "./crates/pg_configuration", version = "0.0.0" }
58-
pg_console = { path = "./crates/pg_console", version = "0.0.0" }
59-
pg_diagnostics = { path = "./crates/pg_diagnostics", version = "0.0.0" }
60-
pg_diagnostics_categories = { path = "./crates/pg_diagnostics_categories", version = "0.0.0" }
61-
pg_diagnostics_macros = { path = "./crates/pg_diagnostics_macros", version = "0.0.0" }
62-
pg_flags = { path = "./crates/pg_flags", version = "0.0.0" }
63-
pg_fs = { path = "./crates/pg_fs", version = "0.0.0" }
64-
pg_lexer = { path = "./crates/pg_lexer", version = "0.0.0" }
65-
pg_lexer_codegen = { path = "./crates/pg_lexer_codegen", version = "0.0.0" }
66-
pg_lint = { path = "./crates/pg_lint", version = "0.0.0" }
67-
pg_lsp = { path = "./crates/pg_lsp", version = "0.0.0" }
68-
pg_lsp_converters = { path = "./crates/pg_lsp_converters", version = "0.0.0" }
69-
pg_markup = { path = "./crates/pg_markup", version = "0.0.0" }
70-
pg_query_ext = { path = "./crates/pg_query_ext", version = "0.0.0" }
71-
pg_query_ext_codegen = { path = "./crates/pg_query_ext_codegen", version = "0.0.0" }
72-
pg_query_proto_parser = { path = "./crates/pg_query_proto_parser", version = "0.0.0" }
73-
pg_schema_cache = { path = "./crates/pg_schema_cache", version = "0.0.0" }
74-
pg_statement_splitter = { path = "./crates/pg_statement_splitter", version = "0.0.0" }
75-
pg_text_edit = { path = "./crates/pg_text_edit", version = "0.0.0" }
76-
pg_treesitter_queries = { path = "./crates/pg_treesitter_queries", version = "0.0.0" }
77-
pg_type_resolver = { path = "./crates/pg_type_resolver", version = "0.0.0" }
78-
pg_typecheck = { path = "./crates/pg_typecheck", version = "0.0.0" }
79-
pg_workspace = { path = "./crates/pg_workspace", version = "0.0.0" }
51+
pglt_analyse = { path = "./crates/pglt_analyse", version = "0.0.0" }
52+
pglt_analyser = { path = "./crates/pglt_analyser", version = "0.0.0" }
53+
pglt_base_db = { path = "./crates/pglt_base_db", version = "0.0.0" }
54+
pglt_cli = { path = "./crates/pglt_cli", version = "0.0.0" }
55+
pglt_commands = { path = "./crates/pglt_commands", version = "0.0.0" }
56+
pglt_completions = { path = "./crates/pglt_completions", version = "0.0.0" }
57+
pglt_configuration = { path = "./crates/pglt_configuration", version = "0.0.0" }
58+
pglt_console = { path = "./crates/pglt_console", version = "0.0.0" }
59+
pglt_diagnostics = { path = "./crates/pglt_diagnostics", version = "0.0.0" }
60+
pglt_diagnostics_categories = { path = "./crates/pglt_diagnostics_categories", version = "0.0.0" }
61+
pglt_diagnostics_macros = { path = "./crates/pglt_diagnostics_macros", version = "0.0.0" }
62+
pglt_flags = { path = "./crates/pglt_flags", version = "0.0.0" }
63+
pglt_fs = { path = "./crates/pglt_fs", version = "0.0.0" }
64+
pglt_lexer = { path = "./crates/pglt_lexer", version = "0.0.0" }
65+
pglt_lexer_codegen = { path = "./crates/pglt_lexer_codegen", version = "0.0.0" }
66+
pglt_lint = { path = "./crates/pglt_lint", version = "0.0.0" }
67+
pglt_lsp = { path = "./crates/pglt_lsp", version = "0.0.0" }
68+
pglt_lsp_converters = { path = "./crates/pglt_lsp_converters", version = "0.0.0" }
69+
pglt_markup = { path = "./crates/pglt_markup", version = "0.0.0" }
70+
pglt_query_ext = { path = "./crates/pglt_query_ext", version = "0.0.0" }
71+
pglt_query_ext_codegen = { path = "./crates/pglt_query_ext_codegen", version = "0.0.0" }
72+
pglt_query_proto_parser = { path = "./crates/pglt_query_proto_parser", version = "0.0.0" }
73+
pglt_schema_cache = { path = "./crates/pglt_schema_cache", version = "0.0.0" }
74+
pglt_statement_splitter = { path = "./crates/pglt_statement_splitter", version = "0.0.0" }
75+
pglt_text_edit = { path = "./crates/pglt_text_edit", version = "0.0.0" }
76+
pglt_treesitter_queries = { path = "./crates/pglt_treesitter_queries", version = "0.0.0" }
77+
pglt_type_resolver = { path = "./crates/pglt_type_resolver", version = "0.0.0" }
78+
pglt_typecheck = { path = "./crates/pglt_typecheck", version = "0.0.0" }
79+
pglt_workspace = { path = "./crates/pglt_workspace", version = "0.0.0" }
8080

81-
pg_test_utils = { path = "./crates/pg_test_utils" }
81+
pglt_test_utils = { path = "./crates/pglt_test_utils" }
8282
# parser = { path = "./crates/parser", version = "0.0.0" }
8383
# sql_parser = { path = "./crates/sql_parser", version = "0.0.0" }
8484
# sql_parser_codegen = { path = "./crates/sql_parser_codegen", version = "0.0.0" }

crates/pg_analyser/src/lint.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_1.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_2.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_3.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_4.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_5.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_6.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_console/tests/markup/open_element_unfinished_7.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/pg_diagnostics/Cargo.toml

Lines changed: 0 additions & 35 deletions
This file was deleted.

crates/pg_fs/Cargo.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

crates/pg_lexer/src/codegen.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

crates/pg_markup/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

crates/pg_query_ext/src/codegen.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

crates/pg_schema_cache/Cargo.toml

Lines changed: 0 additions & 29 deletions
This file was deleted.

crates/pg_type_resolver/src/util.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

crates/pg_typecheck/Cargo.toml

Lines changed: 0 additions & 32 deletions
This file was deleted.

crates/pg_analyse/Cargo.toml renamed to crates/pglt_analyse/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ edition.workspace = true
77
homepage.workspace = true
88
keywords.workspace = true
99
license.workspace = true
10-
name = "pg_analyse"
10+
name = "pglt_analyse"
1111
repository.workspace = true
1212
version = "0.0.0"
1313

1414

1515
[dependencies]
16-
pg_console.workspace = true
17-
pg_diagnostics.workspace = true
18-
pg_query_ext.workspace = true
19-
pg_schema_cache.workspace = true
20-
rustc-hash = { workspace = true }
16+
pglt_console.workspace = true
17+
pglt_diagnostics.workspace = true
18+
pglt_query_ext.workspace = true
19+
pglt_schema_cache.workspace = true
20+
rustc-hash = { workspace = true }
2121

2222
biome_deserialize = { workspace = true, optional = true }
2323
biome_deserialize_macros = { workspace = true, optional = true }

crates/pg_analyse/src/categories.rs renamed to crates/pglt_analyse/src/categories.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl ActionCategory {
5555
///
5656
/// ```
5757
/// use std::borrow::Cow;
58-
/// use pg_analyse::{ActionCategory, RefactorKind};
58+
/// use pglt_analyse::{ActionCategory, RefactorKind};
5959
///
6060
/// assert!(ActionCategory::QuickFix(Cow::from("quickfix")).matches("quickfix"));
6161
///
@@ -301,7 +301,7 @@ impl schemars::JsonSchema for RuleCategories {
301301
/// A convenient type create a [RuleCategories] type
302302
///
303303
/// ```
304-
/// use pg_analyse::{RuleCategoriesBuilder, RuleCategory};
304+
/// use pglt_analyse::{RuleCategoriesBuilder, RuleCategory};
305305
/// let mut categories = RuleCategoriesBuilder::default().with_lint().build();
306306
///
307307
/// assert!(categories.contains(RuleCategory::Lint));

crates/pg_analyse/src/context.rs renamed to crates/pglt_analyse/src/context.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{
44
};
55

66
pub struct RuleContext<'a, R: Rule> {
7-
stmt: &'a pg_query_ext::NodeEnum,
7+
stmt: &'a pglt_query_ext::NodeEnum,
88
options: &'a R::Options,
99
}
1010

@@ -13,7 +13,7 @@ where
1313
R: Rule + Sized + 'static,
1414
{
1515
#[allow(clippy::too_many_arguments)]
16-
pub fn new(stmt: &'a pg_query_ext::NodeEnum, options: &'a R::Options) -> Self {
16+
pub fn new(stmt: &'a pglt_query_ext::NodeEnum, options: &'a R::Options) -> Self {
1717
Self { stmt, options }
1818
}
1919

@@ -28,7 +28,7 @@ where
2828
}
2929

3030
/// Returns the AST root
31-
pub fn stmt(&self) -> &pg_query_ext::NodeEnum {
31+
pub fn stmt(&self) -> &pglt_query_ext::NodeEnum {
3232
self.stmt
3333
}
3434

crates/pg_analyse/src/filter.rs renamed to crates/pglt_analyse/src/filter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ impl Display for RuleFilter<'_> {
113113
}
114114
}
115115

116-
impl pg_console::fmt::Display for RuleFilter<'_> {
117-
fn fmt(&self, fmt: &mut pg_console::fmt::Formatter) -> std::io::Result<()> {
116+
impl pglt_console::fmt::Display for RuleFilter<'_> {
117+
fn fmt(&self, fmt: &mut pglt_console::fmt::Formatter) -> std::io::Result<()> {
118118
match self {
119119
RuleFilter::Group(group) => {
120120
write!(fmt, "{group}")

crates/pg_analyse/src/lib.rs renamed to crates/pglt_analyse/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod registry;
77
mod rule;
88

99
// Re-exported for use in the `declare_group` macro
10-
pub use pg_diagnostics::category_concat;
10+
pub use pglt_diagnostics::category_concat;
1111

1212
pub use crate::categories::{
1313
ActionCategory, RefactorKind, RuleCategories, RuleCategoriesBuilder, RuleCategory,

0 commit comments

Comments
 (0)