Skip to content

Commit b252b38

Browse files
committed
fixes
1 parent bcd961f commit b252b38

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,15 @@ jobs:
4242
cache-base: main
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
- name: Setup Biome
46+
uses: biomejs/setup-biome@v2
47+
with:
48+
version: latest
4549
- name: Run format
4650
run: |
4751
cargo fmt --all --check
4852
taplo format --check
53+
biome format --check
4954
5055
actionlint:
5156
name: Lint GitHub Actions
@@ -149,9 +154,11 @@ jobs:
149154
- name: Install JS dependencies
150155
run: bun install
151156
- name: Build TypeScript code
152-
run: bun --filter @pglt/backend-jsonrpc run build
157+
working-directory: packages/@pglt/backend-jsonrpc
158+
run: bun run build
153159
- name: Run JS tests
154-
run: bun --filter @pglt/backend-jsonrpc run test
160+
working-directory: packages/@pglt/backend-jsonrpc
161+
run: bun run test
155162

156163
codegen:
157164
name: Check Codegen

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ After running the `init` command, you’ll have a `pglt.jsonc` file in your dire
4141

4242
```json
4343
{
44+
"": "https://supabase-community.github.io/postgres_lsp/schemas/0.0.0/schema.json",
4445
"vcs": {
4546
"enabled": false,
4647
"clientKind": "git",

docs/schemas/0.0.0/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"description": "The configuration that is contained inside the configuration file.",
55
"type": "object",
66
"properties": {
7+
"$schema": {
8+
"description": "A field for the [JSON schema](https://json-schema.org/) specification",
9+
"type": [
10+
"string",
11+
"null"
12+
]
13+
},
714
"db": {
815
"description": "The configuration of the database connection",
916
"anyOf": [

docs/schemas/latest/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"description": "The configuration that is contained inside the configuration file.",
55
"type": "object",
66
"properties": {
7+
"$schema": {
8+
"description": "A field for the [JSON schema](https://json-schema.org/) specification",
9+
"type": [
10+
"string",
11+
"null"
12+
]
13+
},
714
"db": {
815
"description": "The configuration of the database connection",
916
"anyOf": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"peerDependencies": {
1010
"typescript": "^5"
1111
},
12-
"workspaces": ["packages/@pglt/*"],
12+
"workspaces": ["packages/@pglt/pglt", "packages/@pglt/backend-jsonrpc"],
1313
"keywords": [],
1414
"author": "Supabase Community",
1515
"license": "MIT OR Apache-2.0",

0 commit comments

Comments
 (0)