Skip to content

Commit 1233542

Browse files
committed
Upd deps
1 parent 89524cc commit 1233542

File tree

13 files changed

+455
-454
lines changed

13 files changed

+455
-454
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
node-version-file: .nvmrc
1818
- name: Install pnpm
1919
uses: pnpm/action-setup@v4
20-
with:
21-
version: 8
2220
- name: Install dependencies
2321
run: pnpm install
22+
- name: Setup Biome
23+
uses: biomejs/setup-biome@v2
2424
- name: Run Biome
2525
run: pnpm biome:ci
2626
- name: Run tests

.github/workflows/publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
registry-url: https://registry.npmjs.org/
3131
- name: Install pnpm
3232
uses: pnpm/action-setup@v4
33-
with:
34-
version: 8
3533
- run: pnpm install
3634
- run: pnpm build
3735
- run: pnpm publish --no-git-checks --access public

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
23
1+
24

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If using JSON data, leverage the built-in `parseJsonPreprocessor`.
4040
**With Zod:**
4141
```typescript
4242
import { parseJsonPreprocessor } from '@a2lix/schemql'
43-
import { z } from 'zod'
43+
import { z } from 'zod/v4'
4444

4545
export const zUserDb = z.object({
4646
id: z.string(),

biome.json

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
33
"formatter": {
44
"useEditorconfig": true,
55
"formatWithErrors": true,
@@ -11,22 +11,14 @@
1111
"recommended": true,
1212
"complexity": {
1313
"noUselessUndefinedInitialization": "error",
14-
"noBannedTypes": "off"
14+
"noBannedTypes": "off",
15+
"noUselessEscapeInRegex": "error"
1516
},
1617
"correctness": {
1718
"noUnusedImports": "error",
1819
"noUnusedPrivateClassMembers": "error",
19-
"noUnusedVariables": "warn",
20-
"useHookAtTopLevel": "error",
21-
"noConstantCondition": "warn"
22-
},
23-
"nursery": {
24-
"noDuplicateCustomProperties": "error",
25-
"noDynamicNamespaceImportAccess": "error",
26-
"noIrregularWhitespace": "error",
27-
"noUselessEscapeInRegex": "error",
28-
"useTrimStartEnd": "error",
29-
"noDuplicateElseIf": "error"
20+
"noUnusedVariables": "error",
21+
"useHookAtTopLevel": "error"
3022
},
3123
"style": {
3224
"noYodaExpression": "error",
@@ -37,16 +29,34 @@
3729
"useFilenamingConvention": "error",
3830
"useForOf": "error",
3931
"useFragmentSyntax": "error",
40-
"useShorthandArrayType": "error",
32+
"useNamingConvention": {
33+
"level": "warn",
34+
"options": {
35+
"strictCase": false,
36+
"conventions": [
37+
{
38+
"selector": {
39+
"kind": "objectLiteralMember"
40+
},
41+
"formats": ["camelCase", "snake_case"]
42+
}
43+
]
44+
}
45+
},
4146
"useShorthandAssign": "error",
42-
"useSingleCaseStatement": "error"
47+
"useTrimStartEnd": "error"
4348
},
4449
"suspicious": {
4550
"noDuplicateAtImportRules": "error",
4651
"noEmptyBlock": "error",
4752
"useErrorMessage": "error",
4853
"useAwait": "error",
49-
"noExplicitAny": "warn"
54+
"noDuplicateCustomProperties": "error",
55+
"noIrregularWhitespace": "error",
56+
"noDuplicateElseIf": "error"
57+
},
58+
"performance": {
59+
"noDynamicNamespaceImportAccess": "error"
5060
}
5161
}
5262
},

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@a2lix/schemql",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "A lightweight TypeScript library that enhances your SQL workflow by combining raw SQL with targeted type safety and schema validation",
55
"license": "MIT",
66
"keywords": [
@@ -91,16 +91,16 @@
9191
"@standard-schema/spec": "^1.0.0"
9292
},
9393
"devDependencies": {
94-
"@biomejs/biome": "^1.9.4",
95-
"@types/node": "^22.14.1",
96-
"arktype": "^2.1.19",
97-
"better-sqlite3": "^11.9.1",
98-
"pkgroll": "^2.12.1",
94+
"@biomejs/biome": "^2.0.2",
95+
"@cloudflare/workers-types": "^4.20250620.0",
96+
"@types/node": "^24.0.3",
97+
"arktype": "^2.1.20",
98+
"better-sqlite3": "^11.10.0",
99+
"pkgroll": "^2.13.1",
99100
"ts-node": "^10.9.2",
100-
"tsx": "^4.19.3",
101+
"tsx": "^4.20.3",
101102
"typescript": "^5.8.3",
102-
"zod": "4.0.0-beta.20250414T061543",
103-
"@cloudflare/workers-types": "^4.20250414.0"
103+
"zod": "^3.25.67"
104104
},
105105
"peerDependencies": {
106106
"@cloudflare/workers-types": "*",

0 commit comments

Comments
 (0)