Skip to content

Commit 6e9c949

Browse files
psteinroeclaude
andauthored
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

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

.github/workflows/pull_request.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ jobs:
315315
- name: Install toolchain
316316
uses: moonrepo/setup-rust@v1
317317
with:
318+
components: rustfmt
319+
bins: taplo-cli
318320
cache-base: main
319321
env:
320322
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -327,18 +329,16 @@ jobs:
327329
run: command -v tree-sitter || cargo install tree-sitter-cli
328330
- name: Ensure RustFMT on nightly toolchain
329331
run: rustup component add rustfmt --toolchain nightly
330-
- name: echo toolchain
331-
run: rustup show
332-
- name: Run the analyser codegen
333-
run: cargo run -p xtask_codegen -- analyser
334-
- name: Run the configuration codegen
335-
run: cargo run -p xtask_codegen -- configuration
336-
- name: Run the bindings codegen
337-
run: cargo run -p xtask_codegen -- bindings
338-
- name: Run the splinter codegen
339-
run: cargo run -p xtask_codegen -- splinter
340-
- name: Run the docs codegen
341-
run: cargo run -p docs_codegen
332+
- name: Setup Bun
333+
uses: oven-sh/setup-bun@v2
334+
with:
335+
bun-version: "1.2.17"
336+
- name: Install JS dependencies
337+
run: bun install
338+
- name: Setup Just
339+
uses: extractions/setup-just@v3
340+
- name: Run codegen
341+
run: just gen-lint
342342
- name: Check for git diff -- run "just ready" if you see an error
343343
run: |
344344
if [[ $(git status --porcelain) ]]; then

0 commit comments

Comments
 (0)