Skip to content

refactor: migrate to jsonc config #239

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

Merged
merged 13 commits into from
Mar 17, 2025
Merged

refactor: migrate to jsonc config #239

merged 13 commits into from
Mar 17, 2025

Conversation

psteinroe
Copy link
Collaborator

as per title.

our new config is .jsonc, which is "json with comments". serde doesnt support comments so we strip them before parsing.

also unified all rename_all configs to camelCase.

and added $schema to the jsonc config so we should get auto-complete if the editor supports it.

we will need to update the path to the schema file (if its not available locally, which is preferred) once we have our domain.

Co-authored-by: Julian Domke <[email protected]>
@psteinroe psteinroe changed the base branch from chore/cleanup-feature-gates to main March 16, 2025 16:10
@psteinroe psteinroe merged commit 6a3d573 into main Mar 17, 2025
6 checks passed
psteinroe added a commit that referenced this pull request Mar 17, 2025
* chore: add our own text-size

* fix: test

* chore: cleanup feature gates

* chore: cleanup remaining feature gates

* refactor: migrate to json config

* fix: lint

* feat: add schema field

* migrate to jsonc config

* fix: run docs codegen

* Update configuration.rs

Co-authored-by: Julian Domke <[email protected]>

* add unit tests

* fix: replace_secion

---------

Co-authored-by: Julian Domke <[email protected]>
psteinroe added a commit that referenced this pull request Mar 17, 2025
* chore: add our own text-size

* fix: test

* chore: cleanup feature gates

* chore: cleanup remaining feature gates

* refactor: migrate to json config

* fix: lint

* feat: add schema field

* migrate to jsonc config

* feat: wasm attempt 2

* make pglt_wasm crate build

* setup bun monorepo

* feat: bindings

* adapt generate packages

* fix: add pg to job

* fix: run docs codegen

* fixes

* fixes

* fixes

* Update configuration.rs

Co-authored-by: Julian Domke <[email protected]>

* add unit tests

* fix: replace_secion

* fix: remove wasm tools

* remove musl

* remove biome ref

* remove biome ref

* refactor: migrate to jsonc config (#239)

* chore: add our own text-size

* fix: test

* chore: cleanup feature gates

* chore: cleanup remaining feature gates

* refactor: migrate to json config

* fix: lint

* feat: add schema field

* migrate to jsonc config

* fix: run docs codegen

* Update configuration.rs

Co-authored-by: Julian Domke <[email protected]>

* add unit tests

* fix: replace_secion

---------

Co-authored-by: Julian Domke <[email protected]>

---------

Co-authored-by: Julian Domke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants