Commit 6e9c949
refactor: remove all biome dependencies (#677)
## Summary
Removes all `biome_*` crate dependencies from the workspace.
### `biome_string_case` → `convert_case`
Drop-in replacement. `convert_case` was already a workspace dependency.
### `biome_js_factory`, `biome_js_formatter`, `biome_js_syntax`,
`biome_rowan` → string-based TS codegen
The TS codegen only produces interfaces, type aliases, and one factory
function. Building a full JS AST for that was overkill. Raw string
templates do the same job with zero new dependencies.
### `biome_deserialize`, `biome_deserialize_macros` →
`pgls_configuration_macros` + inline `Merge`/`StringSet`
- New proc-macro crate `pgls_configuration_macros` with `Merge` and
`Partial` derives (vendored from biome, ~250 lines total, pointed at
`pgls_configuration::Merge` instead of `biome_deserialize::Merge`).
- `Merge` trait (49 lines, zero deps) and `StringSet` wrapper (86 lines,
only `indexmap`) inlined into `pgls_configuration::utils`.
- `Deserializable` derive and `DeserializableValidator` dropped entirely
— never called at runtime.
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 098554b commit 6e9c949
File tree
74 files changed
+2274
-2337
lines changed- .github/workflows
- crates
- pgls_analyse
- pgls_cli
- src
- pgls_configuration_macros
- src
- partial_derive
- pgls_configuration
- src
- linter
- pglinter
- rules
- splinter
- utils
- pgls_lsp
- src
- tests
- pgls_splinter
- tests
- pgls_workspace
- src
- workspace
- docs/codegen
- src
- packages
- @postgres-language-server
- backend-jsonrpc/src
- cli
- scripts
- test
- wasm
- e2e
- src
- tests
- @postgrestools
- backend-jsonrpc/src
- postgrestools
- scripts
- test
- xtask/codegen
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
74 files changed
+2274
-2337
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
0 commit comments